/* ── Tokens ──────────────────────────────────────────── */
:root {
  --white:   #FFFFFF;
  --bg:      #F5F5F7;
  --surface: #FFFFFF;
  --ink:     #1D1D1F;
  --ink-2:   #424245;
  --ink-3:   #6E6E73;
  --ink-4:   #B0B0B5;
  --line:    #D2D2D7;
  --accent:  #0071E3;
  --accent-h:#0077ED;
  --green:   #1D8348;
  --red:     #C0392B;
  --radius:  18px;
  --radius-s:10px;
  --shadow:  0 2px 12px rgba(0,0,0,.08);
  --shadow-h:0 8px 32px rgba(0,0,0,.13);
  --font:    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Header ──────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 0 48px; height: 64px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 400; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 980px;
  font-size: 15px; font-weight: 500; line-height: 1;
  transition: background .2s, opacity .2s;
  white-space: nowrap;
}
.button i { width: 16px; height: 16px; }
.button-dark  { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--ink-2); }
.button-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.button-outline:hover { background: var(--bg); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--bg); }
.button-accent { background: var(--accent); color: #fff; }
.button-accent:hover { background: var(--accent-h); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px; overflow: hidden;
  background: var(--white);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 80px 64px 80px 80px;
}
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.hero-copy h1 {
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink);
}
.hero-copy p { font-size: 18px; color: var(--ink-2); max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ── Stats ───────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.stats > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px 48px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: none; }
.stats span { font-size: 13px; color: var(--ink-3); }
.stats strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 80px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; background: var(--white); }
.intro h2 { font-size: clamp(28px,3.2vw,44px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.intro p { font-size: 17px; color: var(--ink-2); padding-top: 8px; }

/* ── Catalog ─────────────────────────────────────────── */
.catalog { background: var(--bg); }
.catalog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px;
}
.catalog-head h2 { font-size: clamp(26px,2.8vw,38px); font-weight: 700; letter-spacing: -.02em; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  padding: 7px 16px; border-radius: 980px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: var(--white); border: 1.5px solid var(--line);
  transition: all .2s;
}
.filter.active, .filter:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Product grid ────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }

.product-photo {
  height: 240px; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.product-photo img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 24px;
  transition: transform .4s;
}
.product-card:hover .product-photo img { transform: scale(1.05); }

