/* =============================================================================
   BASE  —  defaults dos elementos HTML, só com tokens
   -----------------------------------------------------------------------------
   Fica DEPOIS do Bootstrap e ANTES de layout.css / components.css.
   Sem seletores de componente aqui.
   ========================================================================== */

body {
  margin: 0;
  font-family: var(--lbc-font-body);
  font-size: var(--lbc-text-size-body);
  line-height: var(--lbc-line-height-body);
  color: var(--lbc-text);
  background-color: var(--lbc-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lbc-font-heading);
  font-weight: var(--lbc-heading-weight);
  line-height: var(--lbc-line-height-heading);
  color: var(--lbc-title-color);
  letter-spacing: var(--lbc-letter-spacing-tight);
}

p, ul, ol, dl, blockquote, figure {
  margin-top: 0;
  margin-bottom: var(--lbc-stack-gap);
}

/* Listas — espaçamento entre linhas/itens consistente */
ul, ol {
  padding-left: var(--lbc-list-padding-start);
}

li {
  line-height: var(--lbc-list-line-height);
}

li + li {
  margin-top: var(--lbc-list-item-gap);
}

li > ul,
li > ol {
  margin-top: var(--lbc-list-nested-gap);
  margin-bottom: 0;
}

li::marker {
  color: var(--lbc-list-marker-color);
}

a {
  color: var(--lbc-text-link);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--lbc-text-link-hover);
}

small {
  font-size: var(--lbc-text-size-small);
}

code, kbd, samp, pre {
  font-family: var(--lbc-font-mono-role);
}

hr {
  border: 0;
  border-top: var(--lbc-border-width) solid var(--lbc-border-color);
  margin: var(--lbc-section-gap) 0;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

/* Foco visível consistente (não remове o outline nativo sem substituto) */
:focus-visible {
  outline: var(--lbc-focus-outline);
  outline-offset: var(--lbc-focus-offset);
}

/* Respeita preferências de movimento reduzido */
@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;
  }
}

/* Utilitário partilhado (fora do Elementor) */
.lbc-visually-hidden,
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
