/* Fontes do site original (licenças compradas). Os arquivos .OTF originais ficam em fontes-originais/. */
@font-face { font-family: "Melinda Evania"; src: url("../fonts/melinda-evania.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Viberate"; src: url("../fonts/viberate.woff2") format("woff2"); font-display: swap; }

:root { --creme: #f6f0ea; --marrom: #a2672d; --marrom-escuro: #5b4d43; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--creme); }
body { -webkit-font-smoothing: antialiased; }
img { display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- Tela de 980px, como no original ---------- */
.conteudo { overflow-x: clip; }
.band { position: relative; }
.canvas { position: relative; width: 980px; height: 100%; margin: 0 auto; }
.it { position: absolute; }

/* Texto */
.t p, .t h1, .t h2, .t h3, .t h4, .t h5, .t h6, .t li, .t blockquote { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
.t > * { font-weight: normal; }
.t ul { margin: 0; padding: 0; list-style: disc; }
.t li { margin-left: 1.3em; }
.t .a-center { text-align: center; }
.t .a-justify { text-align: justify; }
.t a:hover { text-decoration: underline; }

/* Imagens, desenhos e caixas */
.i { object-fit: cover; }
.i.contain { object-fit: contain; }
.deco, .icone { object-fit: contain; pointer-events: none; }
.linha { left: calc(490px - 50vw); width: 100vw; height: 10px; }
.meia { left: calc(490px - 50vw); width: calc(50vw + 1px); object-fit: cover; }
.box { overflow: visible; }

/* Botões */
.btn { display: flex; align-items: center; justify-content: center; text-align: center; transition: filter .2s; }
.btn:hover { filter: brightness(1.08); }
.f-VIB { font-family: "Viberate", fahkwang, serif; }
.f-HELL { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; }

/* ---------- Cabeçalho (fixo no topo, como no original) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--creme); }
.site-header .canvas { display: flex; align-items: center; justify-content: space-between; height: 96px; padding: 0 10px; }
.logo img { width: 138px; height: auto; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-family: "Open Sans", sans-serif; font-size: 12px; color: var(--marrom);
  transition: color .2s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--marrom); transform: scaleX(0); transition: transform .25s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--marrom-escuro); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- Rodapé ---------- */
.rodape .foto-rodape { z-index: 0; }
.rodape .it:not(.foto-rodape):not(.deco) { z-index: 1; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.18);
  animation: whatsapp-brilho 2.4s ease-out infinite;
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 34px; height: 34px; }
@keyframes whatsapp-brilho {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.18); }
  70%  { box-shadow: 0 0 0 22px rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.18); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.18); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp { animation: none; } }

/* ---------- Celular e tablet: elementos empilhados ---------- */
@media (max-width: 979px) {
  .band { height: auto !important; padding: 32px 0; }
  .canvas { width: auto; padding: 0 20px; }
  .it { position: static !important; width: auto !important; height: auto !important; margin: 0 auto 16px; }
  .deco { display: none; }
  .icone { width: 42px !important; margin: 0 auto 12px; }
  .i { width: 100% !important; max-width: var(--w); margin-left: auto; margin-right: auto; }
  .rodape .i.contain { display: inline-block; width: 22px !important; margin: 0 10px 0 0; vertical-align: middle; }
  .meia { max-width: none; }
  .linha { width: 100% !important; }
  .box { padding: 28px 20px; }
  .box > .it:last-child { margin-bottom: 0; }
  .btn { display: flex; max-width: 420px; min-height: 48px; padding: 10px 16px; }
  .t .a-justify { text-align: left; }

  .site-header .canvas { height: auto; flex-wrap: wrap; padding: 14px 20px; }
  .menu-toggle { display: block; background: none; border: 0; padding: 8px; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--marrom); }
  .menu { display: none; width: 100%; padding-top: 8px; }
  .menu.aberto { display: block; }
  .menu a { display: block; padding: 12px 0; font-size: 15px; border-top: 1px solid rgba(162,103,45,.15); }
  .menu a::after { display: none; }

  .rodape .foto-rodape { max-width: 280px; }
  .whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp svg { width: 30px; height: 30px; }
}

/* Linhas divisórias e ícone dos botões */
.traco { height: 5px; }
.btn .sorriso { width: 22px; height: 22px; margin-left: 10px; flex: none; }
@media (max-width: 979px) { .traco { width: 100% !important; } }

/* ---------- Movimentos ---------- */
/* Entrada suave ao rolar (só com JavaScript ativo e sem "reduzir movimento") */
.anim .band .it { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.anim .band .it.visivel { opacity: 1; transform: none; }
/* Desenhos decorativos mantêm a transparência própria e só "respiram" */
.anim .band .it.deco { transform: none; transition: opacity 1.4s ease; }
.anim .band .it.deco.visivel { opacity: var(--op, .14); animation: flor-respira 9s ease-in-out infinite; }
@keyframes flor-respira { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.04) rotate(3deg); } }
/* Fotos e botões: leve destaque ao passar o mouse */
.band a .i, .btn { transition: transform .35s ease, filter .2s; }
.btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .deco { animation: none !important; } }

/* Texto só para leitores de tela e buscadores (ex.: H1 da página inicial) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
