/* BOUTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: .98rem; font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  text-align: center;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, box-shadow .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--primary); color: #fff; }

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid color-mix(in srgb, var(--text) 28%, transparent);
}
.btn-secondary:hover {
  background: var(--text); color: var(--bg);
  border-color: var(--text);
}

.btn-wa {
  background: var(--wa-green); color: #fff;
}
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; }

.btn-light {
  background: #fff; color: var(--primary);
}
.btn-light:hover { background: var(--bg); color: var(--primary); }

/* boutons mobile : empiles pleine largeur dans les CTA hero/contact */
@media (max-width: 560px) {
  .cta-stack { display: flex; flex-direction: column; gap: 10px; }
  .cta-stack .btn { width: 100%; }
}

/* CHIPS / PASTILLES */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-ui); font-size: .8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.chip-dark {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.chip svg { width: 12px; height: 12px; }

/* USP pastilles hero */
.hero-usps { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.hero-usp {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--ff-ui); font-size: .85rem;
  color: var(--text);
}
.hero-usp svg { width: 14px; height: 14px; color: var(--accent); }

/* CARD risograph (impose par LAY-3) */
.c-riso {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  height: 100%;
}
.c-riso:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.c-riso--alt {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  box-shadow: 5px 5px 0 var(--accent-2);
}
.c-riso--alt:hover { box-shadow: 7px 7px 0 var(--accent-2); }
.c-riso--alt .card-num { color: var(--accent-2); }
.c-riso--alt .card-meta { color: color-mix(in srgb, #fff 70%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .c-riso { transition: none; }
  .c-riso:hover { transform: none; }
}

.card-num {
  font-family: var(--ff-display); font-style: italic;
  font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 14px;
}
.card-title {
  font-family: var(--ff-display); font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
.card-text {
  font-family: var(--ff-body); font-size: .95rem; color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}
.c-riso--alt .card-text { color: color-mix(in srgb, #fff 78%, transparent); }
.card-meta {
  margin-top: auto;
  font-family: var(--ff-ui); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mute);
}
.card-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  margin: 6px 0 14px;
}
.card-list li {
  font-family: var(--ff-ui); font-size: .9rem;
  padding-left: 18px; position: relative;
  color: var(--text-2);
}
.c-riso--alt .card-list li { color: color-mix(in srgb, #fff 82%, transparent); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent);
}
.c-riso--alt .card-list li::before { background: var(--accent-2); }

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 500;
  color: var(--text-2); letter-spacing: .02em;
}
.field input, .field textarea, .field select {
  font: inherit;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  min-height: 48px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* FAB mobile (bouton appel fixe en bas) */
.fab-call {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: var(--z-fab);
  background: var(--accent);
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 35%, transparent);
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
}
.fab-call.is-visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.fab-call svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .fab-call { display: none; } }

/* RATING (badge etoiles) */
.rating-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, #fff 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--ff-ui); font-size: .82rem;
  color: var(--text);
  text-decoration: none;
}
.rating-badge .stars { display: inline-flex; gap: 2px; }
.rating-badge .stars svg { width: 13px; height: 13px; color: #E5A93B; }
.rating-badge:hover { background: #fff; }

/* MODAL */
.ml-modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ml-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, 0.55);
  backdrop-filter: blur(2px);
}
.ml-box {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  max-width: 540px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(20, 18, 14, 0.25);
}
.ml-box h2 {
  font-family: var(--ff-display); font-size: 1.4rem;
  margin-bottom: 16px;
}
.ml-box h3 {
  font-family: var(--ff-display); font-size: 1.05rem;
  color: var(--accent); margin-top: 18px; margin-bottom: 6px;
}
.ml-box p {
  font-size: .9rem; line-height: 1.6; color: var(--text-2);
  margin-bottom: 8px;
}
.ml-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%; background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  font-size: 1.3rem;
  transition: background .2s;
}
.ml-close:hover { background: color-mix(in srgb, var(--text) 18%, transparent); }
