/* Xepa — site (landing page e política de privacidade) */

/* Fontes (variáveis, auto-hospedadas; licenças OFL em /assets/fonts) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Tokens: claro por padrão */
:root {
  --bg: #f7f9fa;
  --on: #0f1a1f;
  --muted: #52606a;
  --primary: #0f766e;
  --on-primary: #ffffff;
  --pc: #7dd9cb;
  --on-pc: #053b37;
  --card: #ffffff;
  --sc: #dbe7e5;
  --on-sc: #1a2e2c;
  --sch: #dce2e7;
  --scl: #f1f4f6;
  --outline: #7b8a94;
  --ov: #e6ebee;
  --tc: #ebe7fb;
  --on-tc: #2c2370;
  --tertiary: #5b4bc4;
  --inv: #1c262c;
  --on-inv: #eef2f4;
  --frame: #1c262c;
  --band: #0f766e;
  --on-band: #ffffff;
  --band-sub: #c6fbf1;
  --logo-a: #7c3aed;
  --logo-b: #a855f7;
  --e1: 0 1px 2px #0f1a1f0a, 0 2px 12px #0f1a1f0d;
  --e2: 0 2px 4px #0f1a1f0a, 0 8px 28px #0f1a1f14;
  --e3: 0 4px 8px #0f1a1f0d, 0 16px 48px #0f1a1f1f;
  --eai: 0 2px 6px #5b4bc41f, 0 10px 28px #6a5ae03d;
  color-scheme: light;
}

/* Escuro: segue o sistema, a menos que o usuário tenha escolhido "Claro" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1417;
    --on: #e3eaed;
    --muted: #9fb0b8;
    --primary: #5eead4;
    --on-primary: #003732;
    --pc: #126b63;
    --on-pc: #c6fbf1;
    --card: #182124;
    --sc: #2f4542;
    --on-sc: #cfe8e4;
    --sch: #283338;
    --scl: #141b1e;
    --outline: #6c7c84;
    --ov: #232d32;
    --tc: #332a6e;
    --on-tc: #e5deff;
    --tertiary: #c3b8ff;
    --inv: #e3eaed;
    --on-inv: #1c262c;
    --frame: #283338;
    --band: #126b63;
    --on-band: #c6fbf1;
    --band-sub: #c6fbf1;
    --logo-a: #8b5cf6;
    --logo-b: #c084fc;
    --e1: 0 1px 2px #00000066, 0 2px 12px #0000004d;
    --e2: 0 2px 4px #00000080, 0 8px 28px #00000066;
    --e3: 0 4px 8px #00000080, 0 16px 48px #00000080;
    --eai: 0 2px 6px #00000080, 0 10px 28px #6a5ae04d;
    color-scheme: dark;
  }
}

/* Escuro escolhido explicitamente */
:root[data-theme="dark"] {
  --bg: #0e1417;
  --on: #e3eaed;
  --muted: #9fb0b8;
  --primary: #5eead4;
  --on-primary: #003732;
  --pc: #126b63;
  --on-pc: #c6fbf1;
  --card: #182124;
  --sc: #2f4542;
  --on-sc: #cfe8e4;
  --sch: #283338;
  --scl: #141b1e;
  --outline: #6c7c84;
  --ov: #232d32;
  --tc: #332a6e;
  --on-tc: #e5deff;
  --tertiary: #c3b8ff;
  --inv: #e3eaed;
  --on-inv: #1c262c;
  --frame: #283338;
  --band: #126b63;
  --on-band: #c6fbf1;
  --band-sub: #c6fbf1;
  --logo-a: #8b5cf6;
  --logo-b: #c084fc;
  --e1: 0 1px 2px #00000066, 0 2px 12px #0000004d;
  --e2: 0 2px 4px #00000080, 0 8px 28px #00000066;
  --e3: 0 4px 8px #00000080, 0 16px 48px #00000080;
  --eai: 0 2px 6px #00000080, 0 10px 28px #6a5ae04d;
  color-scheme: dark;
}

