*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }

/* Controles: toque sem atraso e sem selecionar o texto ao segurar */
button, a.btn, .nav-cta, summary, [role="button"] { touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
html, body { background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(127, 216, 176, 0.32); color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* Menu fixo */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; letter-spacing: 0.14em; color: #fff; text-decoration: none; }
.brand svg { width: 28px; height: 24px; color: var(--mint); }
.links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.links a { color: inherit; text-decoration: none; opacity: 0.72; transition: opacity 200ms ease; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 13px/1 var(--sans); color: #fff; text-decoration: none; padding: 0 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:active, .btn:active { transform: scale(0.97); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 10px; font: 700 15px/1 var(--sans); border: 0; cursor: pointer; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: #fff; color: var(--ink); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); background: transparent; }

@media (hover: hover) and (pointer: fine) {
  .links a:hover { opacity: 1; }
  .nav-cta:hover { background: rgba(255, 255, 255, 0.06); }
  .btn-primary:hover { background: #E6ECF5; }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
}

main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }

/* Rodapé */
.rodape { border-top: 1px solid var(--line); padding: 40px 0 calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--text-soft); }
.rodape-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.rodape .brand { font-size: 14px; }
.rodape-oferta { font: 500 13px/1.6 var(--mono); color: var(--text-faint); }
.rodape-oferta strong { color: #fff; font-weight: 600; }
.rodape-oferta s { text-decoration-thickness: 1px; }
.rodape-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.rodape-wa svg { width: 18px; height: 18px; color: var(--mint); }
.rodape-copy { margin-top: 24px; font: 500 12px/1.5 var(--mono); color: var(--text-faint); }

/* Celular: logo + ícone do WhatsApp */
@media (max-width: 960px) {
  .links { display: none; }
  .nav-cta { width: 44px; justify-content: center; padding: 0; }
  .nav-cta span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
