:root {
  --ink: #17231f;
  --muted: #66716c;
  --paper: #f7f9fc;
  --card: #ffffff;
  --line: #dfe5ed;
  --green: #1769d2;
  --green-dark: #0d4fae;
  --green-soft: #e8f1ff;
  --coral: #e34843;
  --coral-dark: #c9322e;
  --shadow: 0 18px 50px rgba(31, 44, 39, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.app-shell { min-height: 100dvh; padding-bottom: 96px; overflow: hidden; }

.topbar {
  height: 76px;
  padding: max(14px, env(safe-area-inset-top)) 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: auto;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 600 12px/1.05 "DM Sans"; letter-spacing: -.02em; text-transform: uppercase; }
.brand strong { color: var(--green); font-size: 13px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; border-radius: 12px; background: var(--green); transform: rotate(-3deg); box-shadow: 0 5px 14px rgba(19, 121, 91, .2); }
.brand-mark svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.profile-button { width: 42px; height: 42px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.75); }
.profile-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.online-dot { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: #34ad77; }

main { max-width: 1120px; margin: auto; }
.hero { padding: 47px 22px 34px; position: relative; }
.hero::before { content: ""; position: absolute; width: 240px; height: 240px; top: -20px; right: -105px; border: 42px solid rgba(19,121,91,.045); border-radius: 50%; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow span { width: 22px; height: 2px; background: var(--coral); }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.05em; }
h1 { margin: 0; font-size: clamp(40px, 11vw, 62px); line-height: .99; }
h1 em { color: var(--green); font-style: normal; }
.hero-copy { max-width: 550px; margin: 20px 0 21px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.trust-row { display: flex; gap: 17px; color: #4f5d57; font-size: 11px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust-row svg { width: 14px; fill: none; stroke: var(--green); stroke-width: 2.2; }

.map-card { margin: 0 14px; padding: 20px 16px 18px; border: 1px solid rgba(222,216,207,.8); border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.map-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 2px 2px 16px; }
.section-kicker { margin-bottom: 6px; }
.map-copy h2, .steps-section h2, .modal h2 { margin: 0; font-size: 23px; line-height: 1.15; }
.status-pill { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 100px; color: #80776e; background: #f2eee7; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #aaa198; }
.status-pill.located { color: var(--green-dark); background: var(--green-soft); }
.status-pill.located i { background: #28a77b; box-shadow: 0 0 0 4px rgba(40,167,123,.11); }
.status-pill.searching i { background: #e0a225; animation: pulse 1s infinite; }

.map-wrap { position: relative; height: 250px; overflow: hidden; border-radius: 18px; background: #e8ede9; }
#map { position: absolute; inset: 0; z-index: 1; }
.map-placeholder { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.35), transparent 35%), linear-gradient(135deg,#e9f0eb,#dfe9e4); transition: opacity .35s, visibility .35s; }
.map-placeholder::before, .map-placeholder::after { content: ""; position: absolute; width: 160%; height: 1px; background: rgba(19,121,91,.1); transform: rotate(-22deg); }
.map-placeholder::after { transform: rotate(31deg); }
.map-placeholder.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.radar-icon { width: 68px; height: 68px; margin-bottom: 12px; display: grid; place-items: center; border: 1px solid rgba(19,121,91,.16); border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 0 8px 20px rgba(19,121,91,.1); }
.radar-icon::before, .radar-icon::after { content: ""; position: absolute; width: 44px; height: 44px; border: 1px solid rgba(19,121,91,.2); border-radius: 50%; }
.radar-icon::after { width: 22px; height: 22px; }
.radar-icon span { z-index: 1; width: 9px; height: 9px; border: 3px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--coral); }
.map-placeholder strong { z-index: 1; font-size: 14px; }
.map-placeholder small { z-index: 1; max-width: 220px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.recenter-button { position: absolute; z-index: 500; right: 12px; bottom: 12px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; color: var(--green); background: white; box-shadow: 0 4px 14px rgba(25,46,38,.18); }
.recenter-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.is-hidden { display: none !important; }
.user-marker { width: 24px; height: 24px; border: 4px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 8px rgba(240,90,71,.22), 0 5px 15px rgba(52,48,44,.3); }

.location-panel { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 2px; }
.location-icon { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: var(--green-soft); }
.location-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.location-copy { min-width: 0; display: flex; flex-direction: column; }
.location-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.location-copy span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.primary-button, .emergency-button { width: 100%; min-height: 53px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 15px; color: white; background: var(--green); font-size: 14px; font-weight: 800; box-shadow: 0 9px 22px rgba(19,121,91,.2); transition: transform .15s, background .15s; }
.primary-button:active, .emergency-button:active { transform: scale(.985); }
.primary-button:hover { background: var(--green-dark); }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 11px 0 0; color: #918980; font-size: 9px; }
.privacy-note svg { width: 11px; fill: none; stroke: currentColor; stroke-width: 2; }

.steps-section { padding: 48px 22px 25px; }
.steps-section h2 { font-size: 29px; }
.steps-grid { margin-top: 22px; display: grid; gap: 11px; }
.steps-grid article { display: flex; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.55); }
.steps-grid article > span { flex: 0 0 auto; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--green); font: 800 13px "Manrope"; }
.steps-grid article:nth-child(2) > span { background: var(--coral); }
.steps-grid strong { font-size: 13px; }
.steps-grid p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }

.bottom-nav { position: fixed; z-index: 800; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); height: 69px; max-width: 440px; margin: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border: 1px solid rgba(226,221,212,.9); border-radius: 22px; background: rgba(255,253,250,.94); box-shadow: 0 10px 35px rgba(31,44,39,.16); backdrop-filter: blur(16px); }
.bottom-nav a, .bottom-nav button { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: #8a918d; background: none; font-size: 9px; font-weight: 700; text-decoration: none; }
.bottom-nav a svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bottom-nav a.active { color: var(--green); }
.bottom-nav button { position: relative; color: var(--coral-dark); }
.alert-orb { position: absolute; top: -27px; width: 55px; height: 55px; display: grid; place-items: center; border: 5px solid var(--paper); border-radius: 50%; color: white; background: var(--coral); box-shadow: 0 6px 16px rgba(240,90,71,.3); }
.alert-orb svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.bottom-nav button strong { margin-top: 30px; font-size: 9px; }

.modal-backdrop { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(12,25,20,.55); opacity: 0; visibility: hidden; transition: .25s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto; position: relative; padding: 27px 20px max(20px, env(safe-area-inset-bottom)); border-radius: 26px 26px 20px 20px; background: var(--card); transform: translateY(30px); transition: transform .25s; }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close { position: absolute; right: 16px; top: 14px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--muted); background: #f1eee8; font-size: 24px; line-height: 1; }
.modal-icon { width: 48px; height: 48px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--coral); }
.modal-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal-intro { margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.incident-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.incident-grid button { padding: 13px 8px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font-size: 12px; font-weight: 700; }
.incident-grid button span { font-size: 18px; }
.incident-grid button.selected { border-color: var(--coral); color: var(--coral-dark); background: #fff1ee; box-shadow: inset 0 0 0 1px var(--coral); }
.details-label { display: block; margin: 18px 0 7px; font-size: 12px; font-weight: 800; }
.details-label small { color: var(--muted); font-weight: 500; }
textarea { width: 100%; resize: none; padding: 13px; outline: none; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font-size: 12px; }
textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(19,121,91,.1); }
.emergency-button { background: var(--coral); box-shadow: 0 9px 22px rgba(240,90,71,.22); }
.emergency-button:disabled { cursor: not-allowed; color: #9c9995; background: #e6e2dc; box-shadow: none; }
.emergency-disclaimer { margin: 11px 4px 0; color: #817b75; font-size: 9px; line-height: 1.45; text-align: center; }
.toast { position: fixed; z-index: 1200; left: 20px; right: 20px; bottom: 95px; max-width: 420px; margin: auto; padding: 13px 16px; border-radius: 13px; color: white; background: #162d25; box-shadow: 0 8px 25px rgba(0,0,0,.2); font-size: 12px; font-weight: 600; text-align: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
@keyframes pulse { 50% { opacity: .35; } }

@media (min-width: 760px) {
  .app-shell { padding-bottom: 30px; }
  .topbar { height: 90px; }
  main { display: grid; grid-template-columns: .92fr 1.08fr; column-gap: 48px; padding: 45px 25px 65px; align-items: center; }
  .hero { padding: 30px 0; }
  .hero-copy { font-size: 17px; }
  .map-card { margin: 0; padding: 22px; }
  .map-wrap { height: 330px; }
  .steps-section { grid-column: 1 / -1; padding: 85px 0 0; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-nav { display: none; }
  .modal-backdrop { align-items: center; }
  .modal { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Página inicial */
.landing-page { background: #fff; }
.landing-header { height: 78px; max-width: 1160px; margin: auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
.header-cta { padding: 11px 16px; border-radius: 11px; color: white; background: var(--coral); font-size: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px rgba(227,72,67,.2); }
.landing-main { max-width: none; }
.landing-hero { min-height: 590px; max-width: 1160px; margin: auto; padding: 58px 22px 70px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 55px; }
.landing-hero h1 { font-size: clamp(48px,6vw,76px); line-height: .98; }
.landing-lead { max-width: 610px; margin: 22px 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.landing-actions { display: flex; align-items: center; gap: 13px; }
.landing-primary { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; color: white; background: var(--coral); font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(227,72,67,.22); }
.landing-primary svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.landing-secondary { color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.official-warning { max-width: 585px; margin: 20px 0 0; padding: 12px 14px; border-left: 3px solid var(--green); border-radius: 4px 11px 11px 4px; color: #5d6874; background: #f0f5fc; font-size: 11px; line-height: 1.5; }
.official-warning a { color: var(--green-dark); font-weight: 800; }
.hero-visual { min-height: 430px; display: grid; place-items: center; }
.map-art { width: min(100%,480px); aspect-ratio: 1.05; position: relative; overflow: hidden; border: 10px solid #fff; border-radius: 35px; background-color: #edf3f8; background-image: linear-gradient(31deg,transparent 47%,rgba(23,105,210,.11) 48%,rgba(23,105,210,.11) 51%,transparent 52%),linear-gradient(120deg,transparent 43%,rgba(23,105,210,.08) 44%,rgba(23,105,210,.08) 47%,transparent 48%),linear-gradient(#dbe6f0 1px,transparent 1px),linear-gradient(90deg,#dbe6f0 1px,transparent 1px); background-size: auto,auto,64px 64px,64px 64px; box-shadow: 0 25px 65px rgba(30,71,116,.16); transform: rotate(1.5deg); }
.map-art::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at center,transparent 15%,rgba(255,255,255,.28)); }
.route { position:absolute; z-index:1; height:6px; border-radius:99px; background:var(--green); transform-origin:left; opacity:.75; }
.route-one { width:190px; left:23%; top:50%; transform:rotate(-22deg); }.route-two { width:145px; left:50%; top:36%; transform:rotate(68deg); }
.map-pin { position:absolute; z-index:3; width:24px; height:24px; border:5px solid white; border-radius:50% 50% 50% 0; background:var(--coral); box-shadow:0 5px 15px rgba(44,65,86,.25); transform:rotate(-45deg); }
.pin-main { width:34px; height:34px; left:46%; top:43%; }.pin-helper { background:var(--green); }.pin-helper.one { left:25%; top:58%; }.pin-helper.two { right:20%; top:32%; }
.help-card { position:absolute; z-index:4; left:24px; right:24px; bottom:22px; padding:15px 17px; display:flex; flex-direction:column; border:1px solid rgba(220,228,237,.8); border-radius:17px; background:rgba(255,255,255,.94); box-shadow:0 10px 28px rgba(30,71,116,.14); transform:rotate(-1.5deg); }
.help-card b { font-size:13px; }.help-card small { margin:2px 0 9px; color:var(--muted); font-size:10px; }.help-card>span { display:flex;align-items:center;gap:6px;color:var(--green);font-size:10px;font-weight:800; }.help-card>span i { width:7px;height:7px;border-radius:50%;background:#2ca775;box-shadow:0 0 0 4px rgba(44,167,117,.12); }
.trust-band { max-width:1116px; margin:0 auto 80px; padding:22px 25px; display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(30,71,116,.07); }
.trust-band div { display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid var(--line); }.trust-band div:last-child{border:0}.trust-band strong{font-size:13px}.trust-band span{margin-top:3px;color:var(--muted);font-size:10px}
.how-section { padding:85px 22px; background:#f6f9fd; }.section-heading{max-width:650px;margin:0 auto 40px;text-align:center}.section-heading h2,.role-section h2,.final-cta h2{margin:0;font-size:clamp(30px,4vw,45px)}.section-heading>p:last-child{color:var(--muted)}
.how-grid { max-width:1116px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px }.how-grid article{position:relative;padding:26px;border:1px solid #e1e8f0;border-radius:20px;background:white;box-shadow:0 8px 25px rgba(30,71,116,.05)}.step-number{position:absolute;right:20px;top:17px;color:#dce5ef;font:800 28px "Manrope"}.step-icon{width:47px;height:47px;margin-bottom:18px;display:grid;place-items:center;border-radius:14px}.step-icon.blue{color:var(--green);background:var(--green-soft)}.step-icon.red{color:var(--coral);background:#fdeceb}.step-icon svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.8}.how-grid h3{margin:0 0 8px;font:800 17px "Manrope"}.how-grid p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.role-section { max-width:1116px;margin:100px auto;padding:42px;display:grid;grid-template-columns:1fr 1fr;gap:25px 55px;align-items:center;border-radius:25px;color:white;background:linear-gradient(135deg,#0f58b9,#1769d2) }.role-section .section-kicker{color:#bcd8ff}.role-section>p{color:rgba(255,255,255,.78);line-height:1.65}.service-cards{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-cards a{padding:14px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.2);border-radius:15px;color:white;background:rgba(255,255,255,.1);text-decoration:none}.service-cards b{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:var(--coral)}.service-cards span{display:flex;flex-direction:column}.service-cards small{color:rgba(255,255,255,.7)}
.final-cta{padding:80px 22px;text-align:center}.final-cta>p:not(.section-kicker){color:var(--muted)}.final-cta .landing-primary{margin-top:14px}.landing-footer{max-width:1116px;margin:auto;padding:25px 0 35px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.landing-footer .brand{margin:0}.landing-footer p{color:var(--muted);font-size:10px}

/* Confirmação automática da localização */
.floating-topbar .back-button { flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:var(--ink);background:#edf3f9;text-decoration:none }.back-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:2}.floating-topbar .brand{margin-right:auto}.location-heading{position:absolute;z-index:500;top:calc(max(10px,env(safe-area-inset-top)) + 81px);left:14px;right:14px;max-width:380px;padding:15px 17px;border:1px solid rgba(255,255,255,.8);border-radius:17px;background:rgba(255,255,255,.9);box-shadow:0 9px 30px rgba(30,71,116,.11);backdrop-filter:blur(12px)}.location-heading h1{font-size:25px}.location-heading p:last-child{margin:7px 0 0;color:var(--muted);font-size:10px}.location-retry{min-height:43px;margin:0 0 8px;color:var(--green);border:1px solid #cedcf0;background:#eef5ff;box-shadow:none}.location-retry:hover{color:white}.full-alert-button{width:100%}.emergency-main-button:disabled{cursor:not-allowed;color:#9299a2;background:#dfe3e8;box-shadow:none}.map-stage .action-sheet{max-width:540px}.map-stage .leaflet-bottom{bottom:255px}

@media(max-width:759px){.landing-header{height:70px;padding:12px 16px}.header-cta{padding:9px 11px;font-size:10px}.landing-hero{min-height:auto;padding:48px 20px 55px;grid-template-columns:1fr;gap:38px}.landing-hero h1{font-size:44px}.landing-lead{font-size:15px}.landing-actions{align-items:stretch;flex-direction:column}.landing-primary{width:100%}.landing-secondary{text-align:center}.hero-visual{min-height:auto}.map-art{border-width:7px;border-radius:25px}.trust-band{margin:0 14px 55px;padding:0;grid-template-columns:1fr}.trust-band div{padding:15px;border-right:0;border-bottom:1px solid var(--line)}.how-section{padding:60px 17px}.how-grid{grid-template-columns:1fr}.role-section{margin:60px 14px;padding:27px 20px;grid-template-columns:1fr;gap:14px}.service-cards{grid-template-columns:1fr}.landing-footer{margin:0 18px;align-items:flex-start;gap:20px;flex-direction:column}.landing-footer p{margin:0}.floating-topbar{gap:8px}.floating-topbar .brand span:last-child{display:none}.floating-topbar .status-pill{padding:7px 8px}.location-heading{top:87px}.map-stage .recenter-button{bottom:282px}.action-sheet{bottom:max(8px,env(safe-area-inset-bottom))}}

/* Experiência centrada no mapa */
.map-first { padding-bottom: 0; }
.map-stage { position: relative; min-height: 100dvh; overflow: hidden; background: #dfe9e4; }
.map-stage #map { position: absolute; inset: 0; z-index: 1; }
.map-stage .leaflet-top.leaflet-right { top: 73px; }
.map-stage .leaflet-bottom { bottom: 205px; }
.map-stage .map-placeholder { z-index: 2; padding-bottom: 110px; }
.floating-topbar { position: absolute; z-index: 510; top: max(10px, env(safe-area-inset-top)); left: 12px; right: 12px; width: auto; height: 62px; padding: 10px 13px; border: 1px solid rgba(226,221,212,.82); border-radius: 19px; background: rgba(255,253,250,.9); box-shadow: 0 8px 28px rgba(25,42,36,.13); backdrop-filter: blur(14px); }
.floating-topbar .brand-mark { width: 35px; height: 35px; }
.hero-overlay { position: absolute; z-index: 500; top: calc(max(10px, env(safe-area-inset-top)) + 78px); left: 14px; right: 14px; max-width: 430px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: rgba(255,253,250,.89); box-shadow: 0 12px 35px rgba(25,42,36,.13); backdrop-filter: blur(14px); }
.hero-overlay h1 { font-size: clamp(30px, 8.7vw, 44px); }
.hero-overlay p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.map-stage .recenter-button { right: 16px; bottom: 242px; }
.action-sheet { position: absolute; z-index: 510; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-width: 680px; margin: auto; padding: 14px; border: 1px solid rgba(226,221,212,.9); border-radius: 22px; background: rgba(255,253,250,.94); box-shadow: 0 12px 38px rgba(25,42,36,.18); backdrop-filter: blur(16px); }
.action-sheet .location-panel { margin: 0 2px 12px; }
.action-buttons { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9px; }
.action-buttons .primary-button, .continue-button { margin-top: 0; }
.emergency-main-button { min-height: 53px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 15px; color: white; background: var(--coral); font-size: 14px; font-weight: 800; box-shadow: 0 9px 22px rgba(240,90,71,.22); }
.emergency-main-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.action-sheet .privacy-note { margin-top: 9px; }
.safety-message { margin: 17px 0 14px; padding: 15px; border-left: 4px solid var(--coral); border-radius: 5px 14px 14px 5px; color: #4d5652; background: #fff1ee; font-size: 12px; line-height: 1.55; }
.safety-message p { margin: 0; }
.safety-message p + p { margin-top: 9px; color: var(--coral-dark); }
.official-services { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.official-services a { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; text-decoration: none; }
.official-services a > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--coral); font-size: 12px; font-weight: 800; }
.official-services a:last-child > span { background: var(--green); }
.official-services div { display: flex; flex-direction: column; }
.official-services strong { font-size: 11px; }
.official-services small { color: var(--muted); font-size: 8px; }
.location-required { margin: 10px 0 0; padding: 9px; border-radius: 9px; color: #8d4e22; background: #fff2da; font-size: 10px; text-align: center; }
.blue-icon{background:var(--green)}.duplicate-actions{display:grid;gap:9px;margin-top:18px}.duplicate-actions .primary-button,.duplicate-actions .emergency-button{margin:0}
#sendAlert svg{display:none}

@media (min-width: 760px) {
  .map-stage { min-height: 100dvh; }
  .floating-topbar { left: 24px; right: 24px; top: 20px; }
  .hero-overlay { top: 108px; left: 24px; padding: 23px; }
  .hero-overlay p:last-child { font-size: 13px; }
  .action-sheet { bottom: 22px; padding: 18px; }
  .map-stage .recenter-button { bottom: 150px; right: max(24px, calc((100vw - 680px) / 2 - 58px)); }
  .map-stage .leaflet-bottom { bottom: 126px; }
}

/* Ajustes finais da tela automática de localização */
.map-stage .leaflet-bottom { bottom: 255px; }
.map-stage .action-sheet { max-width: 540px; }
@media (max-width: 759px) {
  .map-stage .recenter-button { bottom: 282px; }
}
@media (min-width: 760px) {
  .map-stage .leaflet-bottom { bottom: 215px; }
  .map-stage .recenter-button { bottom: 240px; }
}
