/* A ligação entre etapas é o elemento de movimento. O texto mantém-se acessível. */
.intro-note, .step-position, .hero-caption, .journey-caption { color: var(--color-text-muted); font-size: var(--text-sm); }
.intro-note { margin-bottom: 1.5rem; }
.header-link { font-weight: 600; }
.header-link, .day-note a, .legal-document a, .bmd-form__note a { color: var(--color-accent-text); text-underline-offset: 3px; }
.site-header__logo img { height: auto; width: clamp(150px, 23vw, 225px); }
.hero__inner { align-items: center; }
.hero__title { font-size: clamp(2.6rem, 4.8vw, 4.3rem); max-width: 15ch; letter-spacing: -.045em; }
.hero-caption { margin-top: 1rem; }
.hero-connections { position: absolute; width: 58%; right: -10%; bottom: -15%; opacity: .5; pointer-events: none; }
.hero-connections path { stroke: var(--bmd-blue-muted); stroke-width: 1.5; }
.hero-connections circle { fill: var(--bmd-green); }
.link-button { display: inline-flex; text-decoration: none; justify-content: center; text-align: center; }
.day-note { position: relative; padding: 2.5rem 2rem; border: 1px solid var(--color-border); background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius-sm); transform: rotate(2deg); }
.day-note__title { font-weight: 650; font-size: var(--text-lg); }
.day-note ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.day-note li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .5rem; border-top: 1px solid var(--color-border); padding: 1rem 0; font-size: var(--text-sm); }
.day-note li span { color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.day-note > p:last-of-type { font-size: var(--text-sm); margin-bottom: .4rem; }
.journey { background: var(--color-bg); border-top: 1px solid var(--color-border); }
.journey-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.journey-map { position: sticky; top: 3rem; }
.journey-map h2 { max-width: 18ch; }
.journey-map > p { margin-top: 1.5rem; }
.route { position: relative; display: grid; gap: 0; margin-top: 2rem; }
.route::before, .route::after { content: ''; position: absolute; left: 18px; top: 20px; width: 2px; height: calc(100% - 52px); background: var(--color-border); }
.route::after { background: var(--color-accent-text); transform-origin: top; transform: scaleY(var(--route-progress, 0)); transition: transform 400ms ease; }
.route a { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 64px; text-decoration: none; color: var(--color-text-muted); }
.route-dot { display: grid; place-items: center; position: relative; z-index: 1; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--color-border-strong); border-radius: 50%; background: #fff; font-size: .85rem; }
.route a[aria-current="step"] { color: var(--color-text); font-weight: 700; }
.route a[data-reached="true"] .route-dot { background: var(--color-accent-text); color: #fff; border-color: var(--color-accent-text); }
.journey-step { padding: 3rem 0 5rem; scroll-margin-top: 2rem; border-bottom: 1px solid var(--color-border); }
.journey-step:first-child { padding-top: 0; }
.journey-step + .journey-step { margin-top: 4rem; }
.journey-step h3 { font-size: var(--text-2xl); margin: .75rem 0 1.25rem; }
.journey-step > p { color: var(--color-text-muted); }
.solution { border-left: 3px solid var(--color-accent-text); padding: 1.5rem; background: var(--color-bg-alt); margin-top: 2rem; }
.solution-label { color: var(--color-accent-text); font-size: var(--text-sm); font-weight: 600; }
.solution h4 { font-size: var(--text-lg); margin: .6rem 0; }
.connection { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 600; }
.area-explorer { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: start; }
.area-explorer details { border-bottom: 1px solid var(--color-border-strong); padding: 1rem 0; }
.area-explorer summary { padding: .5rem 1rem .5rem 0; min-height: 48px; font-weight: 650; cursor: pointer; }
.area-explorer details p { margin: 1rem 0; }
.area-explorer details[open] summary { color: var(--color-accent-text); }
.guide-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.guide-cover { padding: 2.7rem 2rem; min-height: 450px; border: 1px solid var(--color-border); border-left: 7px solid var(--color-text); box-shadow: var(--shadow-lg); background: #fff; }
.guide-cover img { width: 180px; margin-bottom: 3rem; }
.guide-cover > p { font-size: var(--text-2xl); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.guide-cover > span { display: block; margin-top: 1rem; color: var(--color-accent-text); }
.guide-cover > div { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.guide-steps { padding-left: 1.4rem; margin: 2rem 0; }
.guide-steps li { padding-left: .5rem; margin: 1rem 0; }
.guide-steps strong { display: block; }
.guide-section .lead { margin-top: 1.5rem; }
.guide-section .link-button { margin-top: 1.5rem; }
.cta .form-card p { color: var(--color-text-muted); margin: 1rem 0; }
.cta .form-card .link-button { color: #fff; }
.cta .lead, .site-footer p { color: #bdccdc; }
.footer-brand { width: 220px; margin-bottom: 1.5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.5rem 0; }
.site-footer a { overflow-wrap: anywhere; }
.legal-document { max-width: 48rem; margin: auto; padding: 3rem 1.5rem 6rem; }
.legal-document h1 { font-size: var(--text-3xl); }
.legal-document h2 { font-size: var(--text-xl); margin: 2rem 0 1rem; }
.legal-document p, .legal-document ul { margin: 1rem 0; }
.legal-document a { overflow-wrap: anywhere; }
.legal-draft { padding: 1rem; border: 2px solid #915b00; background: #fff8e8; color: #694400; }
@media (max-width: 61.99em) { .hero__inner { gap: 3rem; } .day-note { transform: none; max-width: 40rem; } }
@media (max-width: 47.99em) {
  .journey-layout, .guide-layout, .area-explorer { grid-template-columns: 1fr; }
  .journey-map { position: static; }
  .route { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .route::before, .route::after { display: none; }
  .route a { font-size: .82rem; gap: .45rem; }
  .journey-step { padding-bottom: 2.5rem; }
  .journey-step + .journey-step { margin-top: 2rem; }
  .guide-cover { min-height: auto; max-width: 26rem; }
  .day-note { padding: 1.5rem; }
  .header-link { font-size: .82rem; text-align: right; }
  .hero-connections { width: 110%; opacity: .2; }
}
@media (prefers-reduced-motion: reduce) { .route::after { transition: none; } }
