:root {
  --ink: #211d18;
  --muted: #756d62;
  --paper: #fff9ef;
  --linen: #f2e7d7;
  --gold: #b87822;
  --gold-dark: #84510f;
  --olive: #596344;
  --wine: #763f3d;
  --aqua: #2f6f73;
  --line: rgba(33, 29, 24, 0.16);
  --shadow: 0 22px 80px rgba(33, 29, 24, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.particles {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.42;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.routes,
.closing,
.adminbar,
.admin-tools,
.stats,
.lead-list {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__logo {
  height: 72px;
  width: auto;
  display: block;
}

/* Logo branca no fundo claro (admin) → inverte para ficar escura */
.brand--dark .brand__logo {
  filter: invert(1) grayscale(1) brightness(0);
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 400;
}

.brand small {
  margin-top: 5px;
  font-size: 0.72rem;
}

.brand--dark {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
}

h1 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 820px;
  font-size: clamp(3.45rem, 8vw, 7.5rem);
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
}

h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
}

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  cursor: pointer;
  font-weight: 400;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fffaf4;
}

.button--ghost {
  background: rgba(255, 250, 244, 0.08);
  border-color: currentColor;
  color: currentColor;
}

/* ── Page Hero (layout principal: copy + formulário) ── */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  height: 100vh;
  overflow: hidden;
}

.page-hero__copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #211d18;
  color: #fffaf4;
}

.page-hero__gallery,
.page-hero__photo,
.page-hero__shade {
  position: absolute;
  inset: 0;
}

.page-hero__gallery {
  z-index: -2;
  background: #211d18;
}

/* Todos os slots de foto ocultos por padrão */
.page-hero__photo {
  display: none;
  animation: none;
}

/* Apenas a foto da Adriana é exibida — desktop e mobile */
.page-hero__photo--rome {
  display: block;
  background-image: url("foto-capa.jpeg");
  background-size: 160% auto;
  background-position: left top;
  opacity: 1;
  animation: none;
  transform: none;
}

@keyframes heroPhoto {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.05);
  }

  5%,
  18% {
    opacity: 1;
  }

  22% {
    opacity: 0;
    transform: scale(1);
  }
}

.page-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 14, 12, 0.72), rgba(38, 25, 16, 0.48) 55%, rgba(16, 14, 12, 0.65)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45));
}

.page-hero__copy-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  padding: 56px 56px 64px;
  gap: 20px;
}

/* ── Brand lockup (logo + nome) ── */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: center;
}

.hero-brand .brand__logo {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.hero-brand__name {
  font-family: "Italiana", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 250, 244, 0.85);
  line-height: 1.2;
}

.page-hero__copy h1 {
  color: #fffaf4;
  max-width: 520px;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

/* Ocultar parágrafo e bullets em qualquer viewport */
.page-hero__text,
.trust-list {
  display: none;
}

.page-hero__form {
  background: var(--paper);
  display: flex;
  align-items: center;
  padding: 56px 48px;
  overflow-y: auto;
}

.page-hero__form .lead-form {
  width: 100%;
}

.page-hero__copy h1 {
  font-size: clamp(2.6rem, 4.5vw, 5rem);
}

.closing p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 82px;
}

.route {
  min-height: 265px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(255, 249, 239, 0.96)),
    radial-gradient(circle at top right, rgba(47, 111, 115, 0.18), transparent 38%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.route span {
  color: var(--aqua);
  font-weight: 400;
}

.route p {
  color: var(--muted);
  line-height: 1.6;
}

.trust-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.trust-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-weight: 400;
}

.trust-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
  position: absolute;
  left: 0;
  top: 0.48em;
}

.lead-form {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(74, 52, 32, 0.12);
}

.progress {
  height: 6px;
  background: var(--linen);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
}

