/* canciondetuhistoria.com — design tokens (mood "romântico cálido") */
:root {
  /* paleta cálida */
  --bg: #FBF6EE;
  --bg-elev: #FFFDF8;
  --primary: #A8432B;
  --primary-deep: #7A1F1A;
  --accent: #C9A24B;
  --text: #2B1A14;
  --text-soft: #6B5546;
  --border: #EADFCE;
  --success: #2E7D5B;

  /* tipografia */
  --font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* raios e sombras (suaves e quentes) */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 8px 28px rgba(122, 31, 26, .08);
  --shadow-lg: 0 18px 48px rgba(122, 31, 26, .14);

  /* espaçamento base */
  --container: 1100px;
  --gap: clamp(16px, 4vw, 28px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; font-weight: 600; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
p { color: var(--text-soft); }
a { color: var(--primary); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 9vw, 96px) 0; }
.center { text-align: center; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  padding: 16px 30px; min-height: 52px; border-radius: 999px;
  border: 0; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-block { width: 100%; }

/* cards */
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}

/* utilitários */
.muted { color: var(--text-soft); }
.accent { color: var(--accent); }
.stars { color: var(--accent); letter-spacing: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
