/* 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-align: center;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, color .2s ease, border-color .2s ease;
  min-height: 50px;
  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-deep); color: #fff; }

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

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

.btn-block { width: 100%; }

/* CARD STRIPE (LAY-5) */
.c-stripe {
  position: relative;
  background: color-mix(in srgb, var(--accent) 3%, var(--bg));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.c-stripe:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  box-shadow: 0 12px 28px rgba(46, 40, 32, 0.08);
}
.c-stripe .c-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.c-stripe .c-num::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin: 0 0 5px 10px;
  vertical-align: middle;
}
.c-stripe h3 {
  margin: 8px 0 10px;
  font-size: 1.3rem;
}
.c-stripe p {
  color: var(--text-2);
  font-size: 0.98rem;
  margin: 0;
}
.c-stripe .c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.c-stripe .c-tags span {
  font-family: var(--ff-ui);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 11px;
  font-weight: 600;
}

/* Card dark variant - PIEGE PROD #10 respecté */
.c-stripe--dark {
  background: var(--surface-deep);
  border-left-color: var(--accent-2);
  color: var(--text-on-dark);
}
.c-stripe--dark :where(h1, h2, h3, h4, p, li, span, a, small) {
  color: var(--text-on-dark);
}
.c-stripe--dark .c-num { color: var(--accent-2); }
.c-stripe--dark .c-num::after { background: var(--accent-2); }
.c-stripe--dark p { color: color-mix(in srgb, var(--text-on-dark) 78%, transparent); }
.c-stripe--dark .c-tags span {
  background: color-mix(in srgb, var(--accent-2) 22%, transparent);
  color: var(--text-on-dark);
}
.c-stripe--dark:hover { background: var(--surface-deep); }

/* FORM */
.form-field { display: block; margin-bottom: 16px; min-width: 0; }
.form-field label {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font-family: var(--ff-ui);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* CHIPS */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.chip svg { width: 13px; height: 13px; color: var(--accent); }

/* MODAL (mentions legales) */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 40, 32, 0.55);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(46, 40, 32, 0.25);
}
.modal-box h2 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.modal-box h3 {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 18px 0 6px;
  font-weight: 700;
}
.modal-box p { font-size: 0.92rem; color: var(--text-2); margin: 0 0 8px; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
}
.modal-close:hover { background: var(--bg-alt); }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  background: rgba(20, 18, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-close, .lb-prev, .lb-next {
  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.5rem;
  cursor: pointer;
  transition: background .2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next: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%); }
