@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0d11;
  --bg-2: #121318;
  --panel: #16181e;
  --line: #262a33;
  --text: #f3f4f7;
  --muted: #9aa0ab;
  --red: #e8100f;
  --red-h: #ff2322;
  --wa: #25d366;
  --wa-h: #1ebe57;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: Outfit, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg); color: var(--text); }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(232, 16, 15, .22), transparent 60%),
    var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,13,17,.55) 0%, rgba(12,13,17,.82) 42%, var(--bg) 78%),
    url("/art/hero-desktop.webp") center top / cover no-repeat;
}
.bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  min-height: 100svh;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}
.logo img { height: 36px; width: auto; }
.slogan {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: #d6d9df;
  letter-spacing: .01em;
}
.slogan em { font-style: normal; color: var(--red-h); }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 0 72px;
}
.card {
  width: min(720px, 100%);
  text-align: center;
  background: linear-gradient(180deg, rgba(22,24,30,.86), rgba(18,19,24,.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 40px 44px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232,16,15,.18);
}
h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}
.lead {
  margin: 0 auto 28px;
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.55;
  color: #c9cdd4;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: #06210f;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(37,211,102,.28);
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-wa:hover, .btn-wa:focus-visible {
  background: var(--wa-h);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37,211,102,.38);
}
.btn-wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-wa svg { flex: none; }
.phone {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

footer.legal {
  padding: 0 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.wa-bubble {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  animation: wa-pulse 2.6s ease-out 1.5s 3;
}
.wa-bubble:hover, .wa-bubble:focus-visible { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.wa-bubble:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-tip {
  position: absolute;
  right: 70px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.wa-bubble:hover .wa-tip, .wa-bubble:focus-visible .wa-tip { opacity: 1; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 700px) {
  .bg { background:
    linear-gradient(180deg, rgba(12,13,17,.5) 0%, rgba(12,13,17,.84) 50%, var(--bg) 82%),
    url("/art/hero-mobile.webp") center top / cover no-repeat;
  }
  header.top { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 18px; }
  .logo img { height: 32px; }
  .card { padding: 32px 22px 30px; border-radius: 20px; }
  .lead { font-size: 16px; }
  .btn-wa { width: 100%; }
  footer.legal { padding-bottom: 96px; }
  .wa-bubble { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-bubble { animation: none; transition: none; }
  .btn-wa { transition: none; }
}
