@font-face {
  font-family: "MontHeavyDemoFITE";
  src: url("assets/fonts/Mont-HeavyDEMO.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0b72f8;
  --blue-deep: #476bbd;
  --ink: #151515;
  --soft: #eeeded;
  --paper: #ffffff;
  --grey: #eeeded;
  --white: #ffffff;
  --muted: #6f737a;
  --line: rgba(21, 21, 21, 0.12);
  --header: rgba(255, 255, 255, 0.92);
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --article-gutter: clamp(18px, 5vw, 56px);
  --font-display: "Montserrat", Arial, sans-serif;
  --font-support: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-support);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: var(--header);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 158px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  color: #202632;
}

.nav-cta {
  padding: 14px 18px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 124px clamp(18px, 5vw, 72px) 64px;
  color: var(--white);
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/helmar-laptop.jpg");
  background-repeat: no-repeat;
  background-position: 72% 42%;
  background-size: min(760px, 62vw) auto;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.98) 0%, rgba(21, 21, 21, 0.78) 48%, rgba(21, 21, 21, 0.28) 100%),
    linear-gradient(0deg, rgba(21, 21, 21, 0.88), rgba(21, 21, 21, 0.02) 42%);
}

.hero-pattern,
.band-dark::before,
.ebook-cover::before,
.problem::after,
.authority::before {
  position: absolute;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero-pattern {
  right: -120px;
  bottom: -80px;
  width: 520px;
  height: 260px;
  opacity: 0.28;
  background-image: url("assets/grafismo-corner-blue.png");
  transform: rotate(-5deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7.2vw, 6.9rem);
  line-height: 0.92;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.h1-line {
  display: inline;
}

.h1-line + .h1-line::before {
  content: " ";
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.84rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(11, 114, 248, 0.24);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  padding: 20px;
  background: rgba(21, 21, 21, 0.62);
}

.hero-proof dt {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

section {
  padding: clamp(74px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.band-light {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.problem::after {
  right: -130px;
  top: 64px;
  width: 520px;
  height: 360px;
  opacity: 0.055;
  background-image: url("assets/grafismo-corner-dark.png");
}

.problem > * {
  position: relative;
  z-index: 1;
}

.band-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.band-dark::before {
  right: -40px;
  top: 40px;
  width: 380px;
  height: 220px;
  opacity: 0.2;
  background-image: url("assets/grafismo-corner-blue.png");
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(38px, 8vw, 110px);
  max-width: var(--max);
  margin: 0 auto 52px;
}

.lead-stack {
  color: #3d424a;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.outcome-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.outcome-strip article {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.outcome-strip span {
  display: block;
  margin-bottom: 48px;
  color: var(--blue);
  font-weight: 900;
}

.outcome-strip p,
.service-grid p,
.timeline p,
.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  max-width: calc(var(--max) + 144px);
  margin: 0 auto;
}

.method-visual {
  position: relative;
  min-height: 600px;
}

.method-visual img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: saturate(0.9) contrast(1.03);
}

.method-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  color: var(--white);
  background: rgba(21, 21, 21, 0.88);
  border-left: 5px solid var(--blue);
  border-radius: 4px;
}

.method-note strong,
.method-note span {
  display: block;
}

.method-note strong {
  margin-bottom: 6px;
  font-size: 1rem;
  text-transform: uppercase;
}

.method-note span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 20px 20px 78px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #454b54;
}

.steps li::before {
  position: absolute;
  left: 20px;
  top: 20px;
  counter-increment: steps;
  content: "0" counter(steps);
  color: var(--blue);
  font-weight: 900;
}

.steps span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto 44px;
}

.section-title h2 {
  max-width: 860px;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
}

.service-grid article {
  min-height: 240px;
  padding: 28px;
  background: #1b1f28;
  border-top: 4px solid transparent;
}

.service-grid article:hover {
  border-color: var(--blue);
}

.service-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.authority {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
  max-width: calc(var(--max) + 144px);
  margin: 0 auto;
}

.authority::before {
  left: -180px;
  bottom: 70px;
  width: 460px;
  height: 320px;
  opacity: 0.06;
  background-image: url("assets/grafismo-corner-dark.png");
  transform: rotate(180deg);
}

.authority > * {
  position: relative;
  z-index: 1;
}

.authority-copy > p:not(.section-kicker) {
  max-width: 720px;
  color: #444a52;
  font-size: 1.08rem;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.timeline div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.authority-media {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.portrait {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 4px;
}

.proof-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--soft);
  border-radius: 4px;
}

.proof-card img {
  width: 108px;
  height: 128px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

.content-hub {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 108px);
  align-items: center;
}

.ebook-cover {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
}

.ebook-cover::before {
  right: -100px;
  top: -20px;
  width: 390px;
  height: 390px;
  opacity: 0.45;
  background-image: url("assets/grafismo-corner-blue.png");
}

.ebook-cover span {
  width: fit-content;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  font-weight: 900;
}

.ebook-cover strong {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.ebook-cover small {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.ebook-copy {
  max-width: 720px;
}

.ebook-copy p {
  color: #454b54;
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 18px;
  height: 18px;
  background: var(--blue);
  clip-path: polygon(14% 52%, 38% 75%, 87% 19%, 100% 32%, 40% 100%, 0 64%);
}

.media-proof {
  max-width: calc(var(--max) + 144px);
  margin: 0 auto;
}

.media-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  gap: 18px;
}

.media-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
}

.media-grid img:first-child,
.media-grid img:nth-child(2) {
  object-position: top;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 98px);
  align-items: start;
}

