/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 0.96rem;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background var(--t-quick), transform var(--t-quick), box-shadow var(--t-quick);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

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

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost-light {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.btn-ghost-light:hover {
  border-color: var(--accent-on-dark);
  color: var(--accent-on-dark);
}

/* CTA group (hero, contact) */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}
.cta-group .btn { width: 100%; }
@media (min-width: 560px) {
  .cta-group { flex-direction: row; flex-wrap: wrap; }
  .cta-group .btn { width: auto; flex: 1; min-width: 180px; }
}

/* Cards line (LAY-1 card=line) */
.c-line {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  background: transparent;
  transition: border-color var(--t-quick), transform var(--t-quick);
}
.c-line:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Chips/Tags */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

/* Rating badge (preuve sociale) */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--text);
  margin: 16px 0 24px;
  transition: border-color var(--t-quick), transform var(--t-quick);
  width: fit-content;
}
.rating-badge:hover { border-color: var(--accent); }
.rating-stars { display: inline-flex; gap: 2px; color: #F5B100; }
.rating-stars svg { width: 14px; height: 14px; }
.rating-badge strong { font-weight: 600; color: var(--text); }
.rating-badge span { color: var(--text-2); font-size: 0.86rem; }

/* Modal mentions */
.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(28, 40, 32, 0.62);
  backdrop-filter: blur(4px);
}
.ml-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  max-width: 520px;
  width: 100%;
  max-height: 86dvh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .20);
}
.ml-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}
.ml-close:hover { background: var(--bg-alt); }
.ml-box h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.ml-box h3 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 6px;
  color: var(--text);
}
.ml-box p { font-size: 0.92rem; line-height: 1.55; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 22, 18, 0.94);
  display: grid;
  place-items: center;
  padding: 20px;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90dvh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.22); }

/* Form */
.form-card {
  display: grid;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  color: var(--text-on-dark-2);
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-family: var(--ff-ui);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border-radius: var(--r-md);
  min-width: 0;
  width: 100%;
  min-height: 46px;
}
.field textarea { min-height: 100px; resize: vertical; font-family: var(--ff-body); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-on-dark);
  background: rgba(255, 255, 255, 0.10);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-on-dark-2); opacity: 0.7; }
.form-submit { width: 100%; }
