/* Palavra Dada — site (mesmas cores e fontes do app) */
@font-face { font-family: 'Lora'; src: url('fontes/Lora_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('fontes/Lora_400Regular_Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('fontes/Lora_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fontes/DMSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fontes/DMSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --fundo: #FAF6F0;
  --cartao: #FFFDF9;
  --tinta: #33403A;
  --suave: #5F6A64;
  --oliva: #4F6B57;
  --destaque: #A84A1A;
  --linha: rgba(51, 64, 58, 0.14);
  --amarelo: #F3DE98;
  --pessego: #F7D6BF;
  --azul: #B9D3E3;
  --salvia: #9DB89A;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --calmo: cubic-bezier(0.45, 0, 0.22, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--oliva); }
img { max-width: 100%; }

.envoltorio { width: min(1080px, 100% - 48px); margin-inline: auto; }

/* ---------- topo ---------- */
.topo { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; position: relative; z-index: 2; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); font-family: var(--serif); font-weight: 500; font-size: 20px; }
.marca img { width: 34px; height: 34px; border-radius: 9px; }
.topo nav { display: flex; gap: 22px; font-size: 15px; }
.topo nav a { text-decoration: none; color: var(--suave); }
.topo nav a:hover { color: var(--tinta); }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .4s var(--calmo), background .4s var(--calmo), opacity .3s;
}
.botao:hover { transform: translateY(-2px); }
.botao-principal { background: var(--oliva); color: #FFFDF9; }
.botao-principal:hover { background: #45604d; }
.botao-contorno { background: transparent; color: var(--tinta); border: 1.5px solid var(--linha); }
.botao .em-breve { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(255,253,249,.18); letter-spacing: .02em; }

/* ---------- títulos ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 62px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 22px; }
.laranja { color: var(--destaque); }
.rotulo { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--oliva); }
.suave { color: var(--suave); }

/* ---------- caixinha (as mesmas peças do app) ---------- */
.caixinha {
  --w: 320px;
  position: relative; width: var(--w); aspect-ratio: 340 / 300;
  border: 0; padding: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.caixinha img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.caixinha .mancha { transition: transform 1.8s var(--calmo), opacity 1.2s var(--calmo); }
.caixinha .m1 { transform-origin: 33.5% 41%; animation: respira1 9.8s ease-in-out infinite alternate; }
.caixinha .m2 { transform-origin: 60.3% 30.7%; animation: respira2 11.6s ease-in-out infinite alternate; }
.caixinha .m3 { transform-origin: 54.4% 65.3%; animation: respira3 13.1s ease-in-out infinite alternate; }
.caixinha .m4 { transform-origin: 24.1% 68.7%; animation: respira4 9s ease-in-out infinite alternate; }
@keyframes respira1 { from { translate: -4px -3px; scale: 1; } to { translate: 4px 3px; scale: 1.03; } }
@keyframes respira2 { from { translate: 3px -3px; scale: 1; } to { translate: -3px 3px; scale: 1.025; } }
@keyframes respira3 { from { translate: -4px 2px; scale: 1; } to { translate: 4px -2px; scale: 1.02; } }
@keyframes respira4 { from { translate: 3px 3px; scale: 1; } to { translate: -3px -3px; scale: 1.035; } }

.caixinha .caixa { position: absolute; inset: 0; animation: flutua 2.6s ease-in-out infinite alternate; transition: opacity 1s var(--calmo), translate 1.4s var(--calmo); }
@keyframes flutua { from { translate: 0 3px; } to { translate: 0 -3px; } }
.caixinha .ramos { transform-origin: 50% 41%; animation: balanca 3.4s ease-in-out infinite alternate; transition: translate 1.2s var(--calmo), scale 1.2s var(--calmo); }
@keyframes balanca { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
.caixinha .tampa { transform-origin: 27% 45%; transition: transform 1.3s cubic-bezier(.3, 1.3, .5, 1); }
.caixinha:not(.aberta):hover .tampa { transform: translate(-1px, -4px) rotate(-3deg); }

.caixinha.aberta .tampa { transform: translate(-4px, -26px) rotate(-26deg); }
.caixinha.aberta .ramos { translate: 0 -16px; scale: 1.08; }

@media (prefers-reduced-motion: reduce) {
  .caixinha *, .caixinha { animation: none !important; transition: none !important; }
}

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); margin-top: 40px; padding: 36px 0 48px; font-size: 13px; color: var(--suave); line-height: 1.65; }
.rodape .linhas { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.rodape p { margin: 0 0 8px; max-width: 760px; }
