/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

a.btn-primary, .btn-primary {
  background: var(--accent);
  color: #FAF5EB;
  box-shadow: 4px 4px 0 var(--text);
}
a.btn-primary:hover, .btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--text)); color: #FAF5EB; box-shadow: 6px 6px 0 var(--text); }

a.btn-secondary, .btn-secondary {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 4px 4px 0 var(--text);
}
a.btn-secondary:hover, .btn-secondary:hover { background: color-mix(in srgb, var(--wa-green) 88%, var(--text)); color: #fff; box-shadow: 6px 6px 0 var(--text); }

.btn-ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--bg); }

.btn-sm { padding: 10px 16px; min-height: 40px; font-size: .88rem; }

/* Chip / tag / eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  font-weight: 600;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--ff-ui);
  font-size: .82rem;
  color: var(--text);
}

/* Cards Risograph (LAY-3) */
.c-riso {
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-riso:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .c-riso { transition: none; }
  .c-riso:hover { transform: none; box-shadow: 5px 5px 0 var(--accent); }
}
.c-riso__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: .02em;
}
.c-riso__title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.2;
}
.c-riso__text { color: var(--text-2); font-size: .94rem; line-height: 1.55; }

/* Variante carte foncee (cf piege #10 — texte CLAIR explicitement defini sur titre + corps) */
.c-riso--dark {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 5px 5px 0 var(--accent);
}
.c-riso--dark, .c-riso--dark :where(h2,h3,h4,p,li,span,a,small) {
  color: color-mix(in srgb, var(--bg) 92%, transparent);
}
.c-riso--dark .c-riso__num { color: color-mix(in srgb, var(--accent) 30%, var(--bg)); }

/* Stars */
.stars { display: inline-flex; gap: 3px; color: #E2B73B; }
.stars svg { width: 16px; height: 16px; }

/* Badge Google rating (hero) */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .88rem;
  color: var(--text);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--text) 8%, transparent);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.rating-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 18px color-mix(in srgb, var(--text) 12%, transparent); color: var(--text); }
.rating-badge strong { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; }
.rating-badge .stars { gap: 2px; }
.rating-badge .stars svg { width: 14px; height: 14px; }
.rating-badge small { color: var(--text-mute); }

/* Status dot (ouvert maintenant) */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: .84rem;
  color: var(--text-2);
}
.status-dot::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-mute);
  flex-shrink: 0;
}
.status-dot.is-open::before { background: #3F9D5C; box-shadow: 0 0 0 4px color-mix(in srgb, #3F9D5C 22%, transparent); }
.status-dot.is-closed::before { background: #B0461B; box-shadow: 0 0 0 4px color-mix(in srgb, #B0461B 22%, transparent); }

/* Modal mentions legales */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.55);
  backdrop-filter: blur(3px);
}
.modal-box {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 var(--accent);
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  max-height: 86dvh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1.1rem;
  color: var(--text);
}
.modal-close:hover { background: var(--text); color: var(--bg); }
.modal-box h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-box h3 { font-size: 1rem; margin: 18px 0 6px; color: var(--accent); font-family: var(--ff-body); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.modal-box p, .modal-box li { font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.modal-box ul { padding-left: 18px; list-style: disc; }

/* FAB mobile (bouton Appeler colle en bas) */
.fab-call {
  display: none;
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: var(--z-fab);
  background: var(--accent);
  color: #FAF5EB;
  width: 60px; height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(20, 14, 8, .25), 4px 4px 0 var(--text);
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast);
}
.fab-call:hover { color: #FAF5EB; transform: translateY(-2px); }
.fab-call svg { width: 26px; height: 26px; }
@media (max-width: 768px) {
  .fab-call { display: inline-flex; }
}

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .82rem; font-family: var(--ff-ui); color: var(--text); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  min-height: 48px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