.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-meta { display: flex; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg); color: var(--ink-3);
}
.product-body h3 { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.product-body > p { font-size: 14px; color: var(--ink-3); }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec {
  background: var(--bg); border-radius: var(--radius-s);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px;
}
.spec span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.spec strong { font-size: 14px; font-weight: 600; }

/* ── Price box ───────────────────────────────────────── */
.price-box {
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 14px 16px; display: flex; gap: 12px;
}
.price-box-muted { background: var(--bg); }
.price-main, .price-discount { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.price-main + .price-discount { border-left: 1.5px solid var(--line); padding-left: 12px; }
.price-box span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.price-box strong { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.price-box small { font-size: 12px; color: var(--ink-3); }
.price-discount strong { color: var(--green); }

/* locked */
.price-locked { flex-direction: column; gap: 10px; background: var(--bg); border-style: dashed; }
.price-lock-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-3);
}
.price-lock-hint { font-size: 14px !important; color: var(--ink-2) !important; }
.price-unlock-action { display: flex; align-items: center; gap: 12px; }
.unlock-btn {
  padding: 8px 18px; border-radius: 980px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.unlock-btn:hover { background: var(--accent-h); }
.price-unlock-action small { font-size: 12px; color: var(--ink-4); }

/* ── Agotado ─────────────────────────────────────────── */
.badge-agotado {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.card-agotado { opacity: .82; }
.card-agotado .product-photo img { filter: grayscale(30%); }
.price-box-agotado {
  border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px;
  background: var(--bg);
}
.price-box-agotado .price-main > strong { color: var(--red); }
.badge-transito {
  position: absolute; top: 12px; left: 12px;
  background: #d97706; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.price-box-transito {
  border: 1.5px solid #fde68a; border-radius: var(--radius-s); padding: 14px 16px;
  background: #fffbeb;
}
.price-box-transito .price-main > strong { color: #92400e; }
.price-box-transito .price-main > span { color: #78350f; }
.arrival-date { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* Lead capture dialog */
.lead-dialog { border: none; border-radius: 20px; padding: 0; max-width: 480px; width: 94vw; box-shadow: 0 24px 64px rgba(0,0,0,.18); }
.lead-dialog::backdrop { background: rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.lead-card { padding: 32px 28px 28px; }
.lead-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.lead-chip {
  padding: 7px 14px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--bg); font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.lead-chip.selected {
  border-color: #16a34a; background: #16a34a; color: #fff;
}
.lead-chip.selected::before { content: "✓ "; font-size: 11px; }
.lead-chip:hover:not(.selected) { border-color: var(--brand); color: var(--brand); }
.lead-back-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.lead-back-btn { background: none; border: none; color: var(--ink-3); font-size: 14px; cursor: pointer; padding: 0; }
.lead-back-btn:hover { color: var(--ink); }
.small-button[disabled] {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}

.features { list-style: none; padding: 0; margin: 8px 0 4px; display: flex; flex-direction: column; gap: 4px; }
.features li {
  font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.4;
}
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 12px; }

.uses { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.uses li {
  font-size: 12px; padding: 3px 9px; border-radius: 6px;
  background: var(--bg); color: var(--ink-3);
}

.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 4px; }
.small-button {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 0; border-radius: var(--radius-s);
  font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--line); color: var(--ink);
  transition: all .2s; text-align: center;
}
.small-button:hover { background: var(--bg); }
.small-button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.small-button.primary:hover { background: var(--ink-2); }

/* ── Process ─────────────────────────────────────────── */
.process { background: var(--white); }
.process > div:first-child { margin-bottom: 48px; }
.process h2 { font-size: clamp(26px,3vw,40px); font-weight: 700; letter-spacing: -.02em; }
.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.process-steps article {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 12px;
}
.process-steps i { width: 32px; height: 32px; color: var(--accent); }
.process-steps strong { font-size: 20px; font-weight: 700; }
.process-steps span { font-size: 15px; color: var(--ink-2); }

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 100px 80px; text-align: center;
  background: var(--ink);
}
.cta .kicker { color: rgba(255,255,255,.6); }
.cta h2 { font-size: clamp(28px,3.5vw,50px); font-weight: 700; letter-spacing: -.02em; color: #fff; max-width: 700px; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 80px;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.45);
}

.footer-admin-link {
  font-size: 11px; color: rgba(255,255,255,.2); text-decoration: none;
  letter-spacing: .05em;
}
.footer-admin-link:hover { color: rgba(255,255,255,.5); }

/* ── Sheet dialog ────────────────────────────────────── */
.sheet-dialog {
  border: none; border-radius: var(--radius); padding: 0;
  max-width: 90vw; max-height: 90vh; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.sheet-dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.sheet-dialog img { width: 100%; height: 100%; object-fit: contain; display: block; }
.close-modal {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.close-modal i { width: 16px; height: 16px; }

/* ── Register dialog ─────────────────────────────────── */
.register-dialog {
  border: none; border-radius: var(--radius); padding: 0;
  width: 440px; max-width: 96vw;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.register-dialog::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.register-card { padding: 40px; position: relative; }
.close-register {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
}
.close-register i { width: 14px; height: 14px; }
.register-header { text-align: center; margin-bottom: 24px; }
.register-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.register-icon i { width: 24px; height: 24px; color: var(--accent); }
.register-header h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.register-header p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.register-benefits {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  background: var(--bg); border-radius: var(--radius-s); padding: 16px;
  margin-bottom: 24px;
}
.register-benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.register-benefits i { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.register-form { display: flex; flex-direction: column; gap: 14px; }
.register-form[hidden] { display: none; }
.reg-field { display: flex; flex-direction: column; gap: 5px; }
.reg-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.reg-field input {
  padding: 12px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); font-family: inherit; font-size: 15px;
  outline: none; transition: border-color .2s;
  background: var(--white);
}
.reg-field input:focus { border-color: var(--accent); }
.reg-submit {
  margin-top: 6px; width: 100%; justify-content: center;
  padding: 14px; font-size: 16px;
}
.reg-error {
  background: #FFF0ED; border: 1px solid #FFDDD6; border-radius: var(--radius-s);
  padding: 10px 14px; font-size: 13px; color: var(--red);
}
.reg-success {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: #F0FFF6; border-radius: var(--radius-s);
  color: var(--green); font-size: 15px;
}
.reg-success[hidden], .reg-error[hidden] { display: none; }
.reg-success i { width: 22px; height: 22px; flex-shrink: 0; }
.reg-disclaimer { font-size: 11px; color: var(--ink-4); text-align: center; margin-top: 12px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .hero-copy { padding: 60px 32px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 32px; }
  .section { padding: 60px 32px; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .cta { padding: 64px 32px; }
  .footer { flex-direction: column; gap: 8px; padding: 24px 32px; }
  .header { padding: 0 24px; }
  .header .nav { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}
