body {
  background: #fffdfa;
}

.article-hero {
  padding: 66px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,37,43,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,37,43,.05) 1px, transparent 1px),
    #fffdfa;
  background-size: 34px 34px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: #7b716a;
  font-size: 13px;
  font-weight: 800;
}

.article-breadcrumb a {
  color: var(--coral);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 52px;
  align-items: center;
}

.article-hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: .96;
}

.article-hero .lead {
  max-width: 650px;
  font-size: 19px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.article-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16,16,16,.1);
  border-radius: 999px;
  padding: 0 12px;
  color: #665b53;
  background: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 850;
}

.comparison-frame {
  --split: 50%;
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(16,16,16,.1);
  border-radius: 28px;
  background: #eee;
  box-shadow: 0 28px 64px rgba(44,23,13,.16);
}

.comparison-frame::before,
.comparison-frame::after {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #463d36;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(16,16,16,.12);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.comparison-frame::before { content: "Antes"; left: 18px; }
.comparison-frame::after { content: "Depois"; right: 18px; }

.comparison-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-frame .before-img {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-frame .after-img { z-index: 1; }

.split-line {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: rgba(255,255,255,.95);
  transform: translateX(-50%);
  pointer-events: none;
}

.split-line::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #241e1a;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,16,16,.25);
  font-size: 18px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.comparison-slider {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.hero-photo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(22,138,70,.18);
  border-radius: 14px;
  color: #0e6434;
  background: #ecf8f0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.hero-photo-note::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 820px);
  gap: 64px;
  align-items: start;
  justify-content: center;
  padding: 64px 0 86px;
}

.article-toc {
  position: sticky;
  top: calc(var(--site-header-height) + 24px);
  border-left: 3px solid var(--coral);
  padding: 4px 0 4px 18px;
}

.article-toc strong {
  display: block;
  margin-bottom: 13px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  gap: 11px;
}

.article-toc a {
  color: #756a62;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--coral);
}

.article-content {
  min-width: 0;
}

.article-intro {
  margin-bottom: 56px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.article-intro p {
  margin: 0 0 18px;
  color: #4d4742;
  font-size: 19px;
  line-height: 1.72;
}

.article-section {
  scroll-margin-top: calc(var(--site-header-height) + 22px);
  margin-top: 62px;
}

.article-section:first-of-type { margin-top: 0; }

.article-section h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.article-section > p {
  margin: 0 0 24px;
  font-size: 17px;
}

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

.format-card {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16,16,16,.045);
}

.format-card b {
  display: block;
  margin-bottom: 9px;
  color: var(--coral);
  font-size: 13px;
}

.format-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.2;
}

.format-card p {
  margin: 0;
  font-size: 14px;
}

.tip-list {
  counter-reset: photo-tip;
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tip-list li {
  counter-increment: photo-tip;
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 23px 0 23px 58px;
  border-bottom: 1px solid var(--line);
}

.tip-list li::before {
  content: counter(photo-tip, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
}

.tip-list strong {
  font-size: 18px;
  line-height: 1.35;
}

.tip-list span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.avoid-panel {
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: #181716;
}

.avoid-panel h2 { color: #fff; }
.avoid-panel > p { color: rgba(255,255,255,.68); }

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

.avoid-grid span {
  min-height: 74px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  padding: 15px 16px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.055);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

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

.workflow article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.workflow em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.workflow strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.workflow p {
  margin: 0;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq-list summary {
  position: relative;
  padding: 20px 54px 20px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--coral);
  font-size: 24px;
  transform: translateY(-50%);
}

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

.faq-list p {
  margin: 0;
  padding: 0 20px 22px;
  font-size: 15px;
}

.sources {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #82776f;
  font-size: 12px;
  line-height: 1.7;
}

.sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta {
  margin-top: 62px;
}

.article-cta .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .article-hero-grid { grid-template-columns: 1fr; }
  .article-hero-copy { max-width: 780px; }
  .hero-photo { width: min(100%, 680px); }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-toc {
    position: static;
    border: 1px solid var(--line);
    border-left: 3px solid var(--coral);
    border-radius: 14px;
    padding: 18px;
    background: #fff;
  }
  .article-toc nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .article-hero { padding: 38px 0 52px; }
  .article-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .article-hero .lead { font-size: 17px; }
  .article-layout { padding: 36px 0 64px; }
  .article-toc nav,
  .format-grid,
  .avoid-grid,
  .workflow { grid-template-columns: 1fr; }
  .article-intro { margin-bottom: 42px; padding-bottom: 30px; }
  .article-intro p { font-size: 17px; }
  .article-section { margin-top: 48px; }
  .tip-list li { grid-template-columns: 1fr; gap: 6px; padding-left: 52px; }
  .avoid-panel { padding: 26px 20px; }
  .comparison-frame { border-radius: 20px; }
  .article-cta { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
