/*
 * Base do site público (landing, checkout e pedido). Tokens, reset e os
 * componentes que as três páginas dividem. O que é de uma página só mora no
 * CSS dela (site-landing.css / site-fluxo.css).
 */
:root {
  --ink: #0e0e0e;
  --ink-hover: #2b2b2b;
  --sub: #4a4a4a;
  --mut: #6b6b6b;
  --line: #e2e2de;
  --line-soft: #e6e6e3;
  --field: #bdbdb8;
  --card: #f4f4f2;
  --soft: #efefed;
  --soft-hover: #e4e4e1;
  --lime: #e2f45c;
  --lime-hover: #d5e84c;
  --err: #c2281d;
  --white: #ffffff;
  --dark-sub: #a3a3a3;
  --dark-line: #2e2e2e;
  --font: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-card: 0 12px 32px rgba(14, 14, 14, 0.08);
  --shadow-float: 0 16px 40px rgba(14, 14, 14, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--sub); }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, [role="radio"]:focus-visible, [role="checkbox"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
::selection { background: var(--lime); color: var(--ink); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--white);
  text-decoration: none; font-weight: 500; transition: top 150ms ease;
}
.skip-link:focus { top: 16px; color: var(--white); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 1120px; }

/* Logo */
.site-logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
}
.site-logo:hover { color: var(--ink); }
.site-logo__mark { width: 30px; height: 18px; flex-shrink: 0; }
.site-logo__word { font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px;
  font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease, opacity 150ms ease;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .6; }
.btn--md { min-height: 52px; padding: 0 22px; font-size: 16px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-hover); color: var(--white); }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:hover { background: var(--soft-hover); color: var(--ink); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--lime); color: var(--ink); }
.btn--ghost-dark { background: transparent; color: var(--white); border: 1px solid #333333; }
.btn--ghost-dark:hover { background: #1f1f1f; color: var(--white); }

/* Ícone de check usado em listas */
.check-ico { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; }

@keyframes alpBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes alpPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .45; } }
@keyframes alpRing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes alpSpin { to { transform: rotate(360deg); } }

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