:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #607069;
  --line: #d8e0dc;
  --surface: #ffffff;
  --paper: #f4f6f3;
  --brand: #2a9d8f;
  --brand-2: #097c6e;
  --alert: #9a4f08;
  --danger: #8b1e1e;
  font-family: "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 70px;
  padding: 10px 24px;
  background: #000;
  border-bottom: 0;
}

.brand-link img {
  display: block;
  width: 130px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 18px;
  font-weight: 600;
}

.site-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-nav a {
  color: #eef4f0;
}

.site-nav a:hover {
  color: #b9d9c8;
}

.header-cta,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 0;
  font-family: "DM Sans", "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.header-cta,
.primary-link {
  background: #147de8;
  color: #fff;
}

.header-cta {
  white-space: nowrap;
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #ffffff;
}

.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 56px; }

.intro {
  margin: 0 calc(50% - 50vw) 28px;
  padding: 74px max(16px, calc((100vw - 1180px) / 2)) 58px;
  background:
    linear-gradient(90deg, rgba(9, 22, 15, 0.94), rgba(13, 38, 27, 0.82)),
    url("https://droneconsult.com.br/wp-content/uploads/2025/05/servicos-drone-regularizacao.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.eyebrow {
  margin: 0 0 8px;
  color: #88c79d;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 10px; font-family: "DM Sans", "Open Sans", sans-serif; font-size: clamp(32px, 4.4vw, 50px); font-weight: 600; line-height: 1.04; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: 18px; }
.intro-copy { max-width: 660px; color: #dce7e0; font-size: 17px; line-height: 1.45; }

.hero-actions,
.service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.aerial-checker {
  margin-bottom: 20px;
}

.aerial-checker .panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.checker-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1.15fr);
  gap: 14px;
  align-items: stretch;
}

.aerial-result {
  display: grid;
  align-content: center;
  min-height: 68px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}

.aerial-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.aerial-result.allowed {
  border-color: #82b89c;
  background: #edf8f1;
  color: #24573a;
}

.aerial-result.blocked {
  border-color: #d98a8a;
  background: #fff0f0;
  color: var(--danger);
}

.aerial-result.unknown {
  border-color: #e4bd73;
  background: #fff8e8;
  color: var(--alert);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(31, 47, 40, 0.06);
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}

.service-cta .eyebrow {
  color: #a6d9b6;
}

.service-cta h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.service-cta p {
  margin: 0;
  max-width: 760px;
  color: #dbe8e1;
  line-height: 1.5;
}

.service-cta .primary-link {
  background: #fff;
  color: var(--brand);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.inline-heading { margin-top: 24px; }

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input, select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

small { color: var(--muted); font-weight: 500; }

.product-row {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.product-main {
  display: grid;
  grid-template-columns: 130px minmax(220px, 1fr) 100px 130px;
  gap: 10px;
}

.agrofit-result {
  display: inline-flex;
  padding: 8px 10px;
  border-left: 3px solid var(--brand-2);
  background: #f1f7f4;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.product-name-wrap {
  position: relative;
  display: block;
}

.suggestions {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(31, 47, 40, 0.16);
}

.suggestion {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: auto;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 650;
}

.suggestion:last-child { border-bottom: 0; }
.suggestion:hover { background: #f4f8f5; }
.suggestion small { font-size: 12px; }

.row-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 750;
  cursor: pointer;
}
.primary-button { background: var(--brand); color: #fff; }
.secondary-button { background: #e2ece6; color: var(--brand); }
.ghost-button { background: transparent; color: var(--brand); border: 1px solid var(--line); }
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.privacy-banner {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(31, 47, 40, 0.18);
}

.privacy-banner strong {
  display: block;
  margin-bottom: 3px;
}

.privacy-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.privacy-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.site-footer {
  padding: 0 16px 42px;
  background: #fff;
  color: #000;
}

.footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: start;
  max-width: 1588px;
  margin: 0 auto;
  padding: 48px 22%;
  background: #f7f7f7;
}

.site-footer img {
  display: block;
  width: 260px;
  height: auto;
  margin-bottom: 14px;
}

.site-footer p {
  margin: 0 0 12px;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 18px;
  padding-top: 42px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-weight: 800;
}

.site-footer a {
  color: #000;
}

.footer-copy {
  max-width: 1588px;
  margin: 0 auto;
  padding: 16px 22%;
  background: #fff;
  color: #555;
  font-size: 13px;
}

.fine-print { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.empty-state { min-height: 190px; display: grid; align-content: center; color: var(--muted); }
.result-panel { position: sticky; top: 76px; }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.metric { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.metric span { display: block; color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 4px; font-size: 22px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
th { background: #f6f8f6; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.prep-grid {
  display: grid;
  gap: 12px;
}

.prep-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.prep-card header {
  display: grid;
  align-content: center;
  gap: 3px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.prep-card header span,
.prep-card header small {
  color: var(--muted);
  font-size: 12px;
}

.prep-card header strong {
  font-size: 22px;
}

.prep-items {
  display: grid;
  gap: 8px;
}

.prep-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  background: #f7faf8;
}

.prep-item strong {
  display: block;
  overflow-wrap: anywhere;
}

.prep-item span {
  color: var(--muted);
  font-size: 12px;
}

.prep-item b {
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 6px;
  background: #e2ece6;
  color: var(--brand);
}

.water-item {
  background: #eef6fb;
}

.water-item b {
  background: #d9ebf5;
  color: #17516b;
}

.prep-hint {
  color: var(--muted);
  font-size: 12px;
  padding: 0 2px;
}

.notice {
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff7eb;
  color: var(--alert);
  line-height: 1.45;
  font-size: 13px;
}
.danger { background: #fff0f0; color: var(--danger); }
.allowed-notice { background: #edf8f1; color: #24573a; }

dialog {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}
dialog::backdrop { background: rgba(13, 27, 20, 0.48); }
.lead-form { padding: 22px; display: grid; gap: 12px; }
.check { display: flex; grid-template-columns: auto 1fr; gap: 8px; align-items: start; color: var(--ink); font-weight: 550; }
.check input { width: auto; min-height: 0; margin-top: 3px; }

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .intro, .workspace, .checker-grid, .service-cta, .footer-card { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .product-main, .product-meta, .grid, .grid.two, .prep-card { grid-template-columns: 1fr; }
  .prep-card header { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; }
  .privacy-banner { align-items: stretch; flex-direction: column; }
  .privacy-actions { flex-direction: column; }
  .service-actions { margin-top: 0; }
  .footer-card { padding: 32px 24px; }
  .footer-copy { padding: 16px 24px; }
  .footer-social { padding-top: 0; }
}

@media print {
  .site-header, .site-footer, #calculator-form, .actions, dialog, .privacy-banner, .service-cta { display: none !important; }
  body { background: #fff; }
  .shell, .workspace { width: 100%; display: block; padding: 0; }
  .intro { display: none; }
  .panel { box-shadow: none; border: 0; }
}
