:root {
  --brand: #f25a0d;
  --brand-dark: #c84408;
  --teal: #315a76;
  --green: #c84408;
}

.mast, .foot, .wrap {
  width: min(1200px, 92%);
  margin-inline: auto;
}
.mast, .foot, .foot nav, .wordmark {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mast, .foot { justify-content: space-between; padding-block: 1.2rem; }
.mast { border-bottom: 1px solid var(--line); }
.mast > a:last-child, .back, .related a { color: var(--brand-dark); font-weight: 700; }
.wordmark { gap: .4rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; }
.intro { display: grid; grid-template-columns: 1.7fr 1fr; align-items: end; gap: 3rem; margin-block: 2.5rem 1.5rem; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
.intro h1, .reading h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.3rem); letter-spacing: -.055em; }
.intro p, .lead { font-size: 1.12rem; color: var(--muted); }
.plano { position: relative; overflow: hidden; border-radius: 1.5rem; background: var(--surface-soft); }
.plano img { width: 100%; height: clamp(320px, 45vw, 515px); object-fit: cover; }
.legend, .pin { position: absolute; border-radius: 2rem; padding: .55rem 1rem; box-shadow: var(--shadow-raised); }
.legend { top: 1rem; left: 1rem; background: var(--navy); color: white; font-size: .8rem; }
.pin { transform: translate(-50%, -100%); background: white; color: var(--navy); font-weight: 750; white-space: nowrap; }
.pin::after { content: ""; position: absolute; top: 100%; left: calc(50% - 7px); border: 7px solid transparent; border-top-color: white; }
.pin:hover, .pin:focus-visible { color: var(--brand-dark); text-decoration: underline; }
.p0 { left: 47%; top: 68%; }
.p1 { left: 23%; top: 42%; }
.p2 { left: 77%; top: 50%; }
#guias { padding-block: 1rem 3rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card, .scene { background: var(--surface-soft); padding: 1.4rem; border-radius: 1rem; }
.card:hover { background: #fff6ef; }
.card small, .scene small { color: var(--muted); font-weight: 700; }
.card span { color: var(--brand-dark); text-decoration: underline; }
.reading { max-width: 760px; margin: 2.5rem auto; width: 90%; font-size: 1.1rem; }
.reading h1 { margin-bottom: 1rem; }
.reading p { font-size: 1.08rem; line-height: 1.75; }
.lead { font-size: 1.25rem !important; }
.back { display: inline-block; margin-bottom: 1.5rem; font-size: 1rem; }
.scene { border-left: 4px solid var(--brand); margin-block: 2rem; background: #fff6ef; }
.scene-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.2rem;
  border-radius: .8rem;
  object-fit: cover;
}
.guide-video { margin: 2rem 0; }
.guide-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}
.guide-video figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.guide-video figcaption a { color: var(--brand-dark); font-weight: 700; }
.scene small { font-size: .9rem; color: var(--brand-dark); }
.scene h2 { font-size: 1.45rem; }
.scene p { margin-top: .8rem; }
.scene h2, .scene p, .steps h2, .steps p { margin: .5rem 0; }
.steps { padding-left: 1.75rem; }
.steps li { padding: .55rem 0 1.2rem .4rem; }
.steps li::marker { color: var(--brand); font-weight: bold; }
.steps h2 { font-size: 1.2rem; }
.steps p { font-size: 1.05rem; }
.continue { background: #f4f2ec; padding: 1.5rem; border-radius: 1rem; }
.continue h2 { margin-top: 0; }
.action, .share { display: inline-block; background: var(--navy); color: white; padding: .75rem 1rem; border-radius: .65rem; font-size: 1rem; font-weight: bold; }
.share { background: white; color: var(--navy); border: 1px solid var(--line); margin-block: 1.25rem; cursor: pointer; }
[hidden] { display: none !important; }
.related a { display: block; padding: .4rem 0; font-size: 1rem; }
.foot { font-size: 1rem; }
.foot { border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot nav { flex-wrap: wrap; gap: .8rem; }
.foot button { border: 0; padding: 0; background: transparent; text-decoration: underline; cursor: pointer; }

.guide-motion-ready [data-guide-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.99);
  transition: opacity 520ms ease, transform 620ms var(--ease-out);
}
.guide-motion-ready [data-guide-reveal].is-visible,
.guide-motion-ready [data-guide-reveal]:focus-within {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.guide-motion-ready .steps li:nth-child(2) { transition-delay: 80ms; }
.guide-motion-ready .steps li:nth-child(3) { transition-delay: 160ms; }

.mast > a:last-child,
.back,
.related a,
.foot a,
.foot button {
  transition: color 180ms ease, transform 220ms var(--ease-out);
}
.mast > a:last-child:hover,
.back:hover,
.related a:hover,
.foot a:hover,
.foot button:hover { color: var(--brand); }
.related a:hover,
.back:hover { transform: translateX(3px); }
.scene,
.continue { transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.scene:hover,
.continue:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.action,
.share { transition: transform 180ms var(--ease-out), background-color 180ms ease, border-color 180ms ease; }
.action:hover { transform: translateY(-2px); background: var(--brand-dark); }
.share:hover { transform: translateY(-2px); border-color: var(--brand); }

@media (max-width: 650px) {
  .intro, .cards { grid-template-columns: 1fr; gap: .75rem; }
  .intro { margin-block: 1.3rem 1rem; }
  .intro p { margin: 0; font-size: 1rem; }
  .plano img { height: clamp(245px, 37svh, 360px); }
  .p0 { left: 68%; top: 19%; }
  .p1 { left: 24%; top: 63%; }
  .p2 { left: 77%; top: 76%; }
  .reading { margin-block: 1.5rem; font-size: 1.05rem; }
  .reading p, .steps p { font-size: 1rem; }
  .lead { font-size: 1.15rem !important; }
  .scene { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-motion-ready [data-guide-reveal] { opacity: 1; transform: none; transition: none; }
  .scene, .continue, .mast > a:last-child, .back, .related a, .foot a, .foot button, .action, .share { transition: none; }
  .scene:hover, .continue:hover, .back:hover, .related a:hover, .action:hover, .share:hover { transform: none; }
}
