/* ==========================================================
   SoloScience — estilo
   ========================================================== */
:root {
  --bg: #0b0a09;
  --bg-alt: #100e0c;
  --surface: #15120f;
  --surface-2: #1b1713;
  --line: rgba(210, 190, 165, 0.12);
  --line-strong: rgba(210, 190, 165, 0.24);
  --text: #efe9e2;
  --muted: #a39a8f;
  --accent: #d08a4e;
  --accent-dim: rgba(208, 138, 78, 0.14);
  --earth: #e6c79c;
  --wa: #25d366;
  --wa-dark: #1ebe5b;

  --radius: 14px;
  --container: 1200px;
  --header-h: 72px;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: #1a0f06; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.muted { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--f-body);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-sm .ico { width: 18px; height: 18px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 1rem; }
.btn-lg .ico { width: 22px; height: 22px; }
.btn-block { width: 100%; }

.btn-wa {
  background: var(--wa); color: #04170b;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.0), 0 8px 24px -8px rgba(37, 211, 102, 0.55);
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.14), 0 12px 30px -8px rgba(37, 211, 102, 0.6); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost .ico { transition: transform .2s ease; }
.btn-ghost:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.brand-name { font: 700 1.2rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand-name span { color: var(--accent); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 0.92rem; color: var(--muted); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover, .nav a.is-current { color: var(--text); }
.nav a.is-current::after, .nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 15% 45%, rgba(11,10,9,0.92) 0%, rgba(11,10,9,0.55) 55%, transparent 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
.hero-inner { max-width: var(--container); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 0.78rem/1.2 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  background: rgba(21, 18, 15, 0.6); backdrop-filter: blur(6px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(208,138,78,0); } }
.hero h1 { margin-top: 26px; font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-weight: 700; letter-spacing: -0.035em; }
.grad { background: linear-gradient(100deg, var(--accent) 0%, #e9cfa8 45%, var(--earth) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; max-width: 600px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #c4bab0; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-specs {
  margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16, 14, 12, 0.6); backdrop-filter: blur(8px);
  width: fit-content; max-width: 100%;
}
.hero-specs > div { padding: 16px 24px; }
.hero-specs > div + div { border-left: 1px solid var(--line); }
.hero-specs dt { font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hero-specs dd { margin: 8px 0 0; font-size: 0.92rem; color: var(--text); }
.hero-readout {
  position: absolute; right: 24px; bottom: 28px; display: flex; gap: 18px;
  font: 400 0.7rem/1 var(--f-mono); letter-spacing: 0.08em; color: rgba(163, 154, 143, 0.7);
}

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 80%);
}
.section > .container { position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head > p:last-child { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  position: relative;
}

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { padding: 28px 24px 30px; transition: border-color .25s ease, transform .25s ease; overflow: hidden; }
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(208, 138, 78, 0.12), transparent 60%);
}
.service:hover { border-color: rgba(208, 138, 78, 0.4); transform: translateY(-3px); }
.service:hover::before { opacity: 1; }
.service-code { position: absolute; top: 20px; right: 20px; font: 500 0.7rem/1 var(--f-mono); color: var(--muted); letter-spacing: 0.08em; }
.service-ico { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.service h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.93rem; }

/* Portfólio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font: 500 0.88rem/1 var(--f-body); cursor: pointer; transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { background: var(--accent); color: #1a0f06; border-color: var(--accent); }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease, opacity .3s ease; }
.project:hover { border-color: rgba(208, 138, 78, 0.4); transform: translateY(-3px); }
.project.is-hidden { display: none; }
.project-fig { margin: 0; aspect-ratio: 400 / 240; background: #0f0d0b; border-bottom: 1px solid var(--line); }
.project-fig svg { width: 100%; height: 100%; }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.project-body p { color: var(--muted); font-size: 0.92rem; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--accent-dim); color: var(--accent); font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.note { margin-top: 24px; color: var(--muted); font-size: 0.82rem; }

/* Ilustrações SVG */
.project-fig .grid { fill: none; stroke: rgba(210, 190, 165, 0.07); stroke-width: 1; }
.project-fig .soil-1 { fill: rgba(150, 105, 70, 0.30); }
.project-fig .soil-2 { fill: rgba(150, 105, 70, 0.16); }
.project-fig .soil-3 { fill: rgba(120, 112, 104, 0.18); }
.project-fig .surface { fill: none; stroke: #ddd2c4; stroke-width: 1.6; }
.project-fig .slip { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; animation: dash 3s linear infinite; }
.project-fig .radius { fill: none; stroke: rgba(210, 190, 165, 0.3); stroke-width: 1; stroke-dasharray: 2 4; }
.project-fig .center { fill: var(--accent); }
.project-fig .wall { fill: #6b625a; stroke: #ddd2c4; stroke-width: 1; }
.project-fig .arrows path { stroke: var(--earth); stroke-width: 1.6; }
.project-fig .pressure { fill: rgba(230, 199, 156, 0.12); stroke: var(--earth); stroke-width: 1; stroke-dasharray: 3 3; }
.project-fig .nails path { stroke: #ddd2c4; stroke-width: 1.8; stroke-linecap: round; }
.project-fig .bulb path { stroke: var(--earth); stroke-width: 6; stroke-linecap: round; opacity: .8; }
.project-fig .piles path { stroke: #b3a89b; stroke-width: 8; stroke-linecap: square; }
.project-fig .drain circle, .project-fig .drain rect { fill: var(--accent); }
.project-fig .ticks path { stroke: var(--muted); stroke-width: 1; }
.project-fig .bars rect { fill: rgba(208, 138, 78, 0.35); }
.project-fig .bars rect.hi { fill: var(--accent); }
.project-fig .label { fill: var(--text); font: 600 14px var(--f-mono); }
.project-fig .label-sm { fill: var(--muted); font: 400 10px var(--f-mono); }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* Método */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step + .step::before { left: 28px; }
.step-n { font: 500 0.8rem/1 var(--f-mono); color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: 1.25rem; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { margin-bottom: 22px; }
.about-text > p { color: #c4bab0; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { position: relative; padding-left: 28px; font-size: 0.94rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 4px;
  background: var(--accent-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23d08a4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.about-panel { padding: 8px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: var(--muted); font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.panel-head .mono { color: var(--accent); }
.norms { list-style: none; margin: 0; padding: 0; }
.norms li { display: flex; align-items: baseline; gap: 18px; padding: 16px 18px; font-size: 0.95rem; }
.norms li + li { border-top: 1px dashed var(--line); }
.norms .mono { color: var(--earth); min-width: 100px; }

/* CTA */
.cta-band {
  position: relative; overflow: hidden; padding: 72px 0;
  background:
    radial-gradient(60% 120% at 100% 50%, rgba(37, 211, 102, 0.12), transparent 60%),
    radial-gradient(50% 120% at 0% 50%, rgba(208, 138, 78, 0.10), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 680px; }
.cta-inner p { margin-top: 12px; color: var(--muted); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-list li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .mono { color: var(--muted); min-width: 110px; text-transform: uppercase; }
.contact-list a:hover { color: var(--accent); }

.form { padding: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(11, 10, 9, 0.6); color: var(--text);
  font: 400 0.95rem/1.4 var(--f-body); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a39a8f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.field select option { background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.field input.is-invalid { border-color: #ef6a6a; }
.form-hint { min-height: 1.2em; font-size: 0.84rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { padding: 40px 0 112px;border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 0.84rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--wa); color: #04170b; font-weight: 600;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: ring 2.6s ease-out infinite; pointer-events: none;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { transform: translateY(-2px) scale(1.03); background: var(--wa-dark); }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease, border-color .25s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .header-inner { gap: 12px; }
  .header-inner > .btn-wa { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: rgba(11, 10, 9, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero-readout { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .services, .portfolio, .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 16px; }
  .step + .step::before { left: 0; }
  .hero-specs { grid-template-columns: 1fr; width: 100%; }
  .hero-specs > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-cta .btn { width: 100%; }
  .checks, .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .header-inner > .btn-wa span { display: none; }
  .header-inner > .btn-wa { width: 40px; padding: 0; }
  .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 16px; }
  .wa-float-label { display: none; }
  .contact-list li { flex-direction: column; gap: 4px; }
}

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

/* ---------- Agro: barragens e reservatórios ---------- */
.agro-shot {
  margin: 0; position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  aspect-ratio: 1280 / 530; background: #0f0d0b;
}
.agro-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: contrast(1.04); }
.agro-shot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,10,9,0.72) 0%, rgba(11,10,9,0.15) 38%, rgba(11,10,9,0) 60%, rgba(11,10,9,0.35) 100%),
    linear-gradient(to bottom, rgba(11,10,9,0.35) 0%, transparent 30%, transparent 70%, rgba(11,10,9,0.75) 100%),
    linear-gradient(rgba(208,138,78,0.07) 1px, transparent 1px) 0 0 / 100% 4px;
  mix-blend-mode: normal;
}
.agro-shot::after {
  content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(208,138,78,0.16) 85%, rgba(233,207,168,0.55) 100%);
  border-bottom: 1px solid rgba(233,207,168,0.6);
  animation: scan 6s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(433%); opacity: 0; } }
.agro-hud { position: absolute; inset: 0; width: 100%; height: 100%; }
.agro-hud .frame { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.agro-hud .trace { fill: none; stroke: rgba(233, 207, 168, 0.85); stroke-width: 1.4; stroke-dasharray: 7 6; animation: dash 3s linear infinite; }
.agro-hud .lead { fill: none; stroke: rgba(239, 233, 226, 0.75); stroke-width: 1.2; }
.agro-hud .pin { fill: var(--accent); }
.agro-hud .pin-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pin 2.4s ease-out infinite; }
@keyframes pin { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.agro-hud .tag-bg { fill: rgba(11, 10, 9, 0.78); stroke: var(--line-strong); }
.agro-hud .t { fill: var(--text); font: 500 17px var(--f-mono); letter-spacing: .04em; }
.agro-hud .t-sm { fill: var(--muted); font: 400 13px var(--f-mono); letter-spacing: .06em; }
.agro-badge {
  position: absolute; left: 6.5%; bottom: 11%; max-width: 360px;
  padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(11, 10, 9, 0.72); backdrop-filter: blur(10px);
}
.agro-badge .mono { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.agro-badge p { margin-top: 6px; font: 600 1.05rem/1.3 var(--f-display); }
.agro-products { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agro-products li { padding: 22px 22px 24px; }
.agro-products .service-code { position: static; display: block; margin-bottom: 14px; color: var(--accent); }
.agro-products h3 { font-size: 1.05rem; margin-bottom: 8px; }
.agro-products p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 1080px) { .agro-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .agro-shot { aspect-ratio: 4 / 3; }
  .agro-hud .t, .agro-hud .t-sm, .agro-hud .tag-bg, .agro-hud .lead { display: none; }
  .agro-badge { display: none; }
}
@media (max-width: 640px) { .agro-products { grid-template-columns: 1fr; } }

/* Ilustrações — agro, estradas, drenagem, loteamentos */
.project-fig .water { fill: rgba(110, 160, 190, 0.22); }
.project-fig .water-line { fill: none; stroke: rgba(150, 195, 220, 0.85); stroke-width: 1.4; }
.project-fig .membrane { fill: none; stroke: var(--earth); stroke-width: 3; stroke-linejoin: round; }
.project-fig .flow { fill: none; stroke: rgba(150, 195, 220, 0.7); stroke-width: 1.4; stroke-dasharray: 4 4; animation: dash 3s linear infinite; }
.project-fig .phreatic { fill: none; stroke: rgba(150, 195, 220, 0.9); stroke-width: 1.6; stroke-dasharray: 8 4; }
.project-fig .toe { fill: rgba(208, 138, 78, 0.45); stroke: var(--accent); stroke-width: 1; }
.project-fig .pave { fill: #3b3530; stroke: #ddd2c4; stroke-width: 1; }
.project-fig .conduit { fill: none; stroke: #b3a89b; stroke-width: 7; stroke-linecap: round; }
.project-fig .pipe { fill: #0f0d0b; stroke: #ddd2c4; stroke-width: 2; }
.project-fig .rain path { stroke: rgba(150, 195, 220, 0.55); stroke-width: 1.4; stroke-linecap: round; }
.project-fig .hydro-in { fill: none; stroke: rgba(150, 195, 220, 0.9); stroke-width: 2; }
.project-fig .hydro-out { fill: none; stroke: var(--accent); stroke-width: 2; }
.project-fig .house { fill: none; stroke: var(--earth); stroke-width: 1.4; stroke-linejoin: round; }
.project-fig .lot { fill: none; stroke: rgba(230, 199, 156, 0.35); stroke-width: 1; }
.project-fig .zone-ok { fill: rgba(230, 199, 156, 0.10); }
.project-fig .zone-mid { fill: rgba(208, 138, 78, 0.24); }
.project-fig .zone-no { fill: rgba(208, 138, 78, 0.48); }
.project-fig .legend { fill: rgba(11, 10, 9, 0.85); stroke: var(--line-strong); }

/* Portfólio — cards com foto (seção técnica aparece ao passar o mouse) */
.project-fig.has-photo { position: relative; overflow: hidden; }
.project-fig.has-photo picture { position: absolute; inset: 0; display: block; }
.project-fig.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-fig.has-photo::after {
  content: "Foto"; position: absolute; left: 12px; bottom: 10px; padding: 3px 8px; border-radius: 6px;
  background: rgba(11, 10, 9, 0.7); color: var(--muted); font: 500 0.65rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  transition: opacity .3s ease;
}
.project-fig.has-photo picture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,10,9,0.1), rgba(11,10,9,0.45));
}
.project-fig.has-photo svg { position: absolute; inset: 0; background: #0f0d0b; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) {
  .project-fig.has-photo::after { content: "Foto · passe o mouse p/ ver a seção"; }
  .project:hover .project-fig.has-photo svg { opacity: 1; }
  .project:hover .project-fig.has-photo::after { opacity: 0; }
  .project:hover .project-fig.has-photo img { transform: scale(1.04); }
}
