/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--ink-deep); color: var(--bg); border-color: var(--ink-deep); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn-wa { background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.btn-wa:hover { background: var(--wa-green-dark); border-color: var(--wa-green-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-deep); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--ink-deep); color: var(--bg); border-color: var(--ink-deep); }
.btn-light { background: var(--surface); color: var(--ink-deep); border-color: var(--surface); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink-deep); border-color: var(--accent); }

/* Pill / Tag */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--ff-ui); font-size: .78rem;
  color: var(--text);
  text-transform: uppercase; letter-spacing: .1em;
}
.tag--accent { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--accent-deep); }
.tag--ok { background: rgba(47, 138, 62, 0.12); border-color: rgba(47, 138, 62, 0.3); color: #1F6A2C; }

/* Cards radius-asym */
.c-asym {
  background: var(--surface);
  border-radius: var(--r-asym);
  padding: 28px 26px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  border: 1px solid var(--border);
}
.c-asym:hover { transform: translateY(-3px); }
.c-asym--lead {
  background: var(--ink-deep); color: #fff;
  border-color: var(--ink-deep);
}
.c-asym--lead, .c-asym--lead :where(h1,h2,h3,h4,h5,h6,p,li,span,a,small) { color: #fff; }
.c-asym--lead p { color: rgba(255, 255, 255, 0.82); }
.c-asym--lead .c-num { color: var(--accent); }

.c-num {
  display: inline-block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-2);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

/* Cards process step */
.proc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-asym);
  padding: 28px 26px;
  position: relative;
}
.proc-card__step {
  font-family: var(--ff-display); font-style: italic;
  color: var(--accent-2);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.proc-card__step b { font-weight: 500; font-style: normal; color: var(--ink-deep); font-size: 2.2rem; margin-right: 8px; vertical-align: -2px; }
.proc-card h3 { margin: 0 0 10px; }
.proc-card p { color: var(--text-2); font-size: .96rem; margin: 0; }

/* Hero rating badge */
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--ff-ui); font-size: .88rem; color: var(--text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rating-badge:hover { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.rating-badge strong { font-weight: 600; color: var(--ink-deep); }
.rating-stars { display: inline-flex; gap: 1px; color: var(--accent); }
.rating-stars svg { width: 14px; height: 14px; }
.rating-badge .rating-sep { width: 1px; height: 14px; background: var(--border); }

/* Open-now pill */
.open-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 500;
}
.open-pill--open { background: rgba(47, 138, 62, 0.12); color: #1F6A2C; }
.open-pill--closed { background: rgba(210, 74, 30, 0.12); color: #A33A18; }
.open-pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.open-pill--open .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 138, 62, 0.5); animation: pulse-dot 2.2s ease-out infinite; }
.open-pill--closed .dot { background: var(--warn); }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(47, 138, 62, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(47, 138, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 138, 62, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .open-pill--open .dot { animation: none; }
}

/* Modal mentions legales */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); }
.modal__overlay { position: absolute; inset: 0; background: rgba(26, 28, 29, 0.6); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; max-width: 540px; width: calc(100% - 32px); margin: 8vh auto 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  max-height: 84vh; overflow-y: auto;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; background: transparent; color: var(--ink-deep); border-radius: 50%; display: grid; place-items: center; }
.modal__close:hover { background: var(--accent-soft); }
.modal h2 { font-family: var(--ff-display); font-size: 1.5rem; margin-bottom: 18px; }
.modal h3 { font-family: var(--ff-display); font-size: 1.05rem; margin-top: 16px; margin-bottom: 6px; color: var(--ink-deep); }
.modal p, .modal li { font-size: .9rem; color: var(--text-2); line-height: 1.5; margin-bottom: 8px; }

/* Form */
.form-grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--ff-ui); font-size: .82rem; color: var(--text-2); }
.field input, .field textarea, .field select {
  font: inherit;
  width: 100%; min-width: 0;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--ink-deep);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--surface);
}
.form-msg { font-family: var(--ff-ui); font-size: .88rem; padding: 12px 14px; border-radius: var(--r-md); }
.form-msg--ok { background: rgba(47, 138, 62, 0.12); color: #1F6A2C; }
.form-msg--ko { background: rgba(210, 74, 30, 0.12); color: #A33A18; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(26, 28, 29, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r-md); }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, 0.12);
  color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6rem; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 8px; right: 8px; } }
