@font-face {
  font-family: 'LiberationSans';
  src: url('assets/fonts/LiberationSans-Bold.woff2') format('woff2'),
       url('assets/fonts/LiberationSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LiberationSans';
  src: url('assets/fonts/LiberationSans-Regular.woff2') format('woff2'),
       url('assets/fonts/LiberationSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body {
  height: 100%;
}

:root{
  --bg-pos: 70% 60%; /* ajuste padrão para focar à direita/baixo (sofá) */
}

body {
  margin: 0;
  font-family: 'LiberationSans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background-image: url('Assets/background.jpeg');
  background-size: cover;
  background-position: var(--bg-pos);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Camada overlay preta semi-opa entre imagem e conteúdo */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35); /* menos opaco para deixar imagem mais visível */
  pointer-events: none;
  z-index: 1;
}

h1 {
  position: fixed;
  left: 24px;
  bottom: 24px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(28px, 6vw, 96px);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
  z-index: 2;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 32px);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
  color: #fff;
}

/* Efeito de brilho recortado dentro das letras (background-clip:text) */
.shine{
  display: inline-block;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.02) 0%,
    rgba(255,255,255,0.12) 35%,
    rgba(255,255,255,0.95) 50%,
    rgba(255,255,255,0.12) 65%,
    rgba(255,255,255,0.02) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 2.6s linear infinite;
}

@keyframes shimmer{
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsividade: ajustar o ponto focal do background para diferentes larguras */
@media (min-width: 1400px) {
  :root{ --bg-pos: 78% 68%; }
}

@media (min-width: 1000px) and (max-width: 1399px) {
  :root{ --bg-pos: 72% 62%; }
}

@media (min-width: 700px) and (max-width: 999px) {
  :root{ --bg-pos: 64% 56%; }
}

@media (max-width: 699px) {
  :root{ --bg-pos: 50% 60%; }
  body{ background-attachment: scroll; }
  h1{ left: 16px; bottom: 16px; font-size: clamp(22px, 10vw, 48px); }
  .centered{ font-size: clamp(14px, 4.5vw, 22px); }
}

/* Nota: ajuste os nomes de arquivo em assets/fonts e assets/background.jpg caso sejam diferentes */