/* Cabeçalho sempre visível com a marca. */
.nav { position: sticky; top: 0; z-index: 20; height: var(--nav-h); background: color-mix(in oklch, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { display: block; height: 28px; width: auto; }
.footer .brand img { height: 24px; }
.brand { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; text-decoration: none; }
.nav__cta { font-weight: 600; font-size: var(--step--1); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--espresso); color: var(--on-espresso); }
@media (max-width: 720px) { .nav__cta { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 var(--step-0)/1 var(--f-body); text-decoration: none; padding: 14px 20px; border-radius: var(--radius); background: var(--espresso); color: var(--on-espresso); border: 1px solid var(--espresso); transition: background .2s ease, transform .2s ease; }
.btn:hover { background: var(--espresso-hi); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 17px 24px; font-size: var(--step-1); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); }
.btn:focus-visible, .nav__cta:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }

/* Reveal seguro: visível por padrão, só some quando o JS confirma (motion.md). */
.reveal { opacity: 1; transform: none; transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1); }
html.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js-reveal .reveal:not(.is-in) { opacity: 1; transform: none; transition: none; } }

.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: none; }
@media (min-width: 721px) { .sticky-cta { display: none; } }
