/* Guias internos: artigo contínuo, sem cartões nem espaços de imagem. */
.support-page {
  width: min(760px, calc(100% - 48px));
}
.support-page h1 {
  text-align: center;
  text-transform: none;
  margin-bottom: 28px;
}
.support-body {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.support-body p {
  text-align: start;
  hyphens: none;
}
.support-body .sb-rot {
  font-weight: 700;
}
.support-body .sb-sub {
  text-align: left;
  line-height: 1.4;
}
.support-return {
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.support-return a {
  color: var(--public-brand, #b42318);
  text-decoration: none;
  font-weight: 700;
}
.support-return a:hover {
  color: var(--public-brand);
}
.support-return a:focus-visible {
  outline: 2px solid var(--public-brand);
  outline-offset: 4px;
}
@media (max-width: 780px) {
  .support-page {
    width: min(760px, calc(100% - 32px));
  }
}

/* Página Suporte: cartões dos guias com espaço de foto (capa), como os cartões de Eventos. */
.support-hub-page .faq-guides {
  max-width: none;
}
.support-hub-page .faq-guide-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.support-hub-page .faq-guide.support-guide-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-site, 12px);
  background: var(--surface, #fff);
  box-shadow: none;
  text-align: left;
}
.support-hub-page .faq-guide.support-guide-card:hover {
  border-color: color-mix(in srgb, var(--brand, #b4231c) 45%, var(--line));
}
.support-guide-photo {
  display: block;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--paper);
}
.support-guide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.support-guide-photo--empty {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--public-brand, var(--brand, #b4231c)) 35%, var(--line));
}
.support-guide-photo--empty svg {
  width: 26%;
  height: 26%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-guide-title {
  padding: 14px 16px 16px;
  font: 700 15px/1.35 var(--display);
}
@media (max-width: 560px) {
  .support-hub-page .faq-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .support-guide-title {
    padding: 10px 12px 12px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .support-guide-photo img {
    transition: none;
  }
}

/* Anexos exibidos somente quando houver seleção editorial para o guia. */
.support-attachments a:focus-visible {
  outline: 2px solid var(--public-brand);
  outline-offset: 4px;
}
.support-attachments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.support-attachments h2 {
  font: 700 20px/1.4 var(--display);
  margin: 0 0 24px;
}
.support-attachments figure {
  margin: 0 0 32px;
}
.support-attachments a {
  display: block;
  cursor: zoom-in;
}
.support-attachments img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-site, 12px);
}
.support-attachments figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.payment-guide {
  max-width: 900px;
  margin-inline: auto;
}
.support-body p {
  text-align: start;
  hyphens: none;
  line-height: 1.7;
}
.payment-guide .sb-sub {
  margin: 28px 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 20px;
  color: inherit;
}
.payment-guide p {
  margin: 0 0 18px;
}
.payment-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.payment-table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 10px;
}
.payment-table th,
.payment-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border, #ddd);
  text-align: left;
}
.payment-table thead {
  background: transparent;
}

.support-checklist {
  margin-block: 32px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
}
.support-checklist h2 {
  margin-block: 0 12px;
  font-weight: 800;
}
.support-checklist li + li {
  margin-block-start: 8px;
}
@media (max-width: 480px) {
  .support-body p {
    text-align: start;
  }
}

/* Hierarquia do artigo, independente dos títulos promocionais do site. */
.section-shell.support-page {
  width: min(80%, 1280px);
  max-width: 1280px;
}
.support-page h1 {
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.15;
  text-wrap: balance;
}
.support-page .support-body {
  text-align: start;
  overflow-wrap: normal;
  hyphens: none;
}
.support-page .support-body h2,
.support-page .support-attachments h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  letter-spacing: normal;
}
.support-page .support-body li {
  text-align: start;
  line-height: 1.6;
}
.support-page .support-body :is(ul, ol) {
  padding-inline-start: 1.65em;
}
.support-page .support-body li::marker {
  color: var(--public-brand, #b42318);
  font-weight: 700;
}
.support-page .support-body .support-note {
  padding: 12px 16px;
  border-inline-start: 3px solid var(--public-brand, #b42318);
  text-align: start;
}
.support-page .support-note strong {
  display: block;
}
.support-page .support-body a {
  color: var(--public-brand, #b42318);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 780px) {
  .section-shell.support-page {
    width: calc(100% - 32px);
  }
}

/* Leitura dos artigos: subtítulos marcam seções, não cada orientação. */
.support-page .support-body {
  max-width: 1060px;
  margin-inline: auto;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
}
.support-page .support-body h2 {
  margin-block: 1.65em 0.55em;
}
.support-page .support-body h2:first-child {
  margin-block-start: 0;
}
.support-page .support-body p {
  margin-block: 0 0.85em;
}
.support-page .support-preparation p {
  text-align: start;
}
.support-page .support-return {
  max-width: 1060px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .support-page .support-body p {
    text-align: start;
  }
}
.support-page :is(.support-body, .support-return) a:hover {
  background-color: color-mix(in srgb, var(--public-brand, #b42318) 10%, transparent);
}
.support-page .support-body a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
.support-link-icon {
  width: 1em;
  height: 1em;
  margin-inline-end: 0.3em;
  vertical-align: -0.12em;
}

/* Tópicos mantêm o marcador na cópia e o texto alinhado nas linhas seguintes. */
.support-page .support-body .support-orientation {
  padding-inline-start: 1.4em;
}
.support-orientation > .support-bullet {
  display: inline-block;
  width: 1.4em;
  margin-inline-start: -1.4em;
  text-align: start;
}

.section-shell.support-material-page {
  width: min(46rem, calc(100% - 48px));
}
.support-material-page .support-body h2 {
  margin-block: 1.35em 0.4em;
  text-align: start;
  text-wrap: balance;
}
.support-material-page .support-body h2:first-child {
  margin-block-start: 0;
  padding-block-start: 0;
  border-block-start: 0;
}
.support-material-page .support-body p {
  line-height: 1.7;
  text-align: start;
  text-justify: inter-word;
}
@media (max-width: 600px) {
  .section-shell.support-material-page {
    width: calc(100% - 32px);
  }
  .support-material-page .support-body p {
    text-align: start;
  }
}

/* Os guias compartilham o mesmo ritmo de leitura e a navegação relacionada. */
.support-page .support-body {
  max-inline-size: 72ch;
  overflow-wrap: anywhere;
}

.support-page .support-body > ul {
  list-style: disc;
}

.support-page .support-body > :is(ul, ol) > li + li {
  margin-block-start: 0.4em;
}

.support-page :is(.support-body, .support-return) a:any-link {
  text-decoration: none;
}

.support-page .support-body > .support-intro {
  margin-block-end: 1.3em;
}

.support-page .support-body :is(p, li) {
  text-align: start;
  hyphens: none;
}

.support-page .support-body h2 {
  text-align: center;
  text-wrap: balance;
}

.support-page .support-body .support-related li {
  text-align: center;
}

.support-page .support-body > ul:not(.support-preparation),
.support-page .support-body .support-preparation {
  list-style: none;
  padding-inline-start: 0;
}

.support-page .support-body > ul > li + li {
  margin-block-start: 0.85em;
}

.support-page .support-body .support-orientation {
  padding-inline-start: 0;
  margin-inline-start: 0;
  text-indent: 0;
  text-align: start;
}

.support-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.support-attachments .support-photo-grid figure {
  flex: 0 1 min(100%, 10rem);
  margin: 0;
}

.support-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.support-attachments .support-more-photos {
  display: inline-block;
  margin-block-start: 0.85rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .support-photo-grid {
    flex-direction: column;
    align-items: center;
  }

  .support-attachments .support-photo-grid figure {
    flex: none;
    width: min(100%, 12rem);
  }
}

.support-page .support-inline-examples {
  margin-block: 1rem 1.5rem;
  max-width: none;
  padding: 0;
  border: 0;
}

.support-inline-examples .support-photo-grid figure {
  flex: 0 1 max(10rem, calc((100% - 3rem) / 4));
  text-align: center;
}

@media (max-width: 600px) {
  .support-inline-examples .support-photo-grid figure {
    flex: none;
    width: min(100%, 16rem);
  }
}

.support-page :is(.support-body, .support-body *) {
  hyphens: none;
  word-break: normal;
}

.support-page .support-body > p:first-child {
  margin-block-end: 1.25em;
}

.support-page .support-body .support-related li + li {
  margin-block-start: 0;
}

.support-measure-example {
  width: min(100%, 42rem);
  margin: 1.25rem auto 1.75rem;
  text-align: center;
}

.support-measure-example img {
  display: block;
  width: 100%;
  height: auto;
}

.support-page .support-measure-example figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.support-visual-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  width: min(100%, 42rem);
  margin: 1.25rem auto 1.75rem;
}

.support-visual-examples figure {
  min-width: 0;
  margin: 0;
}

.support-visual-examples img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-site, 12px);
  background: #fff;
}

.support-visual-examples:has(> figure + figure) img {
  aspect-ratio: 1;
  object-fit: contain;
}

.support-page figure > figcaption {
  text-wrap: balance;
}

.support-visual-examples figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

/* A largura do artigo acompanha as margens do cabeçalho público. */
.section-shell.support-page,
.return-policy-page .section-shell.support-page {
  width: var(--site-content-width, min(1440px, 80%));
  max-width: none;
}

.section-shell.support-page .support-body,
.section-shell.support-page .support-return {
  max-inline-size: none;
}

.section-shell.support-page .support-body :is(p, li, .support-orientation) {
  text-align: justify;
  hyphens: none;
}

.section-shell.support-page .support-body .support-related li {
  text-align: center;
  hyphens: none;
}


.section-shell.support-page .support-measure-example {
  width: min(100%, 680px);
  margin-inline: auto;
}

.section-shell.support-page .support-measure-example img {
  display: block;
  width: 100%;
  height: auto;
}

.section-shell.support-page .support-body .support-visual-examples {
  width: min(100%, 1152px);
}

.section-shell.support-page .support-body :is(.support-photo-grid, .support-visual-examples) figure {
  width: min(100%, 552px);
}

.section-shell.support-page .support-body :is(.support-photo-grid, .support-visual-examples) figure:only-child {
  min-inline-size: 0;
}

.section-shell.support-page .support-body :is(.support-photo-grid, .support-visual-examples) img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.section-shell.support-page .support-tutorial-example > .support-measure-example {
  margin-block: 0;
}

@media (min-width: 841px) {
  .section-shell.support-page .support-tutorial-example:has(> figure),
  .section-shell.support-page .support-tutorial-example:has(figure):not(:has(figure + figure)) {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

}

@media (max-width: 840px) {
  .section-shell.support-page .support-tutorial-example {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .section-shell.support-page,
  .return-policy-page .section-shell.support-page {
    width: min(560px, calc(100% - 32px));
  }
}

.section-shell.support-page .support-body :is(p, li) {
  text-align: start;
  text-wrap: pretty;
  hyphens: none;
}

.section-shell.support-page .support-body .support-tutorial-example {
  display: block !important;
}

.section-shell.support-page .support-body .support-tutorial-example > :is(figure, [data-support-example]) {
  margin: 14px auto;
}

.section-shell.support-page .support-body .support-photo-grid,
.section-shell.support-page .support-body .support-visual-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.section-shell.support-page .support-body :is(.support-photo-grid, .support-visual-examples) figure {
  flex: 1 1 0;
  min-inline-size: min(100%, 280px);
  width: 100%;
  max-inline-size: 430px;
}

.section-shell.support-page .support-body :is(.support-photo-grid, .support-visual-examples) img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.section-shell.support-page .support-body figcaption {
  hyphens: none;
  text-wrap: balance;
}

.section-shell.support-page .support-measure-example {
  max-inline-size: 30rem;
}

.section-shell.support-page :is(.support-body, .support-return) a:not(.button):hover {
  background: transparent;
}

.section-shell.support-page .support-body > :is(h2, h3) {
  text-align: start;
  margin-block: 1.3em .4em;
}

.section-shell.support-page .support-body > :is(h2, h3):first-child {
  margin-block-start: 0;
}

.section-shell.support-page .support-body .support-tutorial-example {
  margin-block: 1rem 1.25rem;
}

.section-shell.support-page .support-body .support-tutorial-example .support-inline-examples {
  margin-block: 12px;
}

@media (min-width: 841px) {
  .section-shell.support-page .support-body .support-tutorial-example:has(> .support-example-copy):has(> figure, > [data-support-example]):not(:has(figure + figure)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
    align-items: start;
    gap: clamp(20px, 4vw, 56px);
  }

  .section-shell.support-page .support-body .support-tutorial-example > :is(figure, [data-support-example]) {
    margin-block: 0;
  }
}

/* Espaçamento de leitura entre títulos, prosa e exemplos. */
.section-shell.support-page .support-body > :is(h2, h3) {
  margin-block: 1.65em .68em;
}

.section-shell.support-page .support-body > :is(h2, h3):first-child {
  margin-block-start: 0;
}

.section-shell.support-page .support-body .support-example-copy h2 {
  margin-block: 0 .68em;
}

.section-shell.support-page .support-body .support-tutorial-example {
  margin-block: 20px 32px;
}

.section-shell.support-page .support-body .support-tutorial-example:has(figure + figure) > [data-support-example] {
  margin-block-start: 16px;
}

.section-shell.support-page .support-body :is(.support-inline-examples, .support-visual-examples) {
  margin-block: 22px 28px;
}

.section-shell.support-page .support-body .photo-guidance .support-inline-examples {
  margin-block: 0;
}

.section-shell.support-page .support-body .support-material-story {
  margin-block: clamp(32px, 4vw, 52px);
}

.section-shell.support-page .support-body .support-material-story h2 {
  margin-block: 0 0.68em;
  text-align: start;
}

.section-shell.support-page .support-body .support-material-story figure {
  max-inline-size: 490px;
}

.section-shell.support-page .support-body .support-material-story:first-of-type figure {
  max-inline-size: 540px;
}

.section-shell.support-page .support-body figcaption {
  max-inline-size: 31ch;
  margin: 9px auto 0;
  text-align: center;
}

.section-shell.support-page .support-return {
  margin-block-start: 0;
  padding-block: 14px;
  min-block-size: 56px;
  align-items: center;
}

.section-shell.support-page .support-body :is(p, li) {
  text-align: justify;
  text-align-last: start;
  text-wrap: pretty;
  hyphens: none;
}

.section-shell.support-page .support-body .support-related li {
  text-align: center;
  text-align-last: center;
}

@media (min-width: 841px) {
  .section-shell.support-page .support-body .support-photo-grid:has(> figure + figure) img {
    aspect-ratio: 4 / 3;
  }

  .section-shell.support-page .support-body .support-tutorial-example:has(> p + [data-support-example]):not(:has(figure + figure)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
  }

  .section-shell.support-page .support-body .support-tutorial-example:has(> p + [data-support-example]) > [data-support-example] {
    margin: 0;
  }
}

@media (max-width: 700px) {
  .section-shell.support-page .support-body :is(p, li):not(.support-related li) {
    text-align: start;
  }
}

/* A imagem acompanha o trecho que ela explica na ordem de leitura. */
.section-shell.support-page {
  padding-block-end: 18px;
}

.section-shell.support-page .support-body .support-tutorial-example,
.section-shell.support-page .support-body .support-tutorial-example:has(> .support-example-copy),
.section-shell.support-page .support-body .support-tutorial-example:has(> p + [data-support-example]) {
  display: block !important;
}

.section-shell.support-page .support-body .support-tutorial-example > :is(figure, [data-support-example]) {
  margin: 18px auto 0;
}

.section-shell.support-page .support-body .support-visual-examples {
  justify-content: center;
}

.section-shell.support-page .support-body .support-photo-grid:has(> figure + figure) img,
.section-shell.support-page .support-body .support-visual-examples:has(> figure + figure) img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.section-shell.support-page .support-body .support-visual-examples img[src$="madeira-contraste.webp"] {
  aspect-ratio: 2.55;
  object-fit: cover;
}

.section-shell.support-page .support-body .support-tutorial-example:has(> :is(p, .support-example-copy)) {
  display: block !important;
}

.section-shell.support-page .support-body .support-tutorial-example > :is(figure, [data-support-example]) {
  margin: 16px auto 0;
}

.support-body [data-gallery-photo] {
  display: block;
  cursor: zoom-in;
}
