/*
 * Reset CSS — Pucci Cozinhas
 *
 * Baseado no Eric Meyer Reset v2.0 com ajustes modernos.
 * Garante baseline consistente entre browsers.
 */

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

/* Reset de margens e paddings */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Elementos de bloco HTML5 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

/* Oculta o summary aberto por padrao em alguns browsers */
[hidden] {
  display: none;
}

/* Reset do modelo de linha */
body {
  line-height: 1;
}

/* Remove estilo de lista */
ol,
ul {
  list-style: none;
}

/* Reset de aspas */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

/* Reset de tabelas */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Herda fonte em inputs e botoes */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove borda em imagens dentro de links (IE) */
img {
  border-style: none;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Evita overflow em elementos pre-formatados */
pre {
  overflow: auto;
}

/* Remove aparencia padrao de botoes */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Evita scroll horizontal no html/body */
html {
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Melhora renderizacao de texto */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

/* Reduce motion for animations globally */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Prevent text overflow in flexible layouts */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Improve media defaults */
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Remove default styles for dialog/summary */
dialog {
  padding: 0;
}

/* Ensure smooth anchor scrolling offset for sticky header */
:target {
  scroll-margin-top: 80px;
}
