/* ==========================================================================
   2R PULVERIZAÇÃO DRONES — Design tokens
   Paleta: TEMA CLARO — papel + esmeralda de dados + terracota de solo
   Tipografia: Newsreader (display serifado editorial) / Public Sans (corpo) / Spline Sans Mono (dados)
   Layout: nav clara + mapa de curvas de nível + índice de serviços com líderes pontilhados
   ========================================================================== */

:root {
  --paper-0: #FBF9F4;
  --paper-100: #F3EEE1;
  --paper-200: #EAE2CE;
  --ink-950: #1B211D;
  --ink-800: #2C352E;
  --line: #DCD3BC;
  --steel-600: #63705F;
  --steel-500: #7C8877;
  --teal-700: #0B5245;
  --teal-600: #0F6E5C;
  --teal-500: #14876F;
  --teal-100: #DCEFE7;
  --teal-glow: rgba(15, 110, 92, 0.18);
  --soil-600: #8A5A34;
  --soil-500: #A6713F;
  --soil-100: #F1E4D2;
  --success: #2E7D4F;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, sans-serif;
  --font-mono: 'Spline Sans Mono', 'Courier New', monospace;

  --nav-h: 78px;
  --container: 1160px;
  --radius-sm: 4px;
  --radius-md: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--paper-0);
  color: var(--ink-950);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-950);
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-weight: 600;
}
h2 { font-size: clamp(28px, 3.8vw, 44px); max-width: 18ch; font-style: italic; font-weight: 500; }
h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; font-style: normal; }
p { color: var(--steel-600); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--teal-600); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; white-space: nowrap;
}
.btn-primary { background: var(--teal-600); color: var(--paper-0); font-weight: 600; }
.btn-primary:hover { background: var(--teal-700); box-shadow: 0 0 0 4px var(--teal-glow); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-800); }
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn:active { transform: scale(0.97); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: rgba(251, 249, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper-0); font-family: var(--font-display); font-style: italic; font-size: 17px; font-weight: 600;
}
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand-text small {
  display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em;
  color: var(--steel-500); text-transform: uppercase; font-weight: 400; margin-top: 2px;
}
.nav-links { display: flex; gap: 30px; font-size: 14.5px; color: var(--ink-800); }
.nav-links a:hover { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-mono); font-size: 13px; color: var(--ink-800); display: flex; align-items: center; gap: 8px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 82px 0 92px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 88% 6%, rgba(15,110,92,0.07), transparent 55%), var(--paper-0);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.9fr; gap: 44px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-copy h1 em { font-style: normal; color: var(--teal-600); font-weight: 600; }
.hero-copy > p { font-family: var(--font-body); font-size: 17px; color: var(--steel-600); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-meta { display: flex; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta-item strong { display: block; font-family: var(--font-display); font-size: 24px; font-style: italic; }
.hero-meta-item span { font-family: var(--font-mono); font-size: 10.5px; color: var(--steel-500); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Contour-map signature visual --- */
.survey-panel {
  background: var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 24px 50px rgba(27,33,29,0.10);
}
.survey-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--steel-500);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.survey-head .status { color: var(--teal-600); }
.contour-map {
  position: relative;
  height: 220px;
  border-radius: 8px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 14px;
}
.contour-map svg { width: 100%; height: 100%; }
.survey-pin {
  fill: var(--soil-600);
}
.survey-pin-ring {
  fill: none;
  stroke: var(--soil-500);
  stroke-width: 1;
  opacity: 0.4;
}
.survey-grid { stroke: var(--teal-600); stroke-width: 0.5; opacity: 0.18; }
.survey-stats { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-600); }
.survey-stats b { color: var(--ink-950); }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .survey-panel { order: -1; }
}

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head p { max-width: 42ch; padding-bottom: 4px; }

/* ==========================================================================
   ÍNDICE DE SERVIÇOS — lista com líderes pontilhados (estilo sumário)
   ========================================================================== */
.toc-group { margin-bottom: 44px; }
.toc-group:last-child { margin-bottom: 0; }
.toc-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soil-600);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.toc-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--line);
}
.toc-row:last-child { border-bottom: none; }
.toc-title { font-family: var(--font-display); font-size: 19px; font-style: italic; white-space: nowrap; }
.toc-title .principal-flag {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  color: var(--teal-600);
  border: 1px solid var(--teal-600);
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.toc-leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.toc-code { font-family: var(--font-mono); font-size: 12px; color: var(--steel-500); white-space: nowrap; }
.toc-desc { display: block; font-size: 13.5px; color: var(--steel-600); margin-top: 4px; max-width: 60ch; }

/* ==========================================================================
   ATUAÇÃO — dois pilares
   ========================================================================== */
.pillars { background: var(--paper-100); }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.pillar-icon { width: 38px; height: 38px; color: var(--teal-600); margin-bottom: 18px; }
.pillar-card h3 { font-size: 19px; margin-bottom: 10px; }
.pillar-card p { font-size: 14.5px; }

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

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff-card { border-top: 2px solid var(--soil-600); padding-top: 20px; }
.diff-card h3 { font-size: 16px; margin-bottom: 8px; }
.diff-card p { font-size: 13.5px; }

@media (max-width: 880px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SOBRE — capa de relatório
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-copy p { margin-bottom: 16px; font-size: 15.5px; }
.about-copy p:last-child { margin-bottom: 0; }

.report-cover {
  background: var(--teal-700);
  color: var(--paper-0);
  border-radius: var(--radius-md);
  padding: 30px;
}
.report-cover .rc-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.report-cover h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--paper-0);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(251,249,244,0.25);
}
.spec-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 0;
  border-bottom: 1px dashed rgba(251,249,244,0.2);
  font-family: var(--font-mono); font-size: 12.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .label { color: rgba(251,249,244,0.6); }
.spec-row .value { color: var(--paper-0); text-align: right; }
.spec-row .value.on { color: #8FE0B8; }

/* ==========================================================================
   LOCALIZAÇÃO
   ========================================================================== */
.area-section .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-chip {
  font-family: var(--font-mono); font-size: 12px; border: 1px solid var(--line);
  border-radius: 20px; padding: 7px 14px; color: var(--ink-800);
}
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  background: var(--paper-100); height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15); }
.map-caption {
  margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-500);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.map-caption a { color: var(--teal-600); }
.map-caption a:hover { color: var(--teal-700); }

@media (max-width: 880px) {
  .about-grid, .area-section .container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-section { background: var(--paper-100); border-bottom: none; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14.5px; color: var(--ink-950); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: var(--steel-600); }
.contact-info-item a:hover { color: var(--teal-600); }

.form-panel { background: var(--paper-0); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: var(--paper-100); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px; color: var(--ink-950); font-family: var(--font-body); font-size: 14.5px;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--steel-500); margin-top: 12px; text-align: center; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 44px 0 30px; background: var(--paper-0); }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-meta { font-family: var(--font-mono); font-size: 11px; color: var(--steel-500); text-align: right; line-height: 1.7; }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--steel-600); }
.footer-links a:hover { color: var(--teal-600); }

@media (max-width: 700px) {
  .footer .container { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(27,33,29,0.28);
  transition: transform 0.2s ease;
  color: var(--paper-0);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }
