/* Guia de especificação de eletropolimento. As fontes são as do site. */
.rd-site .ep-guide {
  --ep-ink: #202427;
  --ep-muted: #555f64;
  --ep-red: #b91b23;
  --ep-rule: #cdd2d4;
  --ep-paper: #f6f7f7;
  --ep-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
  color: var(--ep-ink);
  background-color: white;
  font: 400 1rem/1.55 Barlow, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  overflow-wrap: break-word;
}
.rd-site .ep-guide section { padding: 0; }
.rd-site .ep-guide :is(figure, dl, dd, h1, h2) { margin: 0; }
.rd-site .ep-guide :is(h1, h2, button) { font-family: inherit; }
.rd-site .ep-guide :is(h1, h2) { color: var(--ep-ink); text-wrap: balance; }
.rd-site .ep-guide a {
  color: var(--ep-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.rd-site .ep-guide a:hover { text-decoration-thickness: 2px; }
.rd-site .ep-guide :focus-visible { outline: 3px solid var(--ep-red); outline-offset: 4px; }
.rd-site .ep-guide [hidden] { display: none !important; }
.rd-site .ep-guide .wrap {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 4rem);
}
.rd-site .ep-guide .opening { background-color: var(--ep-paper); border-bottom: 1px solid var(--ep-rule); }
.rd-site .ep-guide .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  gap: clamp(2rem, 4vw, 4.75rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4.4vw, 4.5rem);
}
.rd-site .ep-guide .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 600 .73rem/1.4 var(--ep-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ep-muted);
  text-decoration: none;
}
.rd-site .ep-guide .eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--ep-red); }
.rd-site .ep-guide a.eyebrow:hover { text-decoration: underline; }
.rd-site .ep-guide .ep-breadcrumb {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem .45rem;
  margin: 0;
  padding: 0;
  color: var(--ep-muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  font: 600 .8rem/1.5 Barlow, sans-serif;
}
.rd-site .ep-guide .ep-breadcrumb a { color: inherit; }
.rd-site .ep-guide .ep-breadcrumb a:hover { color: var(--ep-red); }
.rd-site .ep-guide .ep-byline { margin: -.3rem 0 1.5rem; color: var(--ep-muted); font-size: .92rem; line-height: 1.5; }
.rd-site .ep-guide h1 {
  margin-top: 1rem;
  font-size: clamp(2.65rem, 4.5vw, 4.28rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.047em;
}
.rd-site .ep-guide .lede { margin: 1.25rem 0 1.45rem; font-size: clamp(1.12rem, 1.35vw, 1.28rem); line-height: 1.52; max-width: 50ch; }
.rd-site .ep-guide .action {
  --ep-glass-tint: #b30d20e8;
  --ep-glass-solid: #ad1422;
  --ep-glass-edge: #981829;
  --ep-glass-shadow: #780c202d;
  color: white;
  gap: 1rem;
  padding: .65rem 1.25rem;
  text-decoration: none;
}
.rd-site .ep-guide .note-top button {
  --ep-glass-tint: #edf2f6a8;
  --ep-glass-solid: #eef1f3;
  --ep-glass-edge: #78848c;
  --ep-glass-shadow: #25333e20;
  color: #263039;
  font: inherit;
  font-size: .95rem;
  padding: .5rem 1rem;
  cursor: pointer;
}
.rd-site .ep-guide :is(.action, .note-top button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  max-width: 100%;
  font-weight: 600;
  border: 1px solid var(--ep-glass-edge);
  border-radius: 1rem;
  background-color: var(--ep-glass-solid);
  background-image: radial-gradient(ellipse at 22% -65%, #ffffff75, transparent 62%),
    linear-gradient(164deg, #ffffff25, transparent 49%, #ffffff03 71%, #ffffff1a);
  box-shadow: inset 0 1px 1px #ffffffe0, inset 1px 0 1px #ffffff52,
    inset 0 -2px 3px #00000021, 0 3px 8px var(--ep-glass-shadow);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rd-site .ep-guide :is(.action, .note-top button) {
    background-color: var(--ep-glass-tint);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
  }
}
@media (hover: hover) and (pointer: fine) {
  .rd-site .ep-guide :is(.action, .note-top button):hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 1px white, inset 1px 0 2px #ffffff75,
      inset 0 -2px 3px #00000021, 0 5px 12px var(--ep-glass-shadow);
  }
}
.rd-site .ep-guide :is(.action, .note-top button):active {
  transform: scale(.975);
  box-shadow: inset 0 1px 3px #00000026, inset 0 -1px 1px #ffffff77, 0 1px 3px var(--ep-glass-shadow);
  transition-duration: .08s;
}
.rd-site .ep-guide .sheet {
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #c4cbce;
  border-radius: .9rem;
  box-shadow: 0 .55rem 1.8rem #1d30330a;
}
.rd-site .ep-guide .sheet-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .8rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--ep-rule); }
.rd-site .ep-guide .sheet-top strong { font-size: 1.02rem; }
.rd-site .ep-guide .sheet-top span { font: .71rem var(--ep-mono); color: var(--ep-muted); }
.rd-site .ep-guide :is(.diagram, .photo img) { display: block; width: 100%; height: auto; }
.rd-site .ep-guide figcaption { font-size: .89rem; line-height: 1.45; color: var(--ep-muted); }
.rd-site .ep-guide .sheet figcaption { border-top: 1px solid var(--ep-rule); padding: .7rem 1.1rem; }
.rd-site .ep-guide .reading {
  display: grid;
  grid-template-columns: minmax(10rem, .33fr) minmax(0, 48rem);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  padding-block: clamp(2.25rem, 5.3vw, 5.4rem);
}
.rd-site .ep-guide aside nav {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
}
.rd-site .ep-guide aside nav .eyebrow { margin-bottom: .75rem; }
.rd-site .ep-guide aside nav a { min-height: 2.75rem; display: flex; align-items: center; color: var(--ep-muted); text-decoration: none; }
.rd-site .ep-guide aside nav a:hover { color: var(--ep-red); text-decoration: underline; }
.rd-site .ep-guide .body-copy { min-width: 0; font-size: 1.14rem; line-height: 1.65; }
/* O site já reserva a altura do cabeçalho em scroll-padding-top. */
.rd-site .ep-guide :is([id], a, button) { scroll-margin-top: 1rem; }
.rd-site .ep-guide .body-copy section + section { border-top: 1px solid var(--ep-rule); margin-top: 3rem; padding-top: 2.5rem; }
.rd-site .ep-guide h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.rd-site .ep-guide .body-copy p { margin: 1rem 0; }
.rd-site .ep-guide .calls { margin-top: 1.5rem; }
.rd-site .ep-guide .calls > div { border-top: 1px solid var(--ep-rule); padding-block: 1rem; }
.rd-site .ep-guide .calls dt { display: flex; align-items: baseline; gap: .85rem; font-size: 1.23rem; line-height: 1.25; font-weight: 600; }
.rd-site .ep-guide .calls dt span { font: 600 .85rem var(--ep-mono); color: var(--ep-red); min-width: 1.5rem; }
.rd-site .ep-guide .calls dd { padding-left: 2.35rem; margin-top: .4rem; }
.rd-site .ep-guide .photo { display: grid; grid-template-columns: minmax(7.25rem, .85fr) 1.2fr; gap: 1.05rem; align-items: center; background: var(--ep-paper); margin: 1.5rem 0; padding: .8rem; border-radius: .45rem; }
.rd-site .ep-guide .photo img { border-radius: .2rem; }
.rd-site .ep-guide .photo figcaption { padding-right: .5rem; font-size: .99rem; }
.rd-site .ep-guide .note { background: var(--ep-paper); border: 1px solid var(--ep-rule); border-left: 3px solid var(--ep-red); border-radius: .45rem; }
.rd-site .ep-guide .note-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem 1rem; border-bottom: 1px solid var(--ep-rule); }
.rd-site .ep-guide .note-text { padding: 1rem 1.15rem; font-size: 1.05rem; }
.rd-site .ep-guide .note-text p { margin: .5rem 0; }
.rd-site .ep-guide .note-text p:first-child { margin-top: 0; }
.rd-site .ep-guide .note-text p:last-child { margin-bottom: 0; }
.rd-site .ep-guide .status { color: var(--ep-red); font-weight: 600; font-size: .92rem; }
.rd-site .ep-guide .status:empty { margin: 0; }
.rd-site .ep-guide :is(.checks, .sources ul) { padding-left: 1.3rem; list-style: disc; }
.rd-site .ep-guide :is(.checks, .sources) li { margin-block: .55rem; padding-left: .2rem; }
.rd-site .ep-guide :is(.checks, .sources) li::marker { color: var(--ep-red); }
.rd-site .ep-guide .sources { font-size: .98rem; }
.rd-site .ep-guide .sources h2 { font-size: 1.5rem; }
@media (max-width: 52rem) {
  .rd-site .ep-guide :is(.hero, .reading) { grid-template-columns: minmax(0, 1fr); }
  .rd-site .ep-guide .hero { gap: 1.7rem; }
  .rd-site .ep-guide .hero-copy { max-width: 44rem; }
  .rd-site .ep-guide .reading { gap: 2.15rem; }
  .rd-site .ep-guide aside nav { position: static; flex-direction: row; align-items: baseline; gap: .15rem 1rem; border-bottom: 1px solid var(--ep-rule); padding-bottom: .7rem; flex-wrap: wrap; }
  .rd-site .ep-guide aside nav .eyebrow { width: 100%; margin: 0; }
  .rd-site .ep-guide aside nav a { font-size: .95rem; }
}
@media (max-width: 32rem) {
  .rd-site .ep-guide .hero { padding-block: 1.9rem; }
  .rd-site .ep-guide h1 { font-size: clamp(2.18rem, 9.7vw, 3.05rem); }
  .rd-site .ep-guide .reading { padding-top: 1.35rem; }
  .rd-site .ep-guide .body-copy { font-size: 1.07rem; }
  .rd-site .ep-guide :is(.sheet-top, .sheet figcaption) { padding-inline: .8rem; }
  .rd-site .ep-guide .photo { grid-template-columns: 1fr; }
  .rd-site .ep-guide .calls dd { padding-left: 0; }
  .rd-site .ep-guide .calls dt { gap: .45rem; }
  .rd-site .ep-guide .body-copy section + section { margin-top: 2rem; padding-top: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-site .ep-guide :is(.action, .note-top button) { transition: none; }
  .rd-site .ep-guide :is(.action, .note-top button):is(:hover, :active) { transform: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  .rd-site .ep-guide :is(.action, .note-top button) { background: var(--ep-glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  .rd-site .ep-guide .wrap { max-width: none; padding-inline: 0; }
  .rd-site .ep-guide :is(.hero, .reading) { display: block; padding-block: .5rem; }
  .rd-site .ep-guide :is(aside, .ep-breadcrumb, .action, .note-top button, .status) { display: none; }
  .rd-site .ep-guide :is(.sheet, .photo, .note) { break-inside: avoid; }
  .rd-site .ep-guide .sheet { margin: 1rem auto; max-width: 34rem; }
  .rd-site .ep-guide .hero-copy { max-width: none; }
  .rd-site .ep-guide .body-copy { font-size: 10.5pt; }
  .rd-site .ep-guide :is(h1, h2, dt) { break-after: avoid; }
}
