/* ==========================================
   ARTIGO INDIVIDUAL — PROTÓTIPO
   Pensamentos e emoções
========================================== */

.article-page {
  --article-taupe: #f1eee9;
  background: var(--soft-white);
}

.article-page .submenu a[aria-current="page"] {
  opacity: 1;
  font-weight: 500;
}

/* HERO menor que o hero de cluster */
.article-hero {
  position: relative;
  min-height: 46svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 108px 22px 46px;
  background: #545454;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -2;
  background-image: url("../../../assets/clusters/psicoterapia-hero-mobile.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(.18) saturate(.82) contrast(.96);
  opacity: .82;
  transform: scale(1.035);
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(25,25,25,.10), rgba(25,25,25,.42));
}

.article-hero-inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.article-cluster-link {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(248,248,245,.82);
  text-decoration: none;
}

.article-cluster-link:hover { color: var(--soft-white); }

.article-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.9rem, 11.5vw, 4.3rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--soft-white);
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0,0,0,.18);
}

/* CORPO — mobile usa quase toda a largura útil */
.article-content {
  width: auto;
  margin: 0;
  padding: 52px 20px 62px;
  color: var(--graphite);
}

.article-content p,
.article-content li {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.82;
  font-weight: 300;
}

.article-content p + p { margin-top: 1.18em; }

.article-lead {
  font-size: 1.04rem !important;
  line-height: 1.82 !important;
  font-weight: 300 !important;
}

.article-content h2 {
  margin: 2.35em 0 .8em;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.62rem, 7vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.article-content blockquote {
  margin: 1.75em 0;
  padding: .2em 0 .2em 1.15em;
  border-left: 1px solid rgba(84,84,84,.32);
}

.article-content blockquote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 400;
}

.article-content blockquote p + p { margin-top: .55em; }

.article-references {
  margin-top: 4.2em;
  padding-top: 2em;
  border-top: 1px solid rgba(84,84,84,.18);
}

.article-references h2 { margin-top: 0; }

.article-references ol {
  margin: 0;
  padding-left: 1.25em;
}

.article-references li {
  font-size: .84rem;
  line-height: 1.65;
  opacity: .78;
}

.article-references li + li { margin-top: .85em; }

/* Continue lendo — navegação secundária, discreta */
.article-more {
  padding: 0 20px 42px;
  background: var(--soft-white);
}

.article-more-inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(84,84,84,.18);
}

.article-more-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.article-more-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.article-more-heading > a {
  display: none;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  color: inherit;
  text-decoration: none;
  opacity: .62;
}

.article-more-list a {
  display: block;
  padding: 9px 0;
  color: inherit;
  text-decoration: none;
}

.article-more-list strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.article-page .contact-section {
  background: var(--article-taupe);
  border-top: 1px solid rgba(84,84,84,.10);
}

@media (min-width: 700px) {
  .article-hero {
    min-height: 48svh;
    padding: 118px 48px 58px;
  }

  .article-hero h1 {
    font-size: clamp(3.8rem, 7.5vw, 5.25rem);
  }

  .article-content {
    width: 58%;
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 0 82px;
  }

  .article-content p,
  .article-content li {
    font-size: 1.02rem;
  }

  .article-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.15rem);
  }

  .article-more {
    width: 58%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 0 50px;
  }

  .article-more-heading > a { display: inline-block; }

  .article-more-heading h2 { font-size: 1.5rem; }
  .article-more-list a {
    padding: 4.5px 0;
  }

  .article-more-list strong {
    position: relative;
    display: inline-block;
    font-size: 1.04rem;
  }

  .article-more-list strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
    opacity: .55;
  }

  .article-more-list a:hover strong::after,
  .article-more-list a:focus-visible strong::after {
    transform: scaleX(1);
  }
}

@media (min-width: 900px) {
  .article-hero::before {
    background-image: url("../../../assets/clusters/psicoterapia-hero-desktop.webp");
  }
}

@media (min-width: 1100px) {
  .article-hero {
    min-height: 50svh;
    padding: 126px 56px 66px;
  }

  .article-hero-inner {
    max-width: min(50vw, 820px);
  }

  /* aproximadamente 25% respiro | 50% texto | 25% respiro */
  .article-content {
    width: 50%;
    max-width: 820px;
    min-width: 680px;
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .article-more-inner {
    max-width: min(50vw, 820px);
    min-width: 680px;
  }

  .article-more-list a {
    padding: 4.5px 0;
  }

  .article-more-list strong {
    font-size: 1.02rem;
  }
}

@media (min-width: 1650px) {
  .article-content,
  .article-hero-inner,
  .article-more-inner {
    max-width: 840px;
  }
}
