/* Boutons, cards, chips, form */

/* === Boutons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease, border-color .25s ease, box-shadow .25s ease;
  min-height: 50px;
  line-height: 1.1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(85,117,68,.18);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(85,117,68,.28); }
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.22);
}
.btn-wa:hover { background: var(--wa-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding: 10px 14px;
}
.btn-ghost:hover { background: var(--accent-soft); }

/* CTA empile mobile, side-by-side desktop */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.cta-stack .btn { width: 100%; }
@media (min-width: 640px) {
  .cta-stack { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .cta-stack .btn { width: auto; flex: 0 0 auto; }
}

/* === Chips / pills === */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--accent-deep);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 999px;
  font-family: var(--ff-ui); font-size: .82rem; font-weight: 600;
  letter-spacing: .04em;
}
.chip svg { width: 14px; height: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* === Card stripe (LAY-5) : filet accent gauche === */
.c-stripe {
  position: relative;
  background: color-mix(in srgb, var(--text) 3%, var(--bg));
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.c-stripe:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(46,40,32,.08); }
.c-stripe__num {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: .02em;
  margin-bottom: 10px;
  display: inline-block;
}
.c-stripe__title {
  font-family: var(--ff-display);
  font-size: 1.32rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.2;
}
.c-stripe__body {
  font-size: .98rem;
  color: var(--text-2);
  margin: 0 0 12px;
  line-height: 1.55;
}
.c-stripe__list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-size: .9rem;
  color: var(--text-2);
}
.c-stripe__list li {
  display: flex; align-items: flex-start; gap: 8px;
}
.c-stripe__list li::before {
  content: "—"; color: var(--accent); flex-shrink: 0;
}

/* === Form === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width:640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .04em;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 100%;
  min-width: 0; /* PIEGE PROD #10 contre overflow select */
  min-height: 48px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: var(--bg);
  outline: none;
}

/* === Modal mentions legales === */
.modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(46,40,32,.6);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  overscroll-behavior: contain;
}
.modal-box h2 {
  font-size: 1.4rem; font-weight: 500; font-style: italic;
  margin: 0 0 16px;
  padding-right: 36px;
}
.modal-box p { font-size: .93rem; line-height: 1.55; color: var(--text-2); margin-bottom: 12px; }
.modal-box strong { color: var(--text); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--text);
  line-height: 1;
}
.modal-close:hover { background: var(--text); color: var(--bg); }

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  background: rgba(20,16,12,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lb-image {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }

/* === Badge social proof === */
.badge-google {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  color: var(--text-mute);
  padding: 4px 10px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.badge-google svg { width: 13px; height: 13px; }

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