/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: normal;
  text-align: center;
}
.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: var(--text-light);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.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); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(244, 248, 245, 0.6);
}
.btn-outline-light:hover { background: rgba(244, 248, 245, 0.12); }

.btn-small {
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  min-height: 40px;
}

/* Pastilles USP */
.uspy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.uspy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 248, 245, 0.18);
  color: var(--text-light);
  border: 1px solid rgba(244, 248, 245, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.uspy span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  flex-shrink: 0;
}

/* Card row (LAY-4 services list-sep utilise + cards row pour avis/contact) */
.c-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}
.c-row__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.c-row__icon svg { width: 22px; height: 22px; }
.c-row strong { color: var(--text); font-family: var(--ff-display); font-weight: 500; }
.c-row p { font-size: 0.94rem; color: var(--text-2); margin-top: 2px; }

/* Modal Mentions */
#ml-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 53, 49, 0.62);
  backdrop-filter: blur(3px);
}
.ml-box {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 540px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  padding: 32px 26px 28px;
  box-shadow: 0 30px 80px -30px rgba(31, 53, 49, 0.5);
}
.ml-box h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-family: var(--ff-display);
}
.ml-box h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--ff-ui);
  margin: 18px 0 6px;
  font-weight: 600;
}
.ml-box p, .ml-box address {
  font-size: 0.92rem;
  font-style: normal;
  color: var(--text-2);
  line-height: 1.55;
}
.ml-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.ml-close:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 26, 24, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox .lb-image {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 18px 60px -10px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  background: rgba(244, 248, 245, 0.12);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}
.lightbox button:hover { background: rgba(244, 248, 245, 0.25); transform: scale(1.06); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 540px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: scale(1.05); }
  .lb-prev { left: 30%; }
  .lb-next { right: 30%; }
}

/* Form */
.contact-form {
  display: grid;
  gap: 14px;
}
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.field input,
.field textarea,
.field select {
  min-width: 0;
  width: 100%;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  padding: 0.78rem 0.95rem;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 130px; 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 var(--accent-soft);
}
.field .help { font-size: 0.8rem; color: var(--text-mute); }
.form-msg {
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}
.form-msg.is-error { background: rgba(176, 70, 27, 0.1); color: #8c3712; border-color: #b0461b; }

/* Badge "Ouvert" */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.open-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6FAA9D;
  position: relative;
  flex-shrink: 0;
}
.open-badge.is-open .dot {
  background: #2EA86F;
  box-shadow: 0 0 0 0 rgba(46, 168, 111, 0.55);
  animation: pulse 2.3s infinite;
}
.open-badge.is-closed .dot { background: #b0461b; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 168, 111, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 168, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 168, 111, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .open-badge.is-open .dot { animation: none; }
}
