/* ═══════════════════════════════════════
   RESET & BASE — KonvertAI
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Skip navigation — a11y ── */
.skip {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 999;
  background: var(--c-roxo-v);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-sm);
  transition: top var(--t-base);
}

.skip:focus {
  top: 1rem;
}

/* ── Focus visible global ── */
:focus-visible {
  outline: 2px solid var(--c-roxo-l);
  outline-offset: 3px;
}

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