.journal-page {
  min-height: 100svh;
  background: var(--cream);
}

.journal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - (var(--page-x) * 2), 1440px);
  margin: 0 auto;
  padding: 30px 0 18px;
}

.journal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.journal-brand img {
  width: 36px;
  height: 31px;
  object-fit: contain;
}

.journal-brand span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.journal-top__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(13, 31, 51, 0.16);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.journal-top__back::before {
  color: var(--gold-light);
  font-size: 0.95rem;
  line-height: 0;
  content: "←";
  transition: transform 260ms ease;
}

.journal-top__back:hover {
  background: var(--navy-mid);
  box-shadow: 0 10px 22px rgba(13, 31, 51, 0.22);
  transform: translateY(-2px);
}

.journal-top__back:hover::before {
  transform: translateX(-3px);
}

.journal-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 132px) var(--page-x) clamp(60px, 7vw, 104px);
  background: var(--white);
}

.journal-intro::after {
  position: absolute;
  right: max(-50px, -4vw);
  bottom: min(-160px, -11vw);
  width: min(48vw, 660px);
  height: min(48vw, 660px);
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.journal-intro__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(36px, 7vw, 128px);
  width: min(100%, 1440px);
  margin: 0 auto;
}

.journal-intro .section-eyebrow {
  margin-top: 13px;
}

.journal-intro h1 {
  max-width: 930px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 6.2vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.journal-intro h1 em {
  color: var(--navy-light);
  font-weight: inherit;
}

.journal-intro__support {
  max-width: 485px;
  margin: clamp(25px, 4vw, 52px) 0 0;
  color: rgba(13, 31, 51, 0.7);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.62;
}

.journal-list {
  min-height: 60vh;
}

.journal-list .blog__toolbar {
  margin-top: 0;
}

.articles-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: clamp(52px, 7vw, 82px);
}

.articles-pagination button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(13, 31, 51, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.articles-pagination button:hover,
.articles-pagination button.is-current {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.article-masthead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100% - (var(--page-x) * 2), 1440px);
  min-height: clamp(440px, 35vw, 600px);
  margin: clamp(7px, 1.1vw, 18px) auto 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(13, 31, 51, 0.1);
}

.article-hero {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(42px, 4.5vw, 82px);
  background: var(--white);
}

.article-hero__inner {
  width: 100%;
}

.article-layout,
.article-cta,
.article-legal {
  width: min(100% - (var(--page-x) * 2), 1180px);
  margin: 0 auto;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 0 0 clamp(18px, 2.3vw, 29px);
}

.article-hero__meta span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-hero__meta span + span {
  padding-left: 12px;
  color: var(--navy-mid);
  border-left: 1px solid rgba(13, 31, 51, 0.2);
}

.article-hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.55rem, 3.9vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.article-hero__deck {
  max-width: 540px;
  margin: clamp(20px, 2.6vw, 31px) 0 0;
  color: rgba(13, 31, 51, 0.68);
  font-size: clamp(0.98rem, 1.06vw, 1.1rem);
  line-height: 1.62;
}

.article-cover {
  position: relative;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.article-cover::before {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 2.5vw, 36px);
  bottom: clamp(16px, 2.4vw, 32px);
  width: clamp(40px, 5vw, 70px);
  height: clamp(31px, 3.85vw, 54px);
  content: "";
  background: url("../images/brand/monograma-branco.png") center / contain no-repeat;
  opacity: 0.88;
  pointer-events: none;
}

.article-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(13, 31, 51, 0.03), rgba(13, 31, 51, 0.2));
  pointer-events: none;
}

.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(155px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(38px, 9vw, 150px);
  padding: clamp(58px, 7vw, 96px) 0;
}

.article-aside {
  align-self: start;
}

