/* Aliases do painel sobre /assets/tokens.css (design system v2). Nada de cor fixa aqui. */
:root { --r: var(--r-md); --pill: var(--r-pill); --panel-1: var(--honey-1); --panel-2: var(--honey-2); --panel-ink: #2A1A00; --panel-card: #FFFFFF; --f-mono: ui-monospace, Menlo, Consolas, monospace; }

/* ── Base do painel (reset, tipografia) ── */
/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--f-ui);
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 6.4vw, 62px); line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4.8vw, 52px); line-height: 1.1; letter-spacing: -.032em; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }

p { margin: 0; }
a { color: inherit; }
em { font-style: normal; color: var(--accent-strong); }
img { max-width: 100%; display: block; }

/* container */
.in {
  max-width: 1120px;
  margin: 0 auto;
  padding-left:  max(16px, env(safe-area-inset-left,  0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* hexágono */
.hx { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo i { width: 22px; height: 25px; background: linear-gradient(160deg,#FFC83D,#E08A00); display: block; }

/* acessibilidade */


/* foco global */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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