.progress__bar {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  transition: width 220ms ease;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.step {
  display: none;
}

.step.is-active {
  display: grid;
  gap: 16px;
}

legend {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1.1;
}

.choice {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fffaf1;
}

.choice:has(input:checked) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.choice strong,
.choice small {
  display: block;
}

.choice small {
  margin-top: 4px;
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 120, 34, 0.18);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.form-actions .button {
  min-width: 136px;
}

#submitBtn {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--olive);
  font-weight: 400;
  line-height: 1.45;
}

.closing {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 52px;
  align-items: center;
  padding: 82px 0 100px;
}

.closing__image {
  min-height: 520px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(33, 29, 24, 0.04), rgba(184, 120, 34, 0.28)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

/* Quando o admin está visível, libera o scroll do body */
body.admin-open {
  overflow: auto;
  height: auto;
}

.admin {
  min-height: 100vh;
  background: var(--paper);
}

.admin__login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.74)),
    url("https://images.unsplash.com/photo-1523906834658-6e24ef2386f9?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.login-box {
  width: min(460px, 100%);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.login-box h1 {
  color: var(--ink);
  font-size: 3.2rem;
  margin-top: 28px;
}

.login-box p {
  color: var(--muted);
}

.login-box form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.admin__dashboard {
  padding: 24px 0 60px;
}

.adminbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0 28px;
}

.adminbar nav {
  display: flex;
  gap: 10px;
}

.adminbar .button--ghost,
.admin-tools .button--ghost {
  color: var(--ink);
  background: transparent;
}

.admin-tools {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
}

.stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 18px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.stats span {
  color: var(--muted);
  margin-top: 8px;
  font-weight: 400;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  transition: box-shadow 200ms;
}

.lead-item:hover {
  box-shadow: 0 4px 20px rgba(33, 29, 24, 0.08);
}

.lead-item__body {
  display: grid;
  gap: 12px;
}

.lead-item__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.lead-item__name {
  font-size: 1.5rem;
  margin: 0;
}

/* Badge de status */
.lead-badge {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--linen);
  color: var(--muted);
  white-space: nowrap;
}

