:root {
  --bg: #0c0c0d;
  --bg-elevated: #17171a;
  --bg-card: #141416;
  --text: #f3f1ec;
  --text-muted: #a8a5a0;
  --text-faint: #6b6864;
  --accent: #d6a75b;
  --accent-soft: rgba(214, 167, 91, 0.12);
  --accent-line: rgba(214, 167, 91, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --ok: #7fb884;
  --warn: #d6a75b;
  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

::selection { background: var(--accent-soft); color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.nav-logo { font-family: 'Fraunces', serif; font-size: 20px; }
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-cta {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero p.sub {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 18px;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: #1a1408;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px var(--accent-line); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.hero-strip {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.hero-strip img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  filter: grayscale(15%);
}

/* ---------- SECTION ---------- */
.section { padding: 100px 24px; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--text-muted); margin-top: 16px; font-size: 17px; }
.section-alt { background: var(--bg-elevated); }

/* ---------- COMO FUNCIONA ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--bg-card);
  padding: 36px 28px;
  position: relative;
}
.step .num { font-family: 'IBM Plex Mono', monospace; color: var(--accent); font-size: 13px; }
.step .icon { margin: 24px 0 18px; color: var(--accent); }
.step h3 { font-size: 19px; font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- GALERIA ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  cursor: default;
}
.gallery-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 13.5px; font-weight: 600;
}

/* ---------- PLANOS ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card) 40%);
  transform: translateY(-10px);
}
.plan .tag {
  font-size: 12px; color: var(--accent);
  margin-bottom: 14px;
}
.plan h3 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 600; }
.plan .price { font-family: 'Fraunces', serif; font-size: 38px; margin: 18px 0 22px; }
.plan .price span { font-size: 15px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li {
  display: flex; gap: 10px; padding: 9px 0;
  font-size: 14.5px; color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.plan li:first-child { border-top: none; }
.plan li::before { content: '✓'; color: var(--accent); flex-shrink: 0; }
.plan-btn {
  width: 100%; padding: 13px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); font-weight: 600; cursor: pointer;
}
.plan.featured .plan-btn { background: var(--accent); color: #1a1408; border: none; }

/* ---------- FORM WIZARD ---------- */
.wizard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.wizard-progress {
  display: flex; gap: 6px; margin-bottom: 40px;
}
.wizard-progress div {
  height: 3px; flex: 1; border-radius: 2px;
  background: var(--border);
}
.wizard-progress div.done { background: var(--accent); }

.wizard-step-label {
  font-size: 12px; color: var(--accent); margin-bottom: 8px;
}
.wizard h3 { font-size: 24px; margin-bottom: 6px; }
.wizard .step-desc { color: var(--text-muted); font-size: 14.5px; margin-bottom: 32px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-line); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip.active { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- UPLOAD ---------- */
.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone p { color: var(--text-muted); margin-top: 12px; font-size: 14.5px; }
.dropzone .hint { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; }

.file-counter {
  display: flex; justify-content: space-between; align-items: center;
  margin: 20px 0 14px; font-size: 13.5px; color: var(--text-muted);
}
.file-counter b { color: var(--text); }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .remove {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.7); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; border: none;
}
.thumb .size {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); font-size: 10.5px; padding: 4px 6px;
  font-family: 'IBM Plex Mono', monospace;
}
.thumb .bar {
  position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent);
  transition: width 0.3s ease;
}

/* ---------- QUALITY CHECK ---------- */
.quality-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 30px;
  margin-top: 28px;
}
.quality-score {
  display: flex; align-items: center; gap: 22px; margin-bottom: 26px;
}
.quality-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--border) 0);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quality-ring span {
  width: 58px; height: 58px; border-radius: 50%; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 15px;
}
.quality-score .label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.quality-score .verdict { font-size: 17px; font-weight: 600; }
.quality-list { display: grid; gap: 8px; }
.quality-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13.5px;
}
.quality-item .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.quality-item .ok { color: var(--ok); }
.quality-item .warn { color: var(--warn); }

.wizard-actions { display: flex; justify-content: space-between; margin-top: 36px; gap: 14px; }

.error-text { color: #e08a7d; font-size: 13px; margin-top: 6px; }

/* ---------- FINAL SCREEN ---------- */
.final-screen { text-align: center; padding: 40px 0; }
.final-check {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px; color: var(--accent); font-size: 28px;
}
.protocol {
  display: inline-block; margin-top: 18px; padding: 12px 22px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: 'IBM Plex Mono', monospace; font-size: 15px; letter-spacing: 0.04em;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard { padding: 28px 20px; }
  .quality-score { flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
}
