:root {
  --ml-yellow: #ffe600;
  --ml-yellow-deep: #fff159;
  --ml-blue: #3483fa;
  --ml-blue-dark: #2968c8;
  --ml-navy: #2d3277;
  --ml-ink: #333;
  --ml-muted: #737373;
  --ml-card: #fff;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(45, 50, 119, 0.12);
  --font: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ml-ink);
  background: #f5f5f5;
}

body.page-agendamento {
  background: var(--ml-yellow);
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.05);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 230, 0, 0.92) 0%, rgba(255, 230, 0, 0.78) 42%, rgba(255, 230, 0, 0.88) 100%),
    repeating-linear-gradient(-18deg, rgba(255, 241, 89, 0.35) 0 18px, transparent 18px 36px);
}

.ml-header {
  position: relative;
  z-index: 2;
  background: var(--ml-yellow);
  border-bottom: 1px solid rgba(45, 50, 119, 0.08);
}

.header-over { background: rgba(255, 230, 0, 0.92); }

.ml-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ml-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ml-navy);
}

.ml-logo strong {
  font-size: 18px;
  letter-spacing: -0.4px;
}

.ml-nav {
  font-size: 14px;
  color: var(--ml-navy);
  font-weight: 600;
}

.ml-nav .muted { font-weight: 500; color: #5a5a8a; }
.dot { margin: 0 6px; }

.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 28px auto 48px;
  padding: 0 16px;
}

.page-wide { max-width: 1080px; }

.card, .side-card {
  background: var(--ml-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card { padding: 28px 28px 32px; }

.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ml-muted);
}

.step { display: flex; align-items: center; gap: 8px; }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee;
  color: #666;
}

.step.active { color: var(--ml-navy); }
.step.active .step-num,
.step.done .step-num {
  background: var(--ml-blue);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 3px;
  background: #e6e6e6;
  border-radius: 99px;
}

.step-line.done { background: var(--ml-blue); }

h1, h2 { color: var(--ml-navy); line-height: 1.25; }
h1 { font-size: 28px; margin-bottom: 8px; }
h2 { font-size: 22px; margin-bottom: 14px; }

.lead {
  color: var(--ml-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
}

.field input,
.field select {
  height: 46px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
  color: var(--ml-ink);
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--ml-blue);
  border-color: var(--ml-blue);
}

.hint {
  font-weight: 500;
  color: var(--ml-muted);
}

.hint.ok { color: #00a650; }
.hint.err { color: #cc0000; }

.field input.is-filled {
  background: #f7fbff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--ml-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover { background: var(--ml-blue-dark); }

.form-error {
  color: #cc0000;
  font-size: 13px;
  margin: 4px 0 10px;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 8px 4px 4px;
}

.hero-copy h1 { font-size: 34px; }
.hero-copy p { color: #3a3a3a; max-width: 46ch; line-height: 1.5; }

.badge {
  display: inline-block;
  background: var(--ml-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 99px;
  padding: 6px 12px;
  margin-bottom: 10px;
}

.van-art svg { width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(45, 50, 119, 0.18)); }

.layout-2 {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.address-box {
  background: #fff8cc;
  border: 1px solid #f0d800;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.address-box strong { display: block; color: var(--ml-navy); margin-bottom: 4px; }
.address-box p { color: #444; line-height: 1.45; font-size: 14px; }

.label-like {
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
  margin: 6px 0 10px;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.slot {
  height: 42px;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.slot:hover { border-color: var(--ml-blue); color: var(--ml-blue); }
.slot.selected {
  background: var(--ml-blue);
  border-color: var(--ml-blue);
  color: #fff;
}

.side-card { overflow: hidden; }
.side-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.side-copy { padding: 18px 20px 22px; }
.side-copy h3 { color: var(--ml-navy); margin-bottom: 10px; }
.side-copy ul { padding-left: 18px; color: #444; line-height: 1.7; font-size: 14px; }

.ml-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--ml-muted);
  font-size: 12px;
  padding: 0 16px 28px;
}

.footer-over { color: #4a4a20; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(20, 24, 60, 0.45);
  display: none !important;
  place-items: center;
  padding: 16px;
}

.modal.is-open {
  display: grid !important;
}

[hidden] {
  display: none !important;
}

.modal-card {
  background: #fff;
  max-width: 420px;
  width: 100%;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.check {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #00a650;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.modal-card p { color: #555; margin: 8px 0 18px; line-height: 1.5; }

@media (max-width: 860px) {
  .hero-banner, .layout-2, .grid { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  h1, .hero-copy h1 { font-size: 26px; }
  .card { padding: 22px 18px 24px; }
}
