/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: 999px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
  text-align: center;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-lg); }
.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); border-color: var(--accent); color: var(--accent-deep); }
.btn-light {
  background: rgba(255,255,255,0.94);
  color: var(--accent-deep);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Cards plain (LAY-2 imposed card=plain) */
.c-plain {
  background: color-mix(in srgb, var(--text) 4%, var(--bg));
  border-radius: var(--r-lg);
  padding: 24px;
}

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.85rem; color: var(--text-2); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 1rem;
  transition: border var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Pills / chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  font-family: var(--ff-ui);
}
.pill-dark {
  background: rgba(255,255,255,0.10);
  color: #fff;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.pill-dot.is-live {
  background: #2ECC71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  animation: dot-pulse 2.2s infinite;
}
.pill-dot.is-off { background: #B73B3B; animation: none; }
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@media (prefers-reduced-motion: reduce) { .pill-dot.is-live { animation: none; } }

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--accent); font-weight: 500; }
.brand-tag {
  display: none;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-2);
  margin-left: 4px;
}
@media (min-width: 900px) { .brand-tag { display: inline-block; } }

/* Reusable section with surface-deep background */
.section-dark {
  background: var(--surface-deep);
  color: #fff;
}
.section-dark :where(h1, h2, h3, h4, p, li, span, a, small) { color: inherit; }
.section-dark .section-title { color: #fff; }
.section-dark .section-title em { color: var(--accent-on-dark); }
.section-dark .section-eyebrow { color: var(--accent-on-dark); }
.section-dark .section-eyebrow::before { background: var(--accent-on-dark); }
.section-dark p { color: rgba(245, 241, 234, 0.82); }