/* Base */
html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--on);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

body.page-legal {
  line-height: 26px;
}

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

a:hover {
  color: var(--on-pc);
}

:where(a, button):focus-visible {
  outline: 2px solid var(--tertiary);
  outline-offset: 2px;
  border-radius: 8px;
}

.display {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.muted {
  color: var(--muted);
}

/* Cabeçalho */
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.brand:hover {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on);
}

.brand-name {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.logo-solid {
  fill: var(--primary);
}

.logo-stop-a {
  stop-color: var(--logo-a);
}

.logo-stop-b {
  stop-color: var(--logo-b);
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nav-link,
.nav-link:hover {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}

.nav-cta,
.nav-cta:hover {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 999px;
}

/* Seletor de tema */
.theme-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: var(--scl);
  border: 1px solid var(--ov);
}

.seg {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 13px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition:
    background-color 220ms cubic-bezier(0.2, 0, 0, 1),
    color 220ms cubic-bezier(0.2, 0, 0, 1);
}

.seg[aria-pressed="true"] {
  background: var(--pc);
  color: var(--on-pc);
}

.seg:focus-visible {
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .seg {
    transition: none;
  }
}

/* Elementos comuns */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pill-secondary {
  background: var(--sc);
  color: var(--on-sc);
}

.pill-tertiary {
  background: var(--tc);
  color: var(--on-tc);
}

.tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag-secondary {
  background: var(--sc);
  color: var(--on-sc);
}

.tag-tertiary {
  background: var(--tc);
  color: var(--on-tc);
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
}

.h3 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sc);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tile-ai {
  background: linear-gradient(135deg, #6a5ae0, #7c4ddb);
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 520px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.store-btn,
.store-btn:hover {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  min-height: 56px;
  box-sizing: border-box;
  border-radius: 16px;
  text-decoration: none;
}

.store-btn-primary,
.store-btn-primary:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.store-btn-inverse,
.store-btn-inverse:hover {
  background: var(--inv);
  color: var(--on-inv);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn-kicker {
  font-size: 12px;
  font-weight: 500;
}

.store-btn-name {
  font-size: 18px;
  font-weight: 700;
}

.fine-print {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* Mockup do celular */
.hero-visual {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.phone {
  width: 340px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 40px;
  background: var(--frame);
  box-shadow: var(--e3);
}

.phone-screen {
  border-radius: 28px;
  background: var(--bg);
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 8px;
}

.phone-title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.phone-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--sch);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.w-55 {
  width: 55%;
}

.list-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 0;
  color: var(--muted);
}

.list-section-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--on);
}

.list-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--e1);
  padding: 4px 16px;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.list-row + .list-row {
  border-top: 1px solid var(--ov);
}

.list-row-name {
  flex: 1;
}

.list-row-name.is-done {
  color: var(--muted);
  text-decoration: line-through;
}

.list-row-qty {
  font-size: 14px;
  color: var(--muted);
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid var(--outline);
  box-sizing: border-box;
}

.check-done {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-fab-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.phone-fab {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--e3);
}

/* Funcionalidades */
.features {
  background: var(--card);
  padding: 96px 24px;
}

.stack-48 {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.feature-wide-copy {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Prévia claro/escuro: cores FIXAS de propósito (não seguem o tema da página) */
.theme-preview {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tp-card {
  flex: 1 1 200px;
  min-width: 0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tp-list {
  border-radius: 16px;
  padding: 4px 12px;
}

.tp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 14px;
}

.tp-name {
  flex: 1;
}

.tp-name.is-done {
  text-decoration: line-through;
}

.tp-check,
.tp-check-done {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  box-sizing: border-box;
}

.tp-progress {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

.tp-progress-fill {
  width: 50%;
  height: 100%;
}

.tp-light {
  background: #f7f9fa;
  border: 1px solid #e6ebee;
}

.tp-light .tp-label {
  color: #52606a;
}

.tp-light .tp-list {
  background: #ffffff;
  box-shadow: 0 1px 2px #0f1a1f0a, 0 2px 12px #0f1a1f0d;
}

.tp-light .tp-row {
  color: #0f1a1f;
}

.tp-light .tp-row + .tp-row {
  border-top: 1px solid #e6ebee;
}

.tp-light .tp-row.is-done,
.tp-light .tp-qty {
  color: #52606a;
}

.tp-light .tp-check {
  border: 2px solid #7b8a94;
}

.tp-light .tp-check-done,
.tp-light .tp-progress-fill {
  background: #0f766e;
}

.tp-light .tp-progress {
  background: #dce2e7;
}

.tp-dark {
  background: #0e1417;
  border: 1px solid #232d32;
}

.tp-dark .tp-label {
  color: #9fb0b8;
}

.tp-dark .tp-list {
  background: #182124;
}

.tp-dark .tp-row {
  color: #e3eaed;
}

.tp-dark .tp-row + .tp-row {
  border-top: 1px solid #232d32;
}

.tp-dark .tp-row.is-done,
.tp-dark .tp-qty {
  color: #9fb0b8;
}

.tp-dark .tp-check {
  border: 2px solid #6c7c84;
}

.tp-dark .tp-check-done,
.tp-dark .tp-progress-fill {
  background: #5eead4;
}

.tp-dark .tp-progress {
  background: #283338;
}

/* Em breve */
.soon {
  padding: 96px 24px 0;
}

.ai-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--eai);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.ai-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ai-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list-icon {
  flex: none;
  margin-top: 2px;
  color: var(--tertiary);
}

.strong {
  font-weight: 600;
}

.note {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.chat-preview {
  flex: 1 1 340px;
  min-width: 0;
  box-sizing: border-box;
  background: var(--scl);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  padding: 12px 16px;
  font-size: 14px;
  line-height: 20px;
}

.bubble-user {
  align-self: flex-end;
  max-width: 80%;
  background: var(--sch);
  color: var(--on);
  border-radius: 20px 20px 4px 20px;
}

.bubble-ai {
  align-self: flex-start;
  max-width: 88%;
  background: var(--tc);
  color: var(--on-tc);
  border-radius: 20px 20px 20px 4px;
}

.proposal {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--e2);
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
}

.proposal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
}

.proposal-row + .proposal-row {
  border-top: 1px solid var(--ov);
}

.proposal-more {
  color: var(--muted);
}

.proposal-apply {
  align-self: flex-end;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a5ae0, #7c4ddb);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--eai);
}

.soon-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--e1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soon-card p {
  margin: 0;
  color: var(--muted);
}

.soon-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Privacidade (home) */
.privacy-teaser {
  padding: 96px 24px;
}

.privacy-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.privacy-teaser-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-link {
  align-self: flex-start;
  padding: 12px 0;
  font-weight: 600;
}

.promise-list {
  flex: 1 1 420px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.promise-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--e1);
}

.promise-icon {
  flex: none;
  color: var(--primary);
}

/* Faixa final */
.cta {
  padding: 0 24px 96px;
}

.cta-band {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: var(--band);
  color: var(--on-band);
  border-radius: 28px;
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
}

.cta-sub {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--band-sub);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 8px;
}

.band-btn,
.band-btn:hover {
  padding: 16px 24px;
  min-height: 56px;
  box-sizing: border-box;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
}

.band-btn-light,
.band-btn-light:hover {
  background: #ffffff;
  color: #053b37;
}

.band-btn-dark,
.band-btn-dark:hover {
  background: #053b37;
  color: #ffffff;
}

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--ov);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-link {
  padding: 12px;
}

/* Página de texto (privacidade, 404) */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.legal-date {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.summary {
  background: var(--sc);
  color: var(--on-sc);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-title {
  font-size: 18px;
  font-weight: 700;
}

.summary p {
  margin: 0;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.01em;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
}

.legal-section ul {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-section li strong {
  font-weight: 600;
  color: var(--on);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
