:root {
  --bg: #0e0f11;
  --bg-elevated: #16171b;
  --surface: #1c1d22;
  --fg: #f3f1ec;
  --muted: #9a958c;
  --subtle: #6e6a64;
  --steel: #a8b0ba;
  --paper: #ece8e0;
  --ink: #121317;
  --border: rgb(243 241 236 / 0.12);
  --whatsapp: #25d366;
  --whatsapp-fg: #062414;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  outline: 1px solid rgb(243 241 236 / 0.1);
  outline-offset: -1px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
[role="button"] {
  font-family: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.muted {
  color: var(--muted);
}

.display {
  font-family: var(--font-display);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(14 15 17 / 0.95);
  box-shadow: 0 1px 0 0 rgb(243 241 236 / 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-desktop {
  display: none;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-desktop a:hover {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-header.is-open .nav-mobile {
  display: flex;
}

.nav-mobile a {
  padding: 12px;
  border-radius: var(--radius-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 150ms ease-out, transform 150ms ease-out, color 150ms ease-out;
  text-align: center;
}

.btn:active:not(:disabled) {
  transform: scale(0.96);
}

.btn:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--fg);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.18);
}

.btn-outline:hover {
  background: rgb(243 241 236 / 0.05);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-fg);
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-sm {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.btn-md {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
}

.btn-lg {
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
}

.btn-xl {
  height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.wa-desktop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(14 15 17 / 0.55) 0%,
    rgb(14 15 17 / 0.35) 38%,
    rgb(14 15 17 / 0.88) 100%
  );
}

.hero-copy {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 4rem;
}

.hero h1 {
  margin-top: 16px;
  max-width: 18ch;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 36rem;
  color: rgb(236 232 224 / 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Trust */
.trust {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(72rem, 100%);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  font-size: 0.9rem;
}

.trust-list svg {
  width: 16px;
  height: 16px;
  color: var(--steel);
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

#quote.section {
  padding-bottom: 8rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lede.tight {
  margin-top: 20px;
}

.panel.spaced {
  margin-top: 40px;
}

.field.span-all {
  grid-column: 1 / -1;
}

.btn.stack-gap {
  margin-top: 12px;
}

.btn.stack-top {
  margin-top: 24px;
}

.grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.card {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.08);
}

.card img,
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 20px 24px 24px;
}

.card h3 {
  font-size: 1.5rem;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.elevated {
  background: var(--bg-elevated);
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.why-copy p {
  margin: 20px 0 0;
  color: var(--muted);
}

.ticks {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
}

.ticks li {
  display: flex;
  gap: 12px;
}

.dot {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--steel);
  flex-shrink: 0;
}

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.08);
}

.step-n {
  margin: 0;
  font-family: var(--font-display);
  color: var(--steel);
  letter-spacing: 0.06em;
}

.step h3 {
  margin-top: 16px;
  font-size: 1.5rem;
}

.step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.jobs {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

figure.card {
  margin: 0;
}

.card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 0.9rem;
}

.card figcaption span:last-child {
  color: var(--muted);
  font-size: 0.75rem;
}

.quote-grid {
  display: grid;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 20px;
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.1);
}

.panel h3 {
  margin-top: 8px;
  font-size: 1.65rem;
}

.panel > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.14);
  font: inherit;
  font-size: 0.9rem;
  padding: 0 14px;
  outline: none;
}

input,
select {
  height: 44px;
}

textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
  border-radius: var(--radius-lg);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 2px rgb(168 176 186 / 0.7);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.status {
  margin: 12px 0 0;
  font-size: 0.75rem;
  color: var(--subtle);
  text-align: center;
}

.status {
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.1);
  color: var(--muted);
}

.status strong {
  color: var(--fg);
  font-weight: 500;
}

.status.is-ok {
  box-shadow: 0 0 0 1px rgb(37 211 102 / 0.35);
}

.status.is-err {
  box-shadow: 0 0 0 1px rgb(220 80 80 / 0.4);
}

.cover-result {
  margin-top: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}

.footer-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--fg);
}

.legal {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 0.75rem;
  color: var(--subtle);
}

/* WhatsApp widget */
.wa-dock {
  position: fixed;
  right: 16px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-panel {
  width: min(22.5rem, calc(100vw - 2rem));
  background: var(--bg-elevated);
  border-radius: var(--radius-2xl);
  box-shadow: 0 0 0 1px rgb(243 241 236 / 0.12), 0 18px 40px rgb(0 0 0 / 0.45);
  overflow: hidden;
  transform: translateY(8px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform-origin: bottom right;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 250ms var(--ease);
}

.wa-panel.is-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.wa-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
}

.wa-head p {
  margin: 0;
  font-size: 0.9rem;
}

.wa-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
}

.icon-btn:hover {
  color: var(--fg);
}

.wa-body {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.wa-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--muted);
}

.chip.is-on {
  background: var(--paper);
  color: var(--ink);
}

.wa-fab {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--whatsapp-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgb(37 211 102 / 0.28);
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

.pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(37 211 102 / 0.4);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  from {
    transform: scale(1);
    opacity: 0.45;
  }
  to {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (min-width: 640px) {
  .header-bar {
    height: 72px;
  }

  .wa-desktop {
    display: inline-flex;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .form-grid.two,
  .grid-2,
  .jobs {
    grid-template-columns: 1fr 1fr;
  }

  .row {
    flex-direction: row;
  }

  .row .btn {
    flex: 0 0 auto;
  }

  .row input {
    flex: 1;
  }

  .panel {
    padding: 28px;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }

  .trust-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .split,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .split,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
