/* Components — DPC */

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--bg); }

.btn-light {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-light:hover { background: var(--bg-alt); border-color: var(--accent); }

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

.btn-block { width: 100%; }

/* ============ PILLS USP ============ */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 500;
}
.pill svg { width: 14px; height: 14px; color: var(--accent); }

/* ============ Cards (LAY-5 = stripe) ============ */
.c-stripe {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 26px 24px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.c-stripe:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(46,42,36,0.18); }
.c-stripe .c-num {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.c-stripe h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.c-stripe p { color: var(--text-2); font-size: 0.98rem; }
.c-stripe ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.c-stripe ul li {
  position: relative; padding-left: 18px;
  font-size: 0.95rem; color: var(--text-2);
}
.c-stripe ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 1px; background: var(--accent);
}

/* ============ Form ============ */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: border-color var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ============ Modal mentions legales ============ */
.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(46,42,36,0.65);
  backdrop-filter: blur(4px);
}
.ml-box {
  position: relative;
  background: var(--bg);
  max-width: 520px; width: 100%;
  max-height: 86dvh;
  overflow-y: auto;
  padding: 36px 28px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
.ml-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
}
.ml-close:hover { background: var(--bg-alt); }
.ml-box h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  padding-right: 30px;
}
.ml-box h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 18px 0 6px;
}
.ml-box p, .ml-box li {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}
.ml-box ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}
.ml-box ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: var(--accent);
}
