/* Areia com ondulações finas; transparência apenas no fundo decorativo. */
.location-band {
  --sand-texture-opacity: .32;
  --muted: #244b49;
  --gold: #573e1b;
  position: relative;
  isolation: isolate;
  background: #fffefa;
}
.location-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../images/sand-texture-v8.webp') center / cover no-repeat;
  opacity: var(--sand-texture-opacity);
}
.location-band .location-section { padding-block: 105px; }
.location-band .eyebrow { color: var(--gold); }

/* Janela de saída: identificação verdadeira, contato em duas etapas. */
.exit-dialog {
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
  border: 1px solid #d3b78a;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 90px #13282247;
}
.exit-dialog::backdrop { background: #182621a8; backdrop-filter: blur(5px); }
.exit-header { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #f3ede3; }
.exit-avatar { position: relative; display: block; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border: 1px solid #b88d4d; border-radius: 50%; background: #e8ddcd; }
.exit-avatar img { position: absolute; width: 135%; height: 135%; max-width: none; left: 50%; top: 0; transform: translateX(-50%); object-fit: cover; }
.exit-header>div { flex: 1; min-width: 0; }
.exit-header strong { display: block; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; font-weight: 500; }
.exit-header>div>span { display: block; margin-top: 5px; color: #735427; font-size: .75rem; line-height: 1.4; }
.exit-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d7c29e; border-radius: 50%; background: #ffffff80; }
.exit-close .icon { width: 18px; height: 18px; }
.exit-chat { padding: 24px 22px 14px; background: #eee8df; }
.exit-bubble { position: relative; padding: 23px 24px; border: 1px solid #e7dfd2; border-radius: 16px; background: #fffefa; }
.exit-bubble::after { content: ''; position: absolute; bottom: -9px; left: 24px; width: 16px; height: 16px; transform: rotate(-45deg); background: #fffefa; border-left: 1px solid #e7dfd2; border-bottom: 1px solid #e7dfd2; }
.exit-dialog .exit-project { color: var(--gold); font-size: .65rem; letter-spacing: .13em; line-height: 1.4; margin-bottom: 12px; }
.exit-dialog h2 { font-size: 2.25rem; margin-bottom: 15px; }
.exit-bubble>p:last-child { font-size: .97rem; line-height: 1.65; }
.exit-dialog .exit-step-prompt { margin: 24px 6px 2px; font-family: var(--serif); font-size: 1.22rem; color: var(--ink); line-height: 1.4; }
.exit-form { padding: 18px 22px 4px; }
.exit-input-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: center; }
.exit-form input { display: block; width: 100%; min-width: 0; height: 48px; padding: 10px 13px; border: 1px solid #c7b799; border-radius: 4px; color: var(--ink); background: #fff; font-size: 16px; }
.exit-form label:not(.sr-only) { display: block; margin-bottom: 7px; font-size: .84rem; }
.exit-form .button { margin-top: 0; min-height: 48px; width: auto; padding-inline: 17px; }
.exit-form .exit-prepare { width: 100%; margin-top: 12px; }
.exit-form-meta { display: flex; justify-content: space-between; align-items: center; min-height: 28px; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.exit-form-meta>span { margin-left: auto; font-variant-numeric: tabular-nums; }
.exit-form .form-error { margin-block: 12px 0; font-size: .85rem; }
.exit-ready { padding: 22px 26px 8px; }
.exit-ready h3 { font-size: 1.85rem; margin-bottom: 12px; }
.exit-ready p { font-size: .9rem; }
.exit-ready .button { margin-top: 19px; }
.exit-bottom { padding: 10px 24px 20px; text-align: center; }
.exit-bottom p { font-size: .72rem; line-height: 1.5; }
.exit-bottom .text-button { display: inline-block; min-height: 36px; margin-top: 6px; font-size: .8rem; }
@media(max-width:700px) {
  .location-band .location-section { padding-block: 64px; }
  .exit-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; }
  .exit-header { padding: 16px; gap: 10px; }
  .exit-header strong { font-size: 1.3rem; }
  .exit-chat { padding: 17px 16px 12px; }
  .exit-bubble { padding: 19px; }
  .exit-dialog h2 { font-size: 2rem; }
  .exit-form { padding: 16px 16px 2px; }
  .exit-input-row { grid-template-columns: minmax(0,1fr); }
  .exit-input-row>.button { width: 100%; }
  .exit-bottom { padding: 8px 20px 16px; }
}