.lead-badge--novo { background: #fef9ec; color: #b8782a; border-color: #f3d58a; }
.lead-badge--em-atendimento { background: #eef6ff; color: #2563eb; border-color: #bfdbfe; }
.lead-badge--proposta-enviada { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.lead-badge--fechado { background: #f0fdf4; color: #166534; border-color: #86efac; }
.lead-badge--perdido { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* Seções de info */
.lead-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.lead-section {
  display: grid;
  gap: 2px;
}

.lead-section__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-section__value {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 400;
}

.lead-section__value--block {
  background: var(--linen);
  border-radius: 6px;
  padding: 8px 12px;
  font-style: italic;
  line-height: 1.55;
}

.lead-section__value a {
  color: var(--gold);
  text-decoration: none;
}

.lead-section__value a:hover {
  text-decoration: underline;
}

/* Rodapé do lead */
.lead-item__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.lead-meta-date {
  font-size: 0.78rem;
  color: var(--muted);
  flex: 1;
}

/* Botão WhatsApp */
.button-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 150ms, transform 150ms;
  white-space: nowrap;
}

.button-wa:hover {
  background: #128c7e;
  transform: translateY(-1px);
}

.lead-status {
  display: grid;
  gap: 8px;
  min-width: 160px;
  align-content: start;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .button {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .closing {
    grid-template-columns: 1fr;
  }

  .routes,
  .stats {
    grid-template-columns: 1fr;
  }

  .admin-tools {
    grid-template-columns: 1fr;
  }

  /* Mobile: página pode rolar apenas o formulário */
  html,
  body {
    height: auto;
    overflow: auto;
  }

  /* Oculta seções de conteúdo no mobile — só o formulário importa */
  .routes,
  .closing {
    display: none;
  }

  .page-hero {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  /* Cabeçalho compacto no mobile */
  .page-hero__copy {
    min-height: 280px;
  }

  /* Foto da Adriana já configurada globalmente — sem override necessário no mobile */

  .page-hero__copy-inner {
    padding: 24px 20px 24px;
    gap: 12px;
  }

  .hero-brand .brand__logo {
    height: 36px;
  }

  .hero-brand__name {
    font-size: 0.62rem;
  }

  .page-hero__copy h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.1;
  }

  .page-hero__form {
    padding: 20px 20px 32px;
    align-items: stretch;
    overflow-y: visible;
  }
}

@media (max-width: 640px) {
  .routes,
  .closing,
  .adminbar,
  .admin-tools,
  .stats,
  .lead-list {
    width: min(100% - 28px, 1180px);
  }

  .adminbar,
  .lead-item {
    align-items: stretch;
    flex-direction: column;
  }

  h2 {
    font-size: 2.45rem;
  }

  /* form-actions fica em linha — Voltar discreto à esquerda, Continuar à direita */
  .form-actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .adminbar,
  .adminbar nav {
    display: grid;
  }

  /* Botão Voltar mais discreto no mobile */
  #prevBtn {
    min-width: auto;
    padding: 10px 12px;
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.55;
    background: transparent;
    border-color: transparent;
    flex-shrink: 0;
  }

  #nextBtn,
  #submitBtn {
    flex: 1;
  }

  .field-grid,
  .lead-item {
    grid-template-columns: 1fr;
  }

  .lead-form,
  .login-box {
    padding: 20px;
  }

  .closing__image {
    min-height: 360px;
  }
}

/* ── Modal de sucesso ── */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33, 29, 24, 0.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.success-overlay.is-active {
  display: flex;
}

.success-modal {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 80px rgba(33, 29, 24, 0.28);
}

.success-modal__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fffdf8;
  font-size: 1.4rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.success-modal h2 {
  font-size: 2.4rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.success-modal p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ── Acessibilidade ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Stepper de 4 etapas ── */
.form-stepper {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 28px;
}

.form-stepper__track {
  position: absolute;
  top: 9px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.form-stepper__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.form-stepper__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fffdf8;
  border: 2px solid var(--line);
  transition: background 200ms, border-color 200ms;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-stepper__step.is-active .form-stepper__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.form-stepper__step.is-done .form-stepper__dot {
  background: var(--wine);
  border-color: var(--wine);
}

.form-stepper__step.is-done .form-stepper__dot::after {
  content: "✓";
  font-size: 0.65rem;
  color: #fff;
  font-weight: 400;
}

.form-stepper__step span {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.form-stepper__step.is-active span,
.form-stepper__step.is-done span {
  color: var(--ink);
}

/* ── Títulos e textos do step ── */
.step-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 4px;
}

.step-hint {
  color: var(--gold);
  font-weight: 400;
  font-size: 0.88rem;
  margin: 0 0 16px;
}

.step-note {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 400;
  margin: 8px 0 0;
}

/* ── Campos do formulário ── */
.form-field {
  display: grid;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--gold);
  display: block;
}

.form-optional {
  font-weight: 400;
  color: var(--muted);
}

.form-input,
.form-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  color: var(--ink);
  padding: 11px 14px;
  outline: none;
  font-size: 0.95rem;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 120, 34, 0.15);
}

.form-textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf1;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 120, 34, 0.15);
}

.form-textarea::placeholder {
  color: var(--muted);
  font-style: italic;
}

/* ── Date picker ── */
.date-wrap {
  position: relative;
}

.date-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--gold);
  pointer-events: none;
}

.form-input--date {
  padding-left: 36px;
}

/* ── Range slider ── */
.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--pct, 23%), var(--linen) var(--pct, 23%));
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(184, 120, 34, 0.4);
}

.form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(184, 120, 34, 0.4);
}

.range-output {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--gold);
  margin-top: 6px;
}

.budget-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.budget-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold);
}

.budget-info {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--linen);
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  display: grid;
  gap: 2px;
}