.article-aside__author {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.article-aside__author p {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-aside__author strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.article-aside__author small {
  display: block;
  margin-top: 9px;
  color: var(--navy-mid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.article-copy {
  max-width: 770px;
}

.article-copy > p {
  margin: 0 0 26px;
  color: rgba(13, 31, 51, 0.78);
  font-size: clamp(1rem, 1.17vw, 1.18rem);
  line-height: 1.72;
}

.article-copy h2 {
  max-width: 690px;
  margin: clamp(52px, 7vw, 82px) 0 23px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.25vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.article-copy ul {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.article-copy li {
  position: relative;
  padding-left: 21px;
  color: rgba(13, 31, 51, 0.78);
  font-size: clamp(1rem, 1.17vw, 1.18rem);
  line-height: 1.65;
}

.article-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.article-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.article-copy h3 {
  max-width: 690px;
  margin: clamp(40px, 5vw, 56px) 0 18px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-copy ol {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0 0 0 22px;
}

.article-copy ol li {
  padding-left: 6px;
  color: rgba(13, 31, 51, 0.78);
  font-size: clamp(1rem, 1.17vw, 1.18rem);
  line-height: 1.65;
}

.article-copy ol li::before {
  content: none;
}

.article-copy blockquote {
  margin: 0 0 28px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold);
  color: var(--navy-light);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.5;
}

.article-copy a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.article-copy a:hover {
  color: var(--navy-light);
}

.article-copy img {
  display: block;
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 18px;
}

.article-faq {
  margin-top: clamp(64px, 8vw, 100px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-faq > p {
  margin: 0 0 20px;
  color: var(--gold-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-faq details {
  border-bottom: 1px solid var(--line);
}

.article-faq summary {
  position: relative;
  padding: 20px 30px 20px 0;
  color: var(--navy);
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary::after {
  position: absolute;
  top: 17px;
  right: 2px;
  color: var(--gold-dark);
  content: "+";
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.article-faq details[open] summary::after {
  content: "−";
}

.article-faq details p {
  max-width: 690px;
  margin: 0 0 23px;
  color: rgba(13, 31, 51, 0.75);
  font-size: clamp(0.97rem, 1.1vw, 1.1rem);
  line-height: 1.68;
}

.article-cta {
  padding: clamp(50px, 6.5vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.article-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: clamp(32px, 5vw, 62px);
  color: var(--white);
  background: var(--navy);
}

.article-cta p {
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-cta h2 {
  max-width: 670px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: var(--navy);
  background: var(--gold-light);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease;
}

.article-cta a:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.article-related {
  padding: clamp(20px, 3vw, 36px) 0 clamp(50px, 6.5vw, 90px);
  border-top: 1px solid var(--line);
}

.article-related__inner {
  width: min(100% - (var(--page-x) * 2), 1180px);
  margin: 0 auto;
}

.article-related .blog__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-legal {
  padding: 0 0 clamp(70px, 9vw, 112px);
}

.article-legal p {
  max-width: 870px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.article-sources {
  max-width: 870px;
  margin: 20px auto 0;
  color: rgba(13, 31, 51, 0.62);
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .journal-top {
    padding-top: 22px;
  }

  .journal-brand img {
    width: 30px;
    height: 26px;
  }

  .journal-brand span {
    font-size: 1.05rem;
  }

  .journal-top__back {
    padding: 8px 14px 8px 13px;
    font-size: 0.53rem;
  }

  .journal-intro__inner,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .journal-intro .section-eyebrow {
    margin-top: 0;
  }

  .journal-intro h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .article-masthead {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 7px;
  }

  .article-hero {
    padding: 42px 26px 39px;
  }

  .article-hero h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.75rem);
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }

  .article-aside {
    display: none;
  }

  .article-copy > p,
  .article-copy li {
    font-size: 1rem;
  }

  .article-cta__inner {
    grid-template-columns: 1fr;
  }

  .article-cta a {
    justify-self: start;
  }
}

/* Movimento reduzido: sem animação de entrada, conteúdo visível de imediato */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .motion-reveal, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* Tabelas dos artigos: rolam na horizontal em telas estreitas em vez de estourar a página */
.article-copy table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}
.article-copy table th,
.article-copy table td { min-width: 9rem; }

/* Filhos de grid não podem alargar a coluna por causa de tabela ou palavra longa */
.article-layout > * { min-width: 0; }
.article-copy { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
