/* Comunidade Psise — Padrão Editorial Brand v5 (#FFFFFF / #F7F4F0 / #C4512E / #1E4D3B · 100% Manrope) */
:root {
  --bg: #FFFFFF;
  --soft: #F7F4F0;
  --line: #EEE9E3;
  --ink: #151413;
  --ink-2: #4A4541;
  --muted: #857E77;
  --terra: #C4512E;
  --terra-d: #9E3D20;
  --terra-soft: #FBEFEA;
  --green: #1E4D3B;
  --green-soft: #EAF3EF;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 10px; }

.shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.main-stack { display: grid; gap: 32px; padding: 28px 0 56px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.header-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 7px 11px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-cta {
  font-size: 13px;
  font-weight: 800;
  background: var(--ink);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 11px;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--terra); }

/* Hero */
.hero { display: grid; gap: 14px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terra);
}
.pill-green {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.12;
  max-width: 24ch;
}
.lead { color: var(--ink-2); font-size: 15.5px; max-width: 72ch; }

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.track-tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.tab {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.search-box { position: relative; min-width: 230px; flex: 1; max-width: 320px; }
.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 13.5px;
  font-weight: 500;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { outline: none; background: var(--bg); border-color: var(--ink); }

.member-banner {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.member-banner strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.member-banner span { display: block; font-size: 13px; color: var(--ink-2); max-width: 64ch; margin-top: 2px; }

/* Sections */
.sec { display: grid; gap: 16px; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sec-head h2 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 800; letter-spacing: -0.022em; margin-top: 2px; }
.sec-note { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sec-lnk { font-size: 13px; font-weight: 800; color: var(--terra); }
.sec-lnk:hover { color: var(--terra-d); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.nov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s var(--ease), border-color 0.18s, box-shadow 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 16px 32px -26px rgba(21, 20, 19, 0.25);
}
.card-soft { background: var(--soft); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  background: var(--soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge.green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.badge.terra { background: var(--terra-soft); color: var(--terra); border-color: transparent; }

.card h3 { font-size: 16.5px; font-weight: 800; line-height: 1.28; letter-spacing: -0.015em; margin-top: 8px; }
.card p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.price-tag { font-size: 13px; font-weight: 800; color: var(--green); margin-top: 6px; }

.bullets {
  list-style: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
}
.bullets li {
  font-size: 12.6px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
  line-height: 1.44;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
}

.escada-wrap {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

/* Newsletter Brand v5 */
.news-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: center;
  background: var(--terra-soft);
  border: 1px solid rgba(196, 81, 46, 0.24);
  border-radius: 22px;
  padding: 26px;
}
.news-copy { display: grid; gap: 10px; }
.news-copy h2 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 800; letter-spacing: -0.022em; line-height: 1.18; }
.news-copy p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.news-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}
.news-field { display: grid; gap: 5px; }
.news-field label { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.news-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 14px;
}
.news-field input:focus { outline: none; background: var(--bg); border-color: var(--ink); }
.news-fieldset { border: 0; display: grid; gap: 6px; }
.news-fieldset legend { font-size: 12.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.news-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.news-pill { position: relative; cursor: pointer; }
.news-pill input { position: absolute; opacity: 0; pointer-events: none; }
.news-pill span {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.news-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.news-pill input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.news-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-lgpd {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
  cursor: pointer;
}
.news-lgpd input { margin-top: 2px; accent-color: var(--terra); flex: none; }
.btn-terra { background: var(--terra); color: #FFFFFF; border: 1px solid var(--terra); }
.btn-terra:hover { background: var(--terra-d); border-color: var(--terra-d); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.news-status {
  font-size: 12.8px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 11px;
  line-height: 1.45;
}
.news-status.ok { background: var(--green-soft); color: var(--green); }
.news-status.err { background: var(--terra-soft); color: var(--terra-d); }

@media (max-width: 860px) {
  .news-wrap { grid-template-columns: 1fr; padding: 20px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 15px;
  border-radius: 11px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #FFFFFF; border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--terra); border-color: var(--terra); }
.btn-green { background: var(--green); color: #FFFFFF; border: 1px solid var(--green); }
.btn-green:hover { background: #163C2D; border-color: #163C2D; }
.btn-soft { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { border-color: var(--ink); background: var(--soft); }

.empty { text-align: center; color: var(--muted); padding: 26px 0; font-size: 14.5px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { padding: 0 16px; }
  .grid-3, .nov-grid { grid-template-columns: 1fr; }
  .nav-link { display: none; }
}
