/* public/assets/css/app.css */

/* 1) Melhor UX */
html {
  scroll-behavior: smooth;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2) Evitar “pulos” com header sticky ao clicar em âncoras */
section[id] {
  scroll-margin-top: 88px;
}

/* 3) Melhorar aparência de focus (acessibilidade) */
:focus-visible {
  outline: 3px solid rgba(237, 122, 52, 0.55); /* #ED7A34 */
  outline-offset: 2px;
  border-radius: 10px;
}

/* 4) Line clamp (porque no seu HTML você usa line-clamp-2) */
.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 {
  -webkit-line-clamp: 1;
}
.line-clamp-2 {
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  -webkit-line-clamp: 3;
}

/* 5) Imagens: evitar “esticar” e ficar feio */
img {
  max-width: 100%;
  height: auto;
}

/* 6) Pequeno ajuste para Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

/* 7) Botões/inputs: remover estilos estranhos do browser */
button,
input,
select,
textarea {
  font: inherit;
}

/* Mobile menu animations */
.mobile-menu-enter {
  transform: translateX(-100%);
}
.mobile-menu-enter-active {
  transform: translateX(0);
  transition: transform 300ms ease-in-out;
}
.mobile-menu-exit {
  transform: translateX(0);
}
.mobile-menu-exit-active {
  transform: translateX(-100%);
  transition: transform 300ms ease-in-out;
}
.backdrop-enter {
  opacity: 0;
}
.backdrop-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in-out;
}
.backdrop-exit {
  opacity: 1;
}
.backdrop-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}