.budget-info p {
  margin: 0;
  color: var(--ink);
}

.budget-excluded {
  color: var(--muted) !important;
}

/* ── Counter (−/+) ── */
.counter-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf1;
}

.counter-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}

.counter-btn:hover {
  background: var(--linen);
}

.counter-input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fffaf1;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 400;
  -moz-appearance: textfield;
}

.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.counter-input:focus {
  border-color: var(--line);
  box-shadow: none;
}

/* ── Checkboxes ── */
.check-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 400;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
  border: none;
  padding: 0;
}

.check-label--lg {
  font-size: 0.95rem;
  font-weight: 400;
}

.check-label--newsletter {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 4px;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Radio buttons ── */
.radio-group {
  display: grid;
  gap: 10px;
}

.radio-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  background: #fffaf1;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
}

.radio-label:has(input:checked) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  background: #fffdf8;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
  border: none;
  padding: 0;
}

/* ── Seletor de destinos ── */
.dest-selector {
  display: grid;
  gap: 10px;
}

.dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

.dest-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--linen);
  border: 1px solid rgba(184, 120, 34, 0.3);
  border-radius: 999px;
  padding: 5px 10px 5px 12px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink);
}

.dest-tag__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1;
}

.dest-tag__remove:hover {
  background: rgba(33, 29, 24, 0.1);
  color: var(--ink);
}

.dest-add-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.dest-add-row .form-select {
  flex: 1;
  min-width: 0;
}

.button--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  white-space: nowrap;
}

.button--outline:hover {
  background: var(--gold);
  color: #fff;
}

/* ── Exemplos de estilo de viagem ── */
.style-examples {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--linen);
  font-size: 0.88rem;
}

.style-examples p {
  margin: 0 0 8px;
  font-weight: 400;
  color: var(--ink);
}

.style-examples ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.hl {
  color: var(--gold);
  font-weight: 400;
}

/* ── Admin tabs ── */
.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
}

.admin-tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

/* ── Lista de destinos no admin ── */
.dest-add-admin {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.dest-add-admin input {
  flex: 1;
}

.dest-admin-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.dest-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 12px 16px;
  font-size: 0.9rem;
}

.dest-admin-item__name {
  flex: 1;
  font-weight: 400;
  color: var(--ink);
}

.dest-admin-item__name.is-inactive {
  color: var(--muted);
  text-decoration: line-through;
}

.dest-admin-item__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* toggle switch */
.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 200ms;
}

.toggle-switch input:checked + .toggle-switch__track {
  background: var(--gold);
}

.toggle-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 200ms;
}

.toggle-switch input:checked + .toggle-switch__track::after {
  transform: translateX(18px);
}

.dest-admin-item__del {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
  padding: 4px 6px;
  border-radius: 4px;
}

.dest-admin-item__del:hover {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
}

/* ── Painel Cabeçalho (header settings) ── */
.hs-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px 0;
}

.hs-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.hs-label strong {
  display: inline;
  font-weight: 400;
}

.hs-hint-inline {
  font-weight: 400;
  color: var(--ink-60);
  font-size: 0.77rem;
}

.hs-hint {
  font-size: 0.75rem;
  color: var(--ink-60);
}

.hs-photo-row {
  display: flex;
  gap: 8px;
}

.hs-input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s;
}

.hs-input:focus {
  outline: none;
  border-color: var(--gold);
}

.hs-preview-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 160px;
  background: #16100a;
}

.hs-preview-img {
  position: absolute;
  inset: 0;
  background-size: 160% auto;
  background-position: left top;
  background-repeat: no-repeat;
  transition: background-image 0.3s, background-position 0.3s, background-size 0.3s;
}

.hs-preview-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.hs-range {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
  height: 4px;
}

.hs-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ink-60);
  margin-top: -4px;
}

.hs-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-status {
  font-size: 0.82rem;
  min-height: 1.2em;
  color: var(--gold);
  font-weight: 400;
}
