/* Base commune — pilotée par les variables CSS injectées par templates.js */
:root {
  --bg: #FDFBF7; --bg-soft: #F5EFE3; --surface: #fff;
  --ink: #2B2118; --ink-soft: #6B6258; --border: #E8DFCD;
  --accent: #B08D57; --accent-deep: #8C6F3F;
  --radius: 14px; --shadow: 0 6px 24px rgba(43,33,24,.08);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased; line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; }
a { color: var(--accent-deep); }
.container { max-width: 920px; margin: 0 auto; padding: 0 18px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  border: 0; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--accent); color: #fff;
  padding: 12px 20px; border-radius: var(--radius);
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--accent-deep); border: 1.5px solid var(--accent); }
.btn.ghost { background: var(--bg-soft); color: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Cartes / champs */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
input, textarea, select {
  font: inherit; width: 100%; padding: 11px 13px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 10px; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }

/* Pastilles de tag « avec les mariés » */
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  border: 1.5px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .9rem;
  transition: all .12s;
}
.tag-pill[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

.muted { color: var(--ink-soft); }
.center { text-align: center; }
.hidden { display: none !important; }
