/* ==========================================================================
   RESET — SeuMed · Apresentação
   Baseline mínima. Não normaliza o que os outros arquivos já definem.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto; /* controlado via JS (respeita prefers-reduced-motion) */
}

body {
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

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

ul, ol { list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 { font-weight: inherit; }

::selection {
  background: #0F4C75;
  color: #fff;
}

/* Foco visível sempre — nunca outline: none sem substituto */
:focus-visible {
  outline: 2px solid #0F4C75;
  outline-offset: 3px;
  border-radius: 2px;
}

.slide--dark :focus-visible {
  outline-color: #7FB2DA;
}

@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;
  }
}
