/* Capivara Labs — estilos compartilhados (página provisória) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde-floresta: #1A4335;
  --caramelo:       #C08C65;
  --marrom-icone:   #7B5233;
  --areia:          #F7F5F0;
  --marinha:        #1B2B39;
  --texto:          #1B2B39;
  --texto-suave:    #3d4f5c;
  --branco:         #ffffff;
  --borda:          rgba(27, 43, 57, 0.12);
  --raio:           14px;
  --raio-logo:      18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--areia);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--verde-floresta); }
a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  font-size: 0.9em;
  background: rgba(27, 43, 57, 0.08);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

/* ── Cabeçalho ── */
.site-header {
  background: var(--marinha);
  color: var(--branco);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.site-header a:hover {
  color: var(--branco);
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--raio-logo);
  background: var(--verde-floresta);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .cap {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--branco);
}

.brand-text .labs {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramelo);
  margin-top: 2px;
}

.nav-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Conteúdo principal ── */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.lead {
  font-size: 0.95rem;
  color: var(--texto-suave);
  margin-bottom: 2rem;
}

h1.page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--verde-floresta);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramelo);
  margin-bottom: 0.35rem;
}

/* ── Cards de apps ── */
.apps-grid {
  display: grid;
  gap: 1.25rem;
}

.app-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 28px rgba(27, 43, 57, 0.06);
}

.app-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-floresta);
  margin-bottom: 0.35rem;
}

.app-card p.desc {
  font-size: 0.875rem;
  color: var(--texto-suave);
  margin-bottom: 1rem;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--verde-floresta);
  color: var(--branco);
}
.btn-primary:hover {
  background: #143528;
  color: var(--branco);
}

.btn-outline {
  background: transparent;
  color: var(--verde-floresta);
  border: 1.5px solid var(--verde-floresta);
}
.btn-outline:hover {
  background: rgba(26, 67, 53, 0.08);
  color: var(--verde-floresta);
}

.btn-store {
  background: var(--marinha);
  color: var(--branco);
}
.btn-store:hover {
  background: #243a4d;
  color: var(--branco);
}

.btn-store.btn--pending {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn-store.btn--pending:hover {
  background: var(--marinha);
  transform: none;
}

.hint-stores {
  font-size: 0.72rem;
  color: var(--texto-suave);
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(26, 67, 53, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--caramelo);
}

/* ── Rodapé ── */
.site-footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--texto-suave);
  border-top: 1px solid var(--borda);
  background: rgba(255, 255, 255, 0.5);
}

.site-footer a { font-weight: 600; }

/* ── Páginas de privacidade ── */
.privacy-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.privacy-main {
  max-width: 640px;
}

.privacy-main h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.privacy-main .meta {
  font-size: 0.8rem;
  color: var(--texto-suave);
  margin-bottom: 1.5rem;
}

.privacy-main h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--verde-floresta);
  margin: 1.35rem 0 0.5rem;
}

.privacy-main p,
.privacy-main li {
  font-size: 0.9rem;
  color: var(--texto);
  margin-bottom: 0.65rem;
}

.privacy-main ul {
  margin: 0 0 0.75rem 1.1rem;
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .site-header { justify-content: center; text-align: center; }
  .brand { flex-direction: column; text-align: center; }
  .nav-inline { justify-content: center; }
}
