/* Boutons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 22px;
  border-radius:999px;
  font-family:var(--ff-ui);
  font-weight:600;
  font-size:.98rem;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  border:0;
  min-height:48px;
}
.btn svg{width:18px;height:18px;flex-shrink:0;}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow: 0 4px 14px rgba(58,74,64,0.18);
}
.btn-primary:hover{background:var(--accent-2);color:#fff;transform:translateY(-2px);box-shadow:0 8px 22px rgba(58,74,64,0.28);}
.btn-wa{
  background:var(--wa-green);
  color:#fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.22);
}
.btn-wa:hover{background:var(--wa-green-d);color:#fff;transform:translateY(-2px);}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border:1.5px solid var(--text);
}
.btn-ghost:hover{background:var(--text);color:var(--bg);}
.btn-light{
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
}
.btn-light:hover{border-color:var(--accent);color:var(--accent);}

/* Card row (layout LAY-4 card=row) */
.c-row{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  padding:0;
}
.c-row__icon{
  width:48px;height:48px;
  border-radius:12px;
  display:grid;place-items:center;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  color:var(--accent);
  flex-shrink:0;
}
.c-row__icon svg{width:24px;height:24px;}

/* Chips */
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color:var(--accent);
  font-family:var(--ff-ui);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.02em;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);
}

/* Badge anciennete (signature pattern Le Jardinier) */
.badge-anciennete{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 14px 8px 8px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  font-family:var(--ff-ui);
  font-size:.85rem;
  color:var(--text-2);
  margin-top:18px;
}
.badge-anciennete__year{
  background:var(--accent);
  color:#fff;
  font-family:var(--ff-display);
  font-weight:600;
  padding:4px 12px;
  border-radius:999px;
  font-size:.92rem;
  letter-spacing:.02em;
}

/* Statut ouvert */
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  background: color-mix(in srgb, var(--ok) 14%, var(--bg));
  border:1px solid color-mix(in srgb, var(--ok) 40%, transparent);
  color:var(--ok);
  font-family:var(--ff-ui);
  font-size:.82rem;
  font-weight:600;
  border-radius:999px;
}
.status-pill.is-closed{
  background: color-mix(in srgb, var(--warn) 14%, var(--bg));
  border-color: color-mix(in srgb, var(--warn) 40%, transparent);
  color:var(--warn);
}
.status-pill .dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--ok);
  position:relative;
}
.status-pill.is-closed .dot{background:var(--warn);}
.status-pill .dot::after{
  content:"";
  position:absolute;inset:-3px;
  border-radius:50%;
  background:var(--ok);
  opacity:.35;
  animation: pulseDot 2s ease-in-out infinite;
}
.status-pill.is-closed .dot::after{background:var(--warn);}
@media (prefers-reduced-motion:reduce){
  .status-pill .dot::after{animation:none;}
}
@keyframes pulseDot{
  0%,100%{transform:scale(1);opacity:.35;}
  50%{transform:scale(1.6);opacity:0;}
}

/* Formulaire */
.contact-form{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.field label{
  font-family:var(--ff-ui);
  font-size:.85rem;
  font-weight:600;
  color:var(--text-2);
}
.field input,
.field textarea,
.field select{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--r-md);
  font-family:var(--ff-body);
  font-size:1rem;
  color:var(--text);
  min-height:48px;
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 18%, transparent);
}
.form-msg{
  margin-top:10px;
  padding:12px 14px;
  border-radius:var(--r-md);
  font-size:.92rem;
  display:none;
}
.form-msg.is-ok{display:block;background:color-mix(in srgb,var(--ok) 12%,var(--bg));color:var(--ok);border:1px solid color-mix(in srgb,var(--ok) 30%,transparent);}
.form-msg.is-err{display:block;background:color-mix(in srgb,var(--warn) 12%,var(--bg));color:var(--warn);border:1px solid color-mix(in srgb,var(--warn) 30%,transparent);}

/* Mentions legales 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,28,24,0.55);
}
.ml-box{
  position:relative;
  background:var(--bg);
  border-radius:var(--r-xl);
  max-width:520px;width:100%;
  max-height:88dvh;
  overflow-y:auto;
  padding:28px;
  box-shadow:0 24px 60px rgba(0,0,0,0.3);
}
.ml-box h2{
  font-family:var(--ff-display);
  font-size:1.5rem;
  margin-bottom:16px;
}
.ml-box h3{
  font-family:var(--ff-display);
  font-size:1.05rem;
  margin-top:18px;
  margin-bottom:6px;
  color:var(--accent);
}
.ml-box p{font-size:.95rem;color:var(--text-2);line-height:1.55;margin-bottom:10px;}
.ml-close{
  position:absolute;top:14px;right:14px;
  width:38px;height:38px;
  border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  display:grid;place-items:center;
  font-size:1.4rem;
  line-height:1;
  color:var(--text-2);
}
.ml-close:hover{background:var(--accent);color:#fff;border-color:var(--accent);}
