*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: #ede2cf; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #556b2f; }
a:hover { color: #3e2a1c; }
a:focus-visible, button:focus-visible { outline: 3px solid #556b2f; outline-offset: 3px; }

/* Botões com leve resposta ao toque */
a[href="#doar"], .copy-btn, .album-nav { transition: transform 0.15s ease, filter 0.15s ease; }
a[href="#doar"]:hover, .copy-btn:hover, .album-nav:hover { filter: brightness(1.08); }
a[href="#doar"]:active, .copy-btn:active, .album-nav:active { transform: scale(0.97); }

/* Álbum de fotos */
.album-stage {
  position: relative;
  height: clamp(300px, 52vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0px, 6vw, 84px);
}
.album-photo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(62, 42, 28, 0.28), 0 4px 10px rgba(62, 42, 28, 0.18);
  transition: opacity 0.2s ease;
}
.album-photo.is-loading { opacity: 0.35; }
.album-nav {
  position: absolute;
  top: 50%;
  margin-top: -28px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: #556b2f;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(62, 42, 28, 0.25);
}
.album-prev { left: 0; }
.album-next { right: 0; }
.album-strip {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-color: #b9a27e transparent;
}
.thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 72px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #2a1d13;
  border: 3px solid transparent;
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: #556b2f; opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }

@media (max-width: 600px) {
  .album-nav { width: 46px; height: 46px; margin-top: -23px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
