/* Plati Notes — editorial hub (Brex Journal–inspired: off-white canvas, white cards, split hero) */
:root {
  --notes-bg: #f7f7f5;
  --notes-card: #ffffff;
  --notes-ink: #131123;
  --notes-muted: rgba(19, 17, 35, 0.62);
  --notes-line: rgba(19, 17, 35, 0.08);
}

.notes-page {
  background: var(--notes-bg);
  color: var(--notes-ink);
  min-height: 100vh;
}

.notes-page .body,
body.notes-body {
  background-color: var(--notes-bg);
  color: var(--notes-ink);
}

/* Barra superior plana, estilo journal (vs. cápsula da landing) */
.notes-page .navigation {
  position: sticky;
  top: 0;
  z-index: 200;
  inset: auto;
  padding: 16px 20px 12px;
  background: rgba(247, 247, 245, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--notes-line);
}

.notes-page .navigation-wrap {
  width: min(1160px, 100%);
  max-width: 1160px;
  height: auto;
  min-height: 48px;
  margin: 0 auto;
  padding: 6px 4px 6px 10px;
  border-radius: 14px;
  border: 1px solid rgba(19, 17, 35, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 28px rgba(19, 17, 35, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.notes-main {
  padding-top: 8px;
}

.notes-nav-highlight .link {
  font-weight: 700;
  color: var(--notes-ink);
}

.notes-hero {
  padding: 40px 24px 36px;
  max-width: 1160px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .notes-hero {
    padding: 52px 32px 40px;
  }
}

.notes-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}

.notes-hero-text {
  flex: 1;
  min-width: min(100%, 280px);
}

.notes-hero-aside {
  flex: none;
  padding-top: 4px;
}

.notes-hero-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--notes-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.notes-hero-link:hover {
  color: var(--notes-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notes-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(19, 17, 35, 0.48);
  margin-bottom: 14px;
}

.notes-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.125rem, 4.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--notes-ink);
}

.notes-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 34rem;
  margin: 0;
  color: var(--notes-muted);
}

.notes-featured {
  max-width: 1160px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .notes-featured {
    padding: 0 32px;
    margin-bottom: 72px;
  }
}

.notes-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: var(--notes-card);
  border: 1px solid var(--notes-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 24px 56px rgba(19, 17, 35, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.notes-card-link:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 32px 64px rgba(19, 17, 35, 0.1);
  transform: translateY(-3px);
  border-color: rgba(19, 17, 35, 0.11);
}

.notes-card-link--featured .notes-card-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "body";
}

@media (min-width: 900px) {
  .notes-card-link--featured .notes-card-split {
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1.12fr);
    grid-template-areas: "body media";
    min-height: min(380px, 42vw);
  }
}

.notes-card-split .notes-card-body {
  grid-area: body;
}

.notes-card-split .notes-card-media {
  grid-area: media;
}

.notes-card-media {
  position: relative;
  background: #1a1924;
  overflow: hidden;
  min-height: 200px;
}

@media (min-width: 900px) {
  .notes-card-link--featured .notes-card-media {
    min-height: 0;
    aspect-ratio: auto;
    height: 100%;
  }
}

.notes-card-link--featured .notes-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 899px) {
  .notes-card-link--featured .notes-card-media {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

.notes-card-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .notes-card-link--featured .notes-card-body {
    padding: 40px 40px 44px 44px;
  }
}

.notes-card-arrow {
  display: block;
  color: var(--notes-ink);
  margin-bottom: 20px;
  opacity: 0.92;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.notes-card-arrow svg {
  display: block;
}

.notes-card-link:hover .notes-card-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.notes-card-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(19, 17, 35, 0.42);
  margin-bottom: 10px;
}

.notes-card-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--notes-ink);
}

.notes-card-excerpt {
  font-size: 1.03125rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(19, 17, 35, 0.68);
  max-width: 38rem;
}

.notes-section {
  max-width: 1160px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .notes-section {
    padding: 0 32px;
    margin-bottom: 72px;
  }
}

.notes-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.notes-section-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #131123;
}

.notes-section-sub {
  font-size: 1rem;
  margin: 0;
  color: rgba(19, 17, 35, 0.62);
}

.notes-see-all {
  font-size: 14px;
  font-weight: 600;
  color: #131123;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notes-see-all:hover {
  opacity: 0.75;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .notes-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notes-section--archive {
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .notes-section--archive {
    margin-bottom: 72px;
  }
}

.notes-tile--soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.72;
  box-shadow: none;
}

.notes-tile--soon:hover {
  transform: none;
  box-shadow: none;
}

.notes-tile-media--placeholder {
  background: repeating-linear-gradient(
    -45deg,
    #eaeaea,
    #eaeaea 8px,
    #e4e4e3 8px,
    #e4e4e3 16px
  );
}

.notes-tile-title--muted {
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(19, 17, 35, 0.42);
}

.notes-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--notes-card);
  border-radius: 18px;
  border: 1px solid var(--notes-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 16px 40px rgba(19, 17, 35, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.notes-tile:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 22px 48px rgba(19, 17, 35, 0.09);
  transform: translateY(-3px);
  border-color: rgba(19, 17, 35, 0.11);
}

.notes-tile-media {
  aspect-ratio: 16 / 10;
  background: #eaeaea;
}

.notes-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notes-tile-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.notes-tile-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #131123;
}

.notes-tile-excerpt {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(19, 17, 35, 0.68);
  flex: 1;
}

/* Article — coluna mais larga que o padrão “narrow blog” */
.notes-article-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

@media (min-width: 768px) {
  .notes-article-wrap {
    padding: 48px 40px 100px;
  }
}

@media (min-width: 1100px) {
  .notes-article-wrap {
    max-width: 960px;
    padding-left: 48px;
    padding-right: 48px;
  }
}

.notes-breadcrumb {
  font-size: 14px;
  margin-bottom: 24px;
}

.notes-breadcrumb a {
  color: rgba(19, 17, 35, 0.55);
  text-decoration: none;
}

.notes-breadcrumb a:hover {
  color: #131123;
  text-decoration: underline;
}

.notes-article-hero-img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  background: #1a1924;
  border: 1px solid var(--notes-line);
  box-shadow: 0 20px 48px rgba(19, 17, 35, 0.08);
}

.notes-article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notes-article-h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #131123;
}

.notes-article-meta {
  font-size: 14px;
  color: rgba(19, 17, 35, 0.55);
  margin-bottom: 28px;
}

.notes-prose {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(19, 17, 35, 0.88);
}

@media (min-width: 900px) {
  .notes-prose {
    font-size: 1.1875rem;
    line-height: 1.72;
  }
}

.notes-prose p {
  margin: 0 0 1.25em;
}

.notes-prose h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.3125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin: 2em 0 0.75em;
  color: #131123;
  line-height: 1.3;
}

.notes-prose ul {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.notes-prose li {
  margin-bottom: 0.5em;
}

.notes-prose a {
  color: #131123;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notes-cta-box {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 12px;
  background: #131123;
  color: #fff;
}

.notes-cta-box p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.5;
}

.notes-cta-box a.primary-button {
  display: inline-flex;
}
