@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Quicksand:wght@400;500;600;700&display=swap");

:root {
  --ouro: #a87b2f;
  --ouro-claro: #d9b56a;
  --ouro-grad: linear-gradient(135deg, #b8893a, #d9b56a 55%, #a87b2f);
  --tinta: #4a4439;
  --suave: #7a7366;
  --linha: #ece4d6;
  --creme: #faf6ef;
  --papel: #fffdf9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Quicksand", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--tinta);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--tinta); }
button { font-family: inherit; }

/* ---------- Coração que se desenha ---------- */
.coracao { width: 120px; display: block; margin: 0 auto; overflow: visible; }
.coracao path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: traco 1.8s cubic-bezier(.6,.1,.2,1) forwards; }
.coracao path:nth-child(2), .coracao path:nth-child(5) { animation-delay: .18s; }
.coracao path:nth-child(3), .coracao path:nth-child(6) { animation-delay: .36s; }
@keyframes traco { to { stroke-dashoffset: 0; } }
.assinatura { text-align: center; }
.assinatura .nome { font-family: var(--sans); font-weight: 400; font-size: 26px; letter-spacing: .02em;
  background: var(--ouro-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: surge .8s 1.4s forwards; }
.assinatura .lema { font-size: 10px; letter-spacing: .2em; color: var(--ouro); text-transform: uppercase;
  opacity: 0; animation: surge .8s 1.7s forwards; }
@keyframes surge { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Roda ---------- */
.roda { width: 100%; height: auto; display: block; overflow: visible; }
.roda-fundo { fill: #fff; }
.roda-base { fill-opacity: .13; transition: fill-opacity .4s; }
.roda-cheio { fill-opacity: .9; transition: opacity .4s; }
.roda-anel { fill: none; stroke: #e4dccd; stroke-width: .7; }
.roda-anel.borda { stroke: #d6c9b1; stroke-width: 1.4; }
.roda-raio { stroke: #fff; stroke-width: 2; }
.roda-miolo { fill: #fff; stroke: var(--ouro-claro); stroke-width: 1.5; }
.roda-rotulo { font-family: var(--sans); font-size: 13px; font-weight: 700; text-anchor: middle; dominant-baseline: middle;
  transition: opacity .4s; paint-order: stroke; stroke: var(--papel); stroke-width: 3px; }
.roda .apagado.roda-base { fill-opacity: .05; }
.roda .apagado.roda-cheio, .roda .apagado.roda-rotulo { opacity: .25; }

/* ---------- Escala 0–10 ---------- */
.escala { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; margin: 14px 0 4px; }
.escala button {
  height: 44px; border: 1px solid var(--linha); border-radius: 10px; background: #fff;
  font-weight: 600; font-size: 15px; color: var(--suave); cursor: pointer; padding: 0;
  transition: background .25s, color .25s, transform .15s, border-color .25s;
}
.escala button.ok { background: color-mix(in srgb, var(--c) 18%, #fff); border-color: color-mix(in srgb, var(--c) 35%, #fff); color: var(--tinta); }
.escala button[aria-checked="true"] { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.08); }
.escala button:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }

/* ---------- Campos e botões ---------- */
label.rot { display: block; font-size: 13px; font-weight: 700; color: var(--suave); margin: 14px 0 6px; }
input, textarea {
  width: 100%; border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px;
  font: inherit; color: var(--tinta); background: #fff;
}
textarea { min-height: 76px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ouro-claro); box-shadow: 0 0 0 3px #d9b56a33; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px;
  border: 0; border-radius: 16px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn-ouro { background: var(--ouro-grad); color: #fff; box-shadow: 0 8px 22px #a87b2f40; }
.btn-whats { background: #1f9d55; color: #fff; box-shadow: 0 8px 22px #1f9d5540; }
.btn-claro { background: #fff; color: var(--tinta); border: 1px solid var(--linha); }
.btn svg { width: 22px; height: 22px; }

.rodape { text-align: center; font-family: var(--serif); font-style: italic; color: var(--ouro); padding: 28px 0 40px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