.contact > div,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px;
  color: var(--white);
  background: #242936;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer img {
  width: 156px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    padding: 12px 24px;
  }

  .brand img {
    width: 146px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(21, 21, 21, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-cta {
    margin-top: 6px;
    padding: 14px 16px !important;
    text-align: center;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 38px 24px 34px;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    z-index: 1;
    order: 2;
    width: 100%;
    height: clamp(320px, 62vw, 520px);
    margin-top: 30px;
    background-position: 54% 18%;
    background-size: cover;
    border-radius: 4px;
    opacity: 1;
  }

  .hero-overlay {
    z-index: 0;
    background:
      linear-gradient(180deg, rgba(21, 21, 21, 0.94), rgba(21, 21, 21, 0.88)),
      var(--ink);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
  }

  .hero-pattern {
    right: -170px;
    top: 18px;
    bottom: auto;
    width: 390px;
    height: 260px;
    opacity: 0.16;
  }

  .hero-actions {
    margin-bottom: 30px;
  }

  .hero-proof,
  .outcome-strip,
  .service-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .method,
  .authority,
  .content-hub,
  .contact {
    grid-template-columns: 1fr;
  }

  .authority-media {
    position: static;
  }

  .method-visual,
  .method-visual img {
    min-height: auto;
    height: 560px;
  }

  .method-visual {
    order: 2;
  }

  .method-copy {
    order: 1;
  }

  .media-grid img {
    height: 440px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 58px 18px;
  }

  .site-header {
    padding: 10px 18px;
    width: 100vw;
    width: 100svw;
    max-width: 100svw;
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    position: fixed;
    top: 10px;
    right: 18px;
    z-index: 30;
    width: 42px;
    height: 42px;
  }

  .site-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    width: 100svw;
    max-width: 100svw;
    padding: 34px 18px 28px;
  }

  .hero-bg {
    height: 430px;
    margin-top: 24px;
    background-position: 55% 16%;
  }

  .hero-overlay {
    background: var(--ink);
  }

  .hero-pattern {
    right: -210px;
    top: 40px;
    width: 360px;
    height: 250px;
    opacity: 0.13;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 12px;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  h1 {
    margin-bottom: 18px;
    max-width: calc(100vw - 36px);
    max-width: calc(100svw - 36px);
    font-size: clamp(1.72rem, 8.9vw, 2.28rem);
    line-height: 1.04;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .h1-line {
    display: block;
  }

  .h1-line + .h1-line::before {
    content: "";
  }

  h2 {
    margin-bottom: 18px;
    max-width: calc(100vw - 36px);
    max-width: calc(100svw - 36px);
    font-size: clamp(1.65rem, 8.4vw, 2.25rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 0.98rem;
  }

  .hero-copy,
  .lead-stack,
  .authority-copy > p:not(.section-kicker),
  .ebook-copy p,
  .contact p:not(.section-kicker) {
    max-width: calc(100vw - 36px);
    max-width: calc(100svw - 36px);
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }

  .hero-copy {
    margin-bottom: 22px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
  }

  .hero-proof {
    margin-top: 0;
  }

  .hero-proof div {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-proof dt {
    font-size: 1.35rem;
  }

  .hero-proof div,
  .outcome-strip article,
  .service-grid article {
    padding: 20px;
  }

  .outcome-strip article,
  .service-grid article {
    min-height: auto;
  }

  .outcome-strip span {
    margin-bottom: 28px;
  }

  .section-grid,
  .method,
  .authority,
  .content-hub,
  .contact {
    gap: 28px;
  }

  .method-visual,
  .method-visual img {
    height: 430px;
  }

  .method-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .steps li {
    padding-left: 20px;
    padding-top: 56px;
  }

  .authority::before,
  .problem::after,
  .band-dark::before {
    width: 330px;
    height: 230px;
    opacity: 0.055;
  }

  .authority-media {
    gap: 14px;
  }

  .portrait {
    min-height: 240px;
  }

  .proof-card,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .proof-card img {
    width: 100%;
    height: 210px;
  }

  .ebook-cover {
    min-height: 360px;
    padding: 24px;
  }

  .ebook-cover::before {
    right: -150px;
    top: -60px;
    width: 340px;
    height: 300px;
  }

  .ebook-cover strong {
    font-size: clamp(1.85rem, 11vw, 3rem);
  }

  .media-grid img,
  .method-visual img {
    height: 360px;
  }

  .media-grid img {
    object-position: center top;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    padding: 26px 18px;
  }

  .site-footer img {
    width: 138px;
  }
}

/* ===========================================================================
   CATÁLOGO + CARRINHO
   =========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.no-scroll {
  overflow: hidden;
}

/* o atributo hidden precisa vencer os display: flex/grid abaixo */
[hidden] {
  display: none !important;
}

.button.outline {
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.22);
  background: transparent;
}

.button.outline:hover {
  border-color: var(--ink);
  background: rgba(21, 21, 21, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}





/* ---- Cabeçalho do catálogo ---- */

.catalog > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 44px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.04;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-intro p {
  color: #454b54;
  font-size: 1.02rem;
}

.catalog-intro .check-list {
  margin-bottom: 0;
}

/* ---- Toolbar: busca, filtros, contagem ---- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.search-field {
  flex: 1 1 260px;
  max-width: 340px;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 0.92rem;
}

.search-field input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 10px 15px;
  color: #3b414a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-support);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.toolbar__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- Grade de produtos ---- */

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.produto-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(21, 21, 21, 0.12);
}

.produto-card.is-destaque {
  border-color: rgba(11, 114, 248, 0.45);
}

.produto-card__cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.badge-destaque {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.produto-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 22px;
}

.produto-card__cat {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.produto-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.22;
}

.produto-card__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.produto-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.produto-card__price s {
  color: var(--muted);
  font-size: 0.86rem;
}

.produto-card__price strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 900;
}

.produto-card__actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  padding-top: 14px;
}

.produto-card__actions .button {
  min-height: 44px;
  padding: 12px 10px;
  font-size: 0.74rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.catalog-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 46px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.catalog-foot p {
  max-width: 620px;
  margin: 0;
  color: #454b54;
}

/* ---- Capas geradas (sem foto de produto) ---- */

.cover {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.cover::before {
  position: absolute;
  content: "";
  right: -70px;
  top: -50px;
  z-index: -1;
  width: 280px;
  height: 280px;
  opacity: 0.4;
  background: url("assets/grafismo-corner-blue.png") center / contain no-repeat;
  pointer-events: none;
}

.cover[data-tone="1"] {
  background: linear-gradient(150deg, #151515 0%, #1d2632 100%);
}

.cover[data-tone="2"] {
  background: linear-gradient(150deg, #0b3f8c 0%, #0b72f8 100%);
}

.cover[data-tone="3"] {
  background: linear-gradient(150deg, #2b3550 0%, #476bbd 100%);
}

.cover[data-tone="4"] {
  background: linear-gradient(150deg, #101418 0%, #0b72f8 130%);
}

.cover[data-tone="5"] {
  background: linear-gradient(150deg, #1f2a3a 0%, #35507f 100%);
}

.cover__brand {
  width: fit-content;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--white);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.cover__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.cover__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.cover__tag {
  width: fit-content;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cover--card {
  aspect-ratio: 4 / 3;
}

.cover--card .cover__title {
  font-size: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cover--card .cover__sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cover--modal {
  height: 100%;
  min-height: 380px;
  padding: 30px;
}

.cover--modal .cover__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cover--mini {
  flex: 0 0 auto;
  width: 74px;
  height: 92px;
  gap: 6px;
  padding: 10px;
  border-radius: 3px;
}

.cover--mini::before {
  right: -40px;
  top: -30px;
  width: 130px;
  height: 130px;
}

.cover--mini .cover__brand {
  padding: 3px 5px;
  font-size: 0.54rem;
}

.cover--mini .cover__title {
  font-size: 0.6rem;
  line-height: 1.05;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cover--mini .cover__sub,
.cover--mini .cover__tag {
  display: none;
}

/* ---- Toast ---- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  padding: 14px 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- Responsivo ---- */

@media (max-width: 1080px) {
  .produtos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .catalog-head {
    grid-template-columns: 1fr;
  }

  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 90vh;
  }

  .cover--modal {
    min-height: 220px;
  }

  .toolbar__count {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .header-actions {
    padding-right: 50px;
  }

  .produtos-grid {
    grid-template-columns: 1fr;
  }

  .search-field {
    max-width: none;
  }

  .produto-card__actions,
  .modal__actions {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 0;
    place-items: stretch;
  }

  .modal {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal__specs {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-foot .button {
    width: 100%;
  }
}

/* ---- Artigos FITE ---- */

.articles {
  position: relative;
  overflow: hidden;
}

.articles::before {
  position: absolute;
  right: clamp(-120px, -8vw, -48px);
  top: 56px;
  z-index: 0;
  content: "";
  width: clamp(240px, 34vw, 520px);
  height: clamp(210px, 30vw, 460px);
  background: url("assets/grafismo-corner-blue.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.articles > *,
.article-shell > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.articles-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
  margin-bottom: 34px;
}

.articles-copy {
  display: grid;
  align-content: end;
  gap: 18px;
}

.articles-copy h2 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.articles-copy p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: #454b54;
  font-size: 1.04rem;
}

.articles-showcase {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
}

.articles-showcase::after {
  position: absolute;
  inset: auto 0 0;
  content: "";
  height: 62%;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0), rgba(21, 21, 21, 0.88));
}

.articles-showcase img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.articles-showcase__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.articles-showcase__content span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.articles-showcase__content strong {
  max-width: 300px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  max-width: 980px;
}

.article-card {
  min-height: 100%;
}

.article-card[hidden] {
  display: none;
}

.article-card__surface {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  min-height: 392px;
  height: 100%;
  min-width: 0;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card__surface::before {
  position: absolute;
  right: 10px;
  top: -76px;
  z-index: -1;
  content: "";
  width: 168px;
  height: 168px;
  background: url("assets/grafismo-corner-blue.png") center / contain no-repeat;
  opacity: 0.09;
  transform: scaleX(-1);
  transform-origin: center;
}

.article-card__surface:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 114, 248, 0.42);
  box-shadow: 0 24px 48px rgba(21, 21, 21, 0.12);
}

.article-card__number {
  font-family: var(--font-display);
  color: rgba(11, 114, 248, 0.18);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.82;
}

.article-card__theme,
.article-card__meta,
.article-theme {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card__meta {
  color: #56606b;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.article-card h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.35vw, 1.55rem);
  font-weight: 900;
  line-height: 1.04;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.article-card p {
  min-width: 0;
  margin: 0 0 8px;
  color: #454b54;
  font-size: 0.92rem;
  line-height: 1.62;
}

.article-card__cta {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.25);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-card__surface:hover .article-card__cta {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.article-page {
  background: var(--white);
}

.article-shell {
  padding-top: 92px;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(64px, 7vw, 102px) var(--gutter) clamp(44px, 6vw, 82px);
}

.article-hero__copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
  padding-top: clamp(8px, 1.6vw, 24px);
}

.article-hero__copy::before {
  position: absolute;
  right: 4%;
  top: -46px;
  z-index: -1;
  content: "";
  width: clamp(160px, 24vw, 340px);
  height: clamp(130px, 20vw, 280px);
  background: url("assets/grafismo-corner-blue.png") center / contain no-repeat;
  opacity: 0.08;
}

.article-page .article-hero__copy::before {
  background-image: url("../assets/grafismo-corner-blue.png");
}

.article-breadcrumb {
  width: fit-content;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.article-hero p {
  max-width: 720px;
  margin: 0;
  color: #3f4650;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.article-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 12px 0 0;
}

.article-meta div {
  min-width: 0;
  padding: 18px;
  background: var(--soft);
  border-radius: 4px;
}

.article-meta dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.article-hero__media {
  overflow: hidden;
  min-height: 460px;
  background: var(--ink);
  border-radius: 4px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
  gap: clamp(64px, 7vw, 112px);
  padding: clamp(58px, 5.5vw, 86px) var(--gutter) clamp(72px, 8vw, 116px);
}

.article-aside {
  position: sticky;
  top: 124px;
  align-self: start;
  display: grid;
  gap: 18px;
  margin-top: clamp(32px, 3.5vw, 48px);
  overflow: hidden;
  min-width: 0;
  padding: 34px 30px 32px;
  color: var(--white);
  background: var(--ink);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(21, 21, 21, 0.12);
  isolation: isolate;
}

.article-aside::before {
  position: absolute;
  right: 12px;
  top: -82px;
  z-index: -1;
  content: "";
  width: 168px;
  height: 168px;
  background: url("assets/grafismo-corner-blue.png") center / contain no-repeat;
  opacity: 0.18;
  transform: scaleX(-1);
}

.article-aside strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.article-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.62;
}

.article-aside .button {
  width: 100%;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.article-content {
  max-width: 820px;
  padding-top: clamp(8px, 1.2vw, 18px);
  color: #262a30;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.article-content h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
}

.article-content h3 {
  font-size: clamp(1.28rem, 2vw, 1.8rem);
}

.article-content p,
.article-content li {
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 8px;
  margin: 16px 0 28px;
  padding-left: 24px;
}

.article-content a {
  color: var(--blue);
  font-weight: 800;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 92px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 4px;
}

.article-cta h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.article-cta p:not(.section-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.related-articles {
  padding: 0 var(--gutter) clamp(58px, 8vw, 108px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 22px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 4px;
}

.related-card:hover {
  border-color: var(--blue);
}

.related-card span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-card strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 980px) {
  .articles-head,
  .article-hero,
  .article-layout,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .articles-showcase {
    min-height: 320px;
  }

  .articles-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hero__media {
    min-height: 340px;
  }

  .article-aside {
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .articles-grid,
  .related-grid,
  .article-meta {
    grid-template-columns: 1fr;
  }

  .articles-copy h2 {
    font-size: clamp(1.85rem, 11vw, 3.1rem);
  }

  .articles-showcase {
    min-height: 260px;
  }

  .article-card__surface {
    min-height: 300px;
    padding: 20px;
  }

  .article-card h3 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
  }

  .article-shell {
    padding-top: 84px;
  }

  .article-hero {
    padding-top: 42px;
  }

  .article-hero__media {
    min-height: 260px;
  }

  .article-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 14px;
  }

  .article-toolbar .filter-chip {
    flex: 0 0 auto;
  }

  .article-layout,
  .related-articles {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-layout {
    padding-top: 34px;
    gap: 28px;
  }

  .article-cta {
    margin-left: 18px;
    margin-right: 18px;
    padding: 26px;
  }
}

/* ---- Normalizacao responsiva dos artigos ---- */
.article-page {
  overflow-x: hidden;
}

.article-page .article-hero,
.article-page .article-layout,
.article-page .article-cta,
.article-page .related-articles {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--article-gutter);
  padding-right: var(--article-gutter);
}

.article-page .article-hero,
.article-page .article-layout,
.article-page .article-aside,
.article-page .article-content,
.article-page .article-cta,
.article-page .related-articles {
  min-width: 0;
}

.article-page .article-content {
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.article-page .article-cta::before {
  right: 18px;
  top: 24px;
  width: min(260px, 62%);
  max-width: calc(100% - 36px);
  transform: scaleX(-1);
}

.article-page .article-meta {
  width: 100%;
}

@media (max-width: 980px) {
  .article-page .article-hero,
  .article-page .article-layout,
  .article-page .article-cta,
  .article-page .related-articles {
    width: 100%;
    max-width: var(--max);
    padding-left: var(--article-gutter);
    padding-right: var(--article-gutter);
  }

  .article-page .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .article-page .article-hero__copy,
  .article-page .article-content {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-page .article-aside,
  .article-page .article-hero__media {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-page .article-aside .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --article-gutter: 18px;
  }

  .article-page .article-hero,
  .article-page .article-layout,
  .article-page .article-cta,
  .article-page .related-articles {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-page .article-content,
  .article-page .article-content h2,
  .article-page .article-content h3,
  .article-page .article-content p,
  .article-page .article-content ul,
  .article-page .article-content ol,
  .article-page .article-aside,
  .article-page .article-hero__media {
    max-width: 100%;
  }

  .article-page .article-content h2,
  .article-page .article-content h3,
  .article-page .article-content p {
    overflow-wrap: break-word;
  }

  .article-page .article-hero__media img,
  .article-page .article-aside,
  .article-page .article-content {
    width: 100%;
  }

  .article-page .site-header {
    width: auto;
    max-width: none;
  }

  .article-page .article-cta {
    width: calc(100% - 36px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .article-page .article-cta > *,
  .article-page .article-cta .button {
    min-width: 0;
    max-width: 100%;
  }
}


/* ---- Editorial article components ---- */
.article-page .article-content section {
  padding: 0;
}

.article-content section {
  display: flow-root;
  margin-block: 0 40px;
}

.article-content section > :first-child {
  margin-top: 0;
}

.article-content section:last-child {
  margin-bottom: 0;
}

.article-content strong {
  color: var(--ink);
  font-weight: 900;
}

.article-list,
.article-references,
.article-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 1.35rem;
}

.article-list li,
.article-references li,
.article-steps li {
  padding-left: 4px;
}

.article-list.compact {
  gap: 8px;
  margin-top: 10px;
}

.article-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-section-label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--blue);
  display: inline-block;
}

.article-highlight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.article-highlight.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-metric {
  min-height: 132px;
  padding: 20px;
  background: var(--grey);
  border-left: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-metric span {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  font-weight: 900;
  line-height: 0.95;
}

.article-metric p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.48;
}

.article-note {
  position: relative;
  margin: 22px 0;
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
  border-left: 5px solid var(--blue);
  overflow: hidden;
}

.article-note::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 18px;
  width: 96px;
  height: 96px;
  background: url("assets/grafismo.png") center / contain no-repeat;
  opacity: 0.08;
  transform: scaleX(-1);
}

.article-note.is-light {
  background: var(--grey);
  color: var(--ink);
}

.article-note h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: inherit;
}

.article-note .article-list {
  position: relative;
  z-index: 1;
}

.article-note strong,
.article-note.is-light strong {
  color: inherit;
}

.article-note li,
.article-note p {
  color: inherit;
}

.article-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background: var(--paper);
}

.article-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.42;
}

.article-table caption {
  caption-side: top;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  font-style: italic;
  background: var(--grey);
  border-bottom: 1px solid rgba(21, 21, 21, 0.14);
}

.article-table th,
.article-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(21, 21, 21, 0.14);
}

.article-table th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-table-note {
  margin: 0;
  padding: 12px 18px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--paper);
}

.article-references {
  gap: 14px;
}

.article-references a {
  overflow-wrap: anywhere;
}

.article-steps {
  gap: 18px;
}

.article-steps > li::marker,
.article-references > li::marker {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 980px) {
  .article-highlight,
  .article-highlight.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .article-content section {
    margin-bottom: 32px;
  }

  .article-highlight,
  .article-highlight.compact {
    grid-template-columns: 1fr;
  }

  .article-note {
    margin-block: 18px;
    padding: 20px 18px;
  }

  .article-table {
    min-width: 480px;
  }

  .article-table caption,
  .article-table th,
  .article-table td,
  .article-table-note {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Ajustes finais de leitura em telas estreitas */
@media (max-width: 640px) {
  .article-page .article-hero__copy {
    min-width: 0;
  }

  .article-page .article-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.8vw, 2.35rem);
    line-height: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-page .article-meta dd {
    overflow-wrap: anywhere;
  }
}