/* Outil « zone de mon terrain / déclaration préalable ou permis » (static/zone.js), le même sur l'accueil, les guides et
   les pages par ville. Couleurs fixées ici, sans dépendre de la feuille de la page. */
.zone-tool { --zt-ink: #111; --zt-muted: #6b6b6b; --zt-line: #e4e4e4; --zt-blue: #0083C3; --zt-red: #FF5442;
  max-width: 760px; margin: 0 auto; text-align: left; font-size: 1rem; color: var(--zt-ink); }
.zone-tool *, .zone-tool *::before { box-sizing: border-box; }
.zt-search { position: relative; }
.zt-label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.zt-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; background: #fff; border: 1.5px solid var(--zt-ink);
  border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.zt-field:focus-within { border-color: var(--zt-blue); box-shadow: 0 0 0 4px rgba(0,131,195,.14); }
.zt-field svg { flex: none; color: var(--zt-muted); }
.zt-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; color: inherit; }
.zt-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% - 30px); margin: 0; padding: 6px; list-style: none; background: #fff;
  border: 1px solid var(--zt-line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.zt-list li { padding: 10px 12px; border-radius: 7px; cursor: pointer; font-size: .95rem; }
.zt-list li[aria-selected="true"], .zt-list li[data-i]:hover { background: #eef6fb; }
.zt-list .zt-empty { color: var(--zt-muted); cursor: default; }
.zt-hint { margin: 8px 0 0; font-size: .8rem; color: var(--zt-muted); }
.zt-result:empty { display: none; }
.zt-result { margin-top: 22px; display: grid; gap: 16px; }
.zt-card { background: #fff; border: 1px solid var(--zt-line); border-radius: 12px; padding: 22px; }
.zt-step { margin: 0 0 14px; font: 600 .72rem/1 inherit; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--zt-blue); }
.zt-zone { display: flex; align-items: center; gap: 16px; }
.zt-code { flex: none; min-width: 64px; padding: 12px 10px; text-align: center; font-weight: 700; font-size: 1.25rem; line-height: 1; color: #fff;
  background: var(--zt-blue); border-radius: 10px; }
.zt-zone b { display: block; font-size: 1.05rem; }
.zt-zone div span { display: block; color: var(--zt-muted); font-size: .92rem; line-height: 1.45; }
.zt-doc { margin: 14px 0 0; font-size: .92rem; color: var(--zt-muted); }
.zt-doc b { color: var(--zt-ink); font-weight: 600; }
.zt-doc a, .zt-card a:not(.zt-cta) { color: var(--zt-blue); }
.zt-sub { margin: 14px 0 6px; font-size: .92rem; color: var(--zt-muted); }
.zt-sups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zt-sups li { padding: 6px 10px; border-radius: 999px; background: #f4f4f4; font-size: .84rem; line-height: 1.3; }
.zt-sups b { font-weight: 600; }
.zt-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--zt-red); background: #fff5f3; font-size: .88rem; line-height: 1.5; }
.zt-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.zt-row label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; }
.zt-row label[hidden] { display: none; }
.zt-row select, .zt-row input { width: 100%; height: 46px; padding: 0 12px; font: inherit; font-size: .95rem; font-weight: 400; color: inherit;
  background: #fff; border: 1px solid #cfcfcf; border-radius: 8px; }
.zt-row select:focus, .zt-row input:focus { outline: 0; border-color: var(--zt-blue); box-shadow: 0 0 0 3px rgba(0,131,195,.14); }
.zt-unit { position: relative; display: block; }
.zt-unit input { padding-right: 40px; }
.zt-unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--zt-muted); font-weight: 400; }
.zt-go { margin-top: 16px; height: 48px; padding: 0 22px; border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--zt-ink); }
.zt-go:hover { background: var(--zt-blue); }
.zt-verdict:empty { display: none; }
.zt-verdict { margin-top: 18px; }
.zt-out { padding: 20px; border-radius: 10px; background: #f3f9fc; border: 1px solid #cfe5f1; }
.zt-out.pc { background: #fff6f4; border-color: #ffd4cc; }
.zt-out.none { background: #f6f6f6; border-color: var(--zt-line); }
.zt-big { margin: 0; font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--zt-blue); }
.zt-out.pc .zt-big { color: var(--zt-red); }
.zt-out.none .zt-big { color: var(--zt-ink); }
.zt-big small { margin-left: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--zt-muted); }
.zt-delay { margin: 8px 0 0; font-size: .95rem; }
.zt-why { margin: 10px 0 0; font-size: .92rem; line-height: 1.5; }
.zt-why span { color: var(--zt-muted); }
.zt-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 18px; border-radius: 8px; text-decoration: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--zt-blue);
  box-shadow: 0 6px 16px rgba(0,131,195,.24); }
.zt-cta:hover { background: #006fa6; }
.zt-small { margin: 14px 0 0; font-size: .76rem; line-height: 1.5; color: var(--zt-muted); }
.zt-wait { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--zt-muted); font-size: .92rem; }
.zt-spin { width: 16px; height: 16px; border: 2px solid #d6d6d6; border-top-color: var(--zt-blue); border-radius: 50%; animation: ztSpin .8s linear infinite; }
@keyframes ztSpin { to { transform: rotate(360deg); } }
.zt-error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #fff5f3; color: #b3261e; font-size: .92rem; }
@media (max-width: 640px) {
  .zt-row { grid-template-columns: 1fr; }
  .zt-card { padding: 18px; }
  .zt-go, .zt-cta { width: 100%; justify-content: center; text-align: center; }
  .zt-big small { display: block; margin: 6px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .zt-spin { animation: none; } }
