.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .85rem 1.5rem; min-height: 48px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--ff-ui); font-weight: 500; font-size: .96rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--on-dark); }
.btn-primary:hover { background: var(--accent-2); color: var(--on-dark); transform: translateY(-1px); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); border-color: var(--accent); }
.btn-light { background: var(--on-dark); color: var(--accent); }
.btn-light:hover { background: var(--on-dark-2); color: var(--accent); transform: translateY(-1px); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-ui); font-weight: 500; color: var(--accent);
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--accent-translucide);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.btn-link:hover { color: var(--accent-2); border-color: var(--accent-2); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  font-family: var(--ff-ui); font-size: .8rem; font-weight: 500;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--accent);
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.chip svg { width: 14px; height: 14px; }
.chip-strong { background: var(--accent); color: var(--on-dark); border-color: var(--accent); }
.chip-mute { background: transparent; color: var(--text-2); border-color: var(--border); }

.c-line { background: transparent; border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: border-color var(--t-base), transform var(--t-base); }
.c-line:hover { border-color: color-mix(in srgb, var(--accent) 38%, transparent); transform: translateY(-2px); }
.c-plain { background: color-mix(in srgb, var(--text) 3%, var(--bg)); border-radius: 14px; padding: 24px; transition: transform var(--t-base); }

.tag-pill {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 12px;
  font-family: var(--ff-ui); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  background: rgba(28, 40, 32, 0.7); color: var(--on-dark);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lien-google {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-ui); font-size: .95rem; color: var(--accent);
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--accent-translucide);
  transition: color var(--t-fast);
}
.lien-google:hover { color: var(--accent-2); }
.lien-google svg { width: 16px; height: 16px; }

.dispo-card {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--ff-ui); font-size: .92rem; color: var(--text);
}
.dispo-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; }
.dispo-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent-2); opacity: .4; animation: dispo-pulse 2.4s ease-in-out infinite; }
@keyframes dispo-pulse { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dispo-dot::after { animation: none; } }

.modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(28, 40, 32, 0.62); }
.modal-box {
  position: relative;
  max-width: 540px; width: 100%; max-height: 86vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: transparent; border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text-2); border-radius: 50%;
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 { font-size: 1.5rem; margin: 0 0 18px; }
.modal h3 { font-family: var(--ff-display); font-weight: 500; font-size: 1rem; color: var(--text); margin: 18px 0 6px; }
.modal p { font-size: .92rem; color: var(--text-2); }

.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field label { font-family: var(--ff-ui); font-size: .82rem; color: var(--text-2); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; min-width: 0; min-height: 48px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-family: var(--ff-body); font-size: 1rem; color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
