:root {
  --brand: #78b5eb;
  --brand-dark: #8da3c7;
  --accent: #37404d;
  --ink: #32415f;
  --muted: #6b7ea3;
  --soft: #fefcff;
  --white: #fefcff;
  --rose: #8fc2f0;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(141, 163, 199, 0.2);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fefcff 0%, #f7fbff 30%, #fefcff 100%);
  scrollbar-width: thin;
  scrollbar-color: #8da3c7 #8fc2f0;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #fefcff 0%, #8fc2f0 100%);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #78b5eb 0%, #8da3c7 55%, #e1e4e7 100%);
  border-radius: 999px;
  border: 2px solid #fefcff;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8fc2f0 0%, #8da3c7 50%, #8fc2f0 100%);
}

a { color: inherit; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform .24s cubic-bezier(.22, .61, .36, 1), box-shadow .24s ease, background-color .24s ease, color .24s ease, border-color .24s ease;
  cursor: pointer;
  will-change: transform;
}

.btn-sm { padding: 0.45rem 0.7rem; font-size: 0.88rem; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(141, 163, 199, .34); }
.btn-outline { background: #fff; border-color: #c8d7ea; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15, 23, 42, .1); }
.btn-whatsapp {
    background: #143764;
    color: #fefcff;
    border-color: rgba(61, 91, 129, .9);
}
.btn-whatsapp:hover {
    background: #37404d;
    border-color: rgba(55, 64, 77, .95);
    color: #fefcff;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 28px rgba(55, 64, 77, .34);
}
.btn-danger { background: #8fc2f0; color: #364463; }
.btn-danger:hover { background: #37404d; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(55, 64, 77, .32); }

.btn:active {
  transform: translateY(0) scale(.985);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 181, 235, .28), 0 10px 22px rgba(141, 163, 199, .22);
}

.badge {
  display: inline-flex;
  font-size: .75rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: #8fc2f0;
  color: #4a4768;
}

.card {
  border: 1px solid rgba(148,163,184,.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform .26s cubic-bezier(.22, .61, .36, 1), box-shadow .26s ease, border-color .26s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 181, 235, .36);
  box-shadow: 0 18px 34px rgba(141, 163, 199, .24);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card {
    transition: none;
  }

  .btn:hover,
  .btn:active,
  .card:hover {
    transform: none;
    box-shadow: none;
  }
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: none;
  padding: .8rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 999;
  color: #fff;
}
.toast.ok { background: linear-gradient(120deg, #78b5eb 0%, #8da3c7 100%); }
.toast.error { background: linear-gradient(120deg, #8fc2f0 0%, #37404d 100%); color: #35415f; }
