/* ==========================================================================
   Petra Ambiental — one-page
   Paleta extraída do logo e do site petraambiental.com.br
   ========================================================================== */
@property --a { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --b { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  --navy: #0B2A6F;
  --deep: #06163A;
  --green: #1B870F;
  --green-l: #3FA535;
  --orange: #FF5E14;
  --earth: #8A5A33;
  --earth-l: #B9824B;
  --earth-d: #5B3A20;
  --white: #FFFFFF;
  --text: #54595F;
  --mute: #8B97B1;
  --mute-d: #5B6985;
  --orange-d: #C2410C;
  --green-d: #17740D;
  --bg: #F5F8FC;
  --bg-2: #EAF0F7;
  --line: #DCE3EE;
  --ink: #0A1B45;

  --pad: clamp(16px, 2.8vw, 40px);
  --font: "DM Sans", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 90px; }

.wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 150px); }

/* ---------- peças base ---------- */
.dot { width: 7px; height: 7px; border-radius: 2px; background: var(--orange); flex: none; display: inline-block; animation: pulse 2.2s ease-in-out infinite; }
.dot.green { background: var(--green-l); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .55; } }

.btn {
  display: inline-flex; align-items: center; gap: 11px; padding: 14px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-orange { background: #CC4309; color: #fff; box-shadow: 0 8px 22px -10px rgba(255, 94, 20, .8); }
.btn-orange .dot, .btn-navy .dot { background: #fff; }
.btn-orange:hover { background: #BF3F08; }
.btn-white { background: #fff; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #123a92; }

.tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .7);
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink);
}
.head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 76px); }
.head h2, .cta h2 {
  font-size: clamp(32px, 4.05vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.015em; color: var(--ink);
  margin-top: 26px;
}
.lead { margin-top: 22px; max-width: 52ch; font-size: clamp(15px, 1.2vw, 17px); color: var(--text); text-wrap: balance; }

/* ---------- reveal por máscara + cursor (título "digitado") ---------- */
.wipe { display: block; position: relative; width: fit-content; max-width: 100%; }
.head .wipe, .cta-copy .wipe { margin-inline: auto; }
.wipe > span { display: block; clip-path: inset(-12% calc((1 - var(--b)) * 100%) -18% calc(var(--a) * 100%)); }
.wipe::after {
  content: ""; position: absolute; top: 10%; bottom: 2%; width: 2px; background: var(--orange);
  left: calc(var(--c, 1) * 100%); opacity: var(--co, 0); pointer-events: none;
}
.js [data-wipe] .wipe { --b: 0; --c: 0; transition: --b 1s cubic-bezier(.65, 0, .25, 1), --c 1s cubic-bezier(.65, 0, .25, 1); }
.js [data-wipe] .wipe + .wipe { transition-delay: .28s; }
.js [data-wipe] .wipe + .wipe::after { animation-delay: .28s; }
.js [data-wipe].in .wipe { --b: 1; --c: 1; }
.js [data-wipe].in .wipe::after { animation: caret 1.15s both; }
@keyframes caret { 0% { opacity: 0; } 2%, 88% { opacity: 1; } 100% { opacity: 0; } }
.js [data-wipe] .tag, .js [data-wipe] .lead, .js [data-wipe] > p, .js [data-wipe] > .btn { opacity: 0; transform: translateY(16px); transition: opacity .8s .15s, transform .8s .15s var(--ease); }
.js [data-wipe] .lead, .js [data-wipe] > p { transition-delay: .55s; }
.js [data-wipe] > .btn { transition-delay: .75s; }
.js [data-wipe].in .tag, .js [data-wipe].in .lead, .js [data-wipe].in > p, .js [data-wipe].in > .btn { opacity: 1; transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--d, 0s), transform .9s var(--d, 0s) var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 84px; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr minmax(0, 400px) 1fr; align-items: center; gap: 24px;
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(6, 22, 58, .12);
  transition: background-color .45s, color .45s, border-color .45s;
}
.nav[data-theme="light"] { color: var(--ink); background: rgba(245, 248, 252, .78); border-bottom-color: rgba(10, 27, 69, .06); }
.brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.brand-leaf { width: 26px; height: 21px; }
.brand-name { font-size: 23px; font-weight: 700; letter-spacing: -.03em; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-size: 7.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; margin-top: 2px; opacity: .8; }

.nav-search {
  display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nav[data-theme="light"] .nav-search { border-color: rgba(10, 27, 69, .1); background: rgba(10, 27, 69, .05); }
.nav-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 94, 20, .16); }
.nav-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; }
.nav-search input::placeholder { color: currentColor; opacity: .72; }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search kbd { font: 500 12px var(--font); padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
.nav[data-theme="light"] .nav-search kbd { background: rgba(10, 27, 69, .08); }

.nav-right { display: flex; align-items: center; gap: 28px; justify-self: end; }
.nav-links { display: flex; gap: 26px; font-size: 16px; }
.nav-links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-nav { background: #fff; color: var(--ink); padding: 15px 24px; }
.nav[data-theme="light"] .btn-nav { background: #CC4309; color: #fff; box-shadow: 0 8px 22px -10px rgba(255, 94, 20, .8); }
.nav[data-theme="light"] .btn-nav .dot { background: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); position: relative; }
.nav[data-theme="light"] .nav-toggle { background: rgba(10, 27, 69, .08); }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--deep); color: #fff; padding: 110px var(--pad) 40px;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 34px; font-weight: 300; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.menu-open .nav { background: var(--deep); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 240vh; background: var(--deep); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }

.scene { position: absolute; inset: 0; overflow: hidden; background: #2a160d; }
.shot {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 53% 55%;
  transform-origin: 52% 52%; will-change: transform, opacity;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1.04)) rotate(var(--r, 0deg));
  opacity: var(--o, 1);
}
.shot-b { object-position: 56% 55%; --o: 0; }

.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 22, 58, .72) 0, rgba(6, 22, 58, .2) 16%, rgba(6, 22, 58, 0) 32%, rgba(8, 14, 34, 0) 50%, rgba(8, 14, 34, .6) 76%, rgba(6, 18, 46, .92) 100%),
    linear-gradient(75deg, rgba(8, 14, 34, .5) 0, rgba(8, 14, 34, 0) 48%);
}
.hud { position: absolute; inset: 0; pointer-events: none; }
.hud i { position: absolute; display: block; }
.hud-h { left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .13); }
.hud-v { left: 50%; top: 50%; bottom: 0; width: 1px; background: rgba(255, 255, 255, .13); }
.hud-c { left: 50%; top: 50%; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; transform: translate(-50%, -50%); animation: spin 60s linear infinite; }
.hud-c.c1 { width: 58vh; height: 58vh; border-style: dashed; border-color: rgba(255, 255, 255, .1); }
.hud-c.c2 { width: 92vh; height: 92vh; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hud-t { top: calc(50% - 3px); width: 14px; height: 6px; background: #fff; opacity: .85; }
.hud-t.tl { left: var(--pad); } .hud-t.tr { right: var(--pad); }
.hud-x { left: 50%; top: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%); background: linear-gradient(#fff, #fff) 50% 50% / 100% 1px no-repeat, linear-gradient(#fff, #fff) 50% 50% / 1px 100% no-repeat; opacity: .8; }

.hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 5.4vh, 56px); }
.hero-title { font-size: clamp(38px, 5.9vw, 90px); font-weight: 300; line-height: 1.04; letter-spacing: -.012em; color: #fff; text-shadow: 0 2px 30px rgba(6, 14, 34, .7); }
.hero-title-2 { position: absolute; left: 0; bottom: 0; }
.hero-title-2 .wipe { --b: 0; }

.pill {
  position: absolute; right: var(--pad); bottom: clamp(28px, 5.4vh, 56px); display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 20px 0 9px; border-radius: 999px; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums;
  background: rgba(6, 22, 58, .5); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill-ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) calc(var(--p, 0) * 360deg), rgba(255, 255, 255, .22) 0); position: relative; }
.pill-ring::before { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; background: #0c1c44; }
.pill-ring i { position: relative; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); animation: pulse 1.6s ease-in-out infinite; }
.pill.done .pill-ring i { background: var(--green-l); animation: none; }
.pill.done .pill-ring { background: var(--green-l); }

/* ==========================================================================
   QUEM SOMOS
   ========================================================================== */
.about { background: linear-gradient(180deg, var(--bg), var(--bg) 60%, #F1F5FA); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.focus li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.75vw, 25px); font-weight: 300; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.focus li:first-child { border-top: 1px solid var(--line); }
.focus svg { width: 26px; height: 21px; flex: none; margin-top: 5px; }
.facts { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 36px; }
.facts dt { font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.facts dd { margin-top: 8px; font-size: 14px; color: var(--text); }
.pillars { background: #fff; border-radius: 24px; padding: clamp(14px, 2vw, 28px); box-shadow: 0 30px 60px -40px rgba(10, 27, 69, .3), 0 0 0 1px rgba(10, 27, 69, .04); }
.pillars img { width: 100%; height: auto; }
.pillars figcaption { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; }
.pillars figcaption b { font-weight: 700; letter-spacing: .09em; text-transform: uppercase; font-size: 12px; color: var(--ink); }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 80px); }
.card { background: #fff; border-radius: 22px; padding: clamp(22px, 2.2vw, 34px); box-shadow: 0 0 0 1px rgba(10, 27, 69, .04); }
.card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.rule { display: block; height: 1px; background: var(--line); margin: 18px 0; position: relative; }
.rule::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s .3s var(--ease); }
.in .rule::after { transform: scaleX(.28); }
.card p { font-size: 15.5px; }
.card strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   OPERAÇÕES (tabela)
   ========================================================================== */
.ops { background: #F1F5FA; padding-bottom: clamp(40px, 5vw, 70px); }
.ops-table { margin-inline: calc(var(--pad) * -1); }
.ops-head, .ops-row { display: grid; grid-template-columns: 32% 16% 24% 1fr 80px; align-items: center; padding-inline: var(--pad); }
.ops-head { font-size: 13px; color: var(--text); padding-bottom: 16px; }
.ops-head span:last-child, .op-slots { text-align: right; }
.ops-row { position: relative; height: 80px; border-top: 1px solid var(--line); font-size: 16px; transition: background-color .35s, opacity .9s var(--d, 0s), transform .9s var(--d, 0s) var(--ease); }
.ops-row:last-child { border-bottom: 1px solid var(--line); }
.ops-row::before { content: ""; position: absolute; left: calc(var(--pad) - 14px); top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 2px; background: var(--orange); transform: scale(0); transition: transform .35s var(--ease); }
.ops-row.is-active, .ops-row:hover { background: #fff; }
.ops-row.is-active::before, .ops-row:hover::before { transform: scale(1); }
.op-name { font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; letter-spacing: -.03em; color: var(--ink); transition: transform .4s var(--ease); }
.ops-row:hover .op-name { transform: translateX(6px); }
.is-active .op-freq, .is-active .op-next { color: var(--ink); font-weight: 500; }
.op-cycle { display: flex; align-items: center; gap: 18px; padding-right: 24px; }
.op-cycle b { font-weight: 400; min-width: 58px; color: var(--ink); }
.bar { display: block; position: relative; flex: 1; height: 1px; background: #D5DCE8; }
.bar u { position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--v) * 100%); background: #58647E; transition: width 1.5s .25s cubic-bezier(.3, .7, .1, 1); }
.js .ops-row:not(.in) .bar u { width: 0; }
.bar u::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: inherit; }
.is-active .bar u, .ops-row:hover .bar u { background: var(--orange); }
.is-active .bar u::after { animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 94, 20, .55); } 100% { box-shadow: 0 0 0 10px rgba(255, 94, 20, 0); } }
.op-slots { font-variant-numeric: tabular-nums; color: var(--ink); }
.op-slots.low { color: var(--orange-d); }
.demo-note { margin-top: 18px; font-size: 13px; color: var(--mute-d); }

/* ==========================================================================
   MAPA DO PÁTIO
   ========================================================================== */
.yard-sec { background: linear-gradient(180deg, #F1F5FA, var(--bg-2)); padding-top: clamp(40px, 5vw, 80px); }
.tabs { display: flex; gap: clamp(20px, 3.4vw, 48px); margin: 30px 0 46px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: 6px 0 14px; font-size: clamp(20px, 1.95vw, 28px); font-weight: 300; letter-spacing: -.03em; color: var(--mute-d); white-space: nowrap; transition: color .35s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tabs button.is-on, .tabs button:hover { color: var(--ink); }
.tabs button.is-on::after { transform: scaleX(1); }

.yard-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
.yard-card, .rate-card { background: #fff; border-radius: 24px; padding: clamp(18px, 2.7vw, 40px); box-shadow: 0 0 0 1px rgba(10, 27, 69, .03), 0 30px 60px -45px rgba(10, 27, 69, .35); }
.yard-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.yard-thumb { width: 72px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; }
.yard-thumb svg { width: 100%; height: 100%; }
.yard-title { display: flex; flex-direction: column; min-width: 0; }
.yard-title strong { font-size: 19px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.yard-title span { font-size: 13px; }
.legend { margin-left: auto; display: flex; gap: 18px; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 7px; }
.lg { display: inline-block; width: 11px; height: 11px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lg.taken { background: #AEBBD0; box-shadow: none; } .lg.yours { background: var(--orange); box-shadow: none; } .lg.green { background: var(--green-l); box-shadow: none; }

.yard { position: relative; padding: clamp(12px, 1.7vw, 24px) clamp(34px, 4.6vw, 70px) clamp(12px, 1.7vw, 24px) clamp(12px, 1.7vw, 24px); }
.yard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #E9EEF5, #DFE6F0); border-radius: 16px; clip-path: polygon(0 0, 80% 0, 100% 36%, 100% 100%, 0 100%); }
.yard-grid { position: relative; display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(2px, .32vw, 5px); }
.cell { aspect-ratio: 1; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), background-color .5s, opacity .5s var(--cd, 0s), box-shadow .3s; cursor: pointer; }
.cell.t1 { background: #CDD6E4; } .cell.t2 { background: #B3C0D4; } .cell.t3 { background: #97A8C2; }
.cell.void { visibility: hidden; }
.cell:hover { transform: scale(1.22); box-shadow: 0 4px 10px rgba(10, 27, 69, .25); position: relative; z-index: 2; }
.cell.yours.lit { background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 94, 20, .6); animation: lit 2s ease-out infinite; }
@keyframes lit { 0% { box-shadow: 0 0 0 0 rgba(255, 94, 20, .55); } 100% { box-shadow: 0 0 0 12px rgba(255, 94, 20, 0); } }
.js .yard-card:not(.in) .cell { opacity: 0; }
.lane { grid-column: 1 / -1; height: clamp(10px, 1.4vw, 20px); background: linear-gradient(90deg, #C3CEDF 50%, transparent 0) 0 50% / 18px 1px repeat-x; opacity: .9; }
.yard-gate { position: absolute; right: clamp(4px, .8vw, 12px); top: 62%; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5B6985; writing-mode: vertical-rl; }
.yard-tip {
  position: absolute; z-index: 5; left: 0; top: 0; min-width: 196px; padding: 14px 18px 15px; border-radius: 10px; background: var(--deep); color: #fff;
  pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 4px)); transition: opacity .25s, transform .35s var(--ease), left .3s var(--ease), top .3s var(--ease);
  box-shadow: 0 18px 30px -12px rgba(6, 22, 58, .55);
}
.yard-tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); }
.yard-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.yard-tip small { display: block; font-size: 12px; opacity: .85; }
.yard-tip b { display: block; font-size: 24px; font-weight: 400; letter-spacing: -.02em; margin: 3px 0 2px; }
.yard-tip span { font-size: 12px; opacity: .85; white-space: nowrap; }

.rate-card { display: flex; flex-direction: column; }
.rate-card h3 { font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -.02em; }
.rate-card > p { font-size: 13px; margin-top: 4px; }
.rate-card dl { margin: 26px 0 32px; }
.rate-card dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rate-card dl div:last-child { border-bottom: 0; }
.rate-card dt { font-size: 13px; }
.rate-card dd { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rate-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   POR QUE A PETRA — guindaste
   ========================================================================== */
.why { position: relative; height: 340vh; background: var(--bg-2); }
.why-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.why-head { position: absolute; left: 0; right: 0; top: clamp(100px, 14vh, 130px); display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--pad); z-index: 3; }
.why-head .lead { margin-top: 18px; }
.why-word { position: absolute; left: 50%; top: 47%; transform: translate(-50%, calc(-50% + var(--wy, 0px))); font-size: 20.5vw; font-weight: 400; letter-spacing: -.055em; line-height: 1; color: #C9D4E3; opacity: var(--wo, 0); white-space: nowrap; }
.crane-clip { position: absolute; inset: calc(clamp(100px, 14vh, 130px) + 86px) 0 0 0; overflow: hidden; z-index: 2; pointer-events: none; }
.crane { position: absolute; left: 50%; top: 0; width: min(88vw, (100vh - 440px) * 1.3); transform: translate(-50%, var(--cy, -120vh)); will-change: transform; }
.crane-swing { transform-origin: 50% -120%; animation: sway 5.5s ease-in-out infinite alternate; }
.crane svg { width: 100%; height: auto; overflow: visible; }
@keyframes sway { from { transform: rotate(-.7deg); } to { transform: rotate(.7deg); } }
.why-steps { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 44px); text-align: center; padding-inline: var(--pad); z-index: 3; opacity: var(--so, 0); }
.why-lines { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.why-lines i { display: block; width: clamp(64px, 9.6vw, 138px); height: 1px; background: #C3CEDF; position: relative; }
.why-lines u { position: absolute; left: 0; top: -.5px; height: 2px; width: 100%; background: var(--orange); transform: scaleX(var(--f, 0)); transform-origin: left; }
.why-items { position: relative; height: 112px; }
.why-items article { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.why-items article.is-on { opacity: 1; transform: none; }
.why-items h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.035em; color: var(--ink); }
.why-items p { margin-top: 8px; font-size: 15px; }

/* ==========================================================================
   RASTREIO
   ========================================================================== */
.track { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.track-card { position: relative; height: clamp(480px, 46vw, 620px); border-radius: 22px; overflow: hidden; background: #2a160d; color: #fff; isolation: isolate; }
.track-photo { position: absolute; inset: 0; overflow: hidden; transform: scale(1); transition: transform 2.4s cubic-bezier(.2, .7, .1, 1); }
.js .track-card:not(.in) .track-photo { transform: scale(1.12); }
.track-photo img { position: absolute; left: 0; top: -4%; width: 118%; height: 108%; max-width: none; object-fit: cover; object-position: 52% 50%; transform: translate3d(var(--px, -7.6%), 0, 0); will-change: transform; }
.track-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 22, 58, .82), rgba(6, 22, 58, .1) 36%, rgba(6, 22, 58, .1) 60%, rgba(6, 22, 58, .82)), linear-gradient(90deg, rgba(6, 22, 58, .45), rgba(6, 22, 58, 0) 40%); pointer-events: none; }
.track-info, .track-stat, .track-form, .track-msg { position: absolute; z-index: 2; }
.track-info { left: clamp(18px, 2.4vw, 34px); top: clamp(18px, 2.4vw, 32px); display: flex; gap: 18px; align-items: flex-start; }
.ring { position: relative; width: 70px; height: 70px; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring-bg { stroke: rgba(255, 255, 255, .22); }
.ring-fg { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: 144.5; }
.ring b { position: relative; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.track-meta { display: flex; flex-direction: column; font-size: 14px; line-height: 1.45; padding-top: 4px; }
.track-meta strong { font-size: 18px; font-weight: 500; }
.track-meta span { opacity: .86; }
.track-stat { right: clamp(18px, 2.4vw, 34px); top: clamp(22px, 2.6vw, 38px); font-size: 14px; opacity: .9; }
.track-form { left: 50%; bottom: clamp(18px, 2.6vw, 34px); transform: translateX(-50%); width: min(92%, 680px); height: 66px; display: flex; align-items: center; gap: 16px; padding: 0 9px 0 28px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 24px 40px -18px rgba(6, 22, 58, .7); }
.track-form label { font-size: 13px; color: var(--text); white-space: nowrap; }
.track-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.track-form button { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.track-form button:hover { transform: scale(1.08); }
.track-form .dot { background: #fff; }
.track-msg { left: 0; right: 0; bottom: clamp(96px, 9vw, 118px); text-align: center; font-size: 13px; padding-inline: 16px; opacity: 0; transition: opacity .4s; }
.track-msg.on { opacity: .95; }

/* ==========================================================================
   CONECTLAND
   ========================================================================== */
.conect { background: var(--bg); }
.conect-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.conect-map { background: radial-gradient(120% 100% at 50% 0, #0d2f7c, var(--deep) 70%); border-radius: 24px; padding: clamp(12px, 2vw, 28px); color: #fff; }
.conect-map svg { width: 100%; height: auto; }
.rt { stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1); }
.rt.o { stroke: rgba(255, 94, 20, .75); } .rt.g { stroke: rgba(63, 165, 53, .85); transition-delay: 1s; }
.conect-map.in .rt, html:not(.js) .rt { stroke-dashoffset: 0; }
.js .conect-map .nd { opacity: 0; transition: opacity .7s; }
.js .conect-map.in .nd { opacity: 1; }
.conect-map .nd:nth-child(4) { transition-delay: .7s; } .conect-map .nd:nth-child(n+5) { transition-delay: 1.6s; }
.js .conect-map .movers { opacity: 0; transition: opacity .6s 2.2s; }
.js .conect-map.in .movers { opacity: 1; }
.conect-cap { display: flex; gap: 22px; justify-content: center; font-size: 13px; opacity: .9; padding-top: 6px; }
.conect-cap span { display: flex; align-items: center; gap: 8px; }
.conect-steps li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.conect-steps li:first-child { border-top: 1px solid var(--line); }
.conect-steps b { font-size: 13px; font-weight: 500; color: var(--green-d); padding-top: 6px; font-variant-numeric: tabular-nums; }
.conect-steps h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 300; letter-spacing: -.025em; color: var(--ink); line-height: 1.2; }
.conect-steps p { margin-top: 8px; font-size: 15px; }
.conect-side .btn { margin-top: 32px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta { position: relative; min-height: 88vh; overflow: hidden; display: flex; justify-content: center; text-align: center; color: #fff; background: var(--deep); }
.cta-photo { position: absolute; inset: 0; overflow: hidden; }
.cta-photo img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; max-width: none; object-fit: cover; object-position: 56% 60%; filter: saturate(1.08) brightness(.86); transform-origin: 56% 8%; transform: translate3d(0, var(--ly, 0px), 0) scale(1.3); will-change: transform; }
.cta-sky { position: absolute; inset: -10% 0 45% 0; transform: translate3d(0, var(--sky, 0px), 0); mix-blend-mode: screen; opacity: .5; }
.cta-sky i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 128, 84, .85), rgba(255, 128, 84, 0)); animation: drift 26s ease-in-out infinite alternate; }
.cta-sky i:nth-child(1) { left: -4%; top: 12%; width: 36vw; height: 13vw; }
.cta-sky i:nth-child(2) { left: 30%; top: 2%; width: 30vw; height: 9vw; animation-duration: 34s; }
.cta-sky i:nth-child(3) { right: -6%; top: 20%; width: 34vw; height: 15vw; animation-duration: 30s; }
@keyframes drift { to { transform: translateX(5vw); } }
/* pôr do sol: laranja queimado no alto -> azul-marinho; garante contraste >= 4.5:1 do texto branco mesmo sobre áreas claras da foto */
.cta-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(150, 52, 24, .74) 0, rgba(122, 44, 52, .72) 30%, rgba(60, 40, 92, .7) 52%, rgba(14, 32, 84, .62) 70%, rgba(6, 22, 58, .9) 88%, var(--deep) 100%); }
.cta-copy { position: relative; z-index: 2; padding: clamp(150px, 24vh, 250px) var(--pad) 0; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(38px, 5.4vw, 82px); margin-top: 0; text-shadow: 0 2px 30px rgba(40, 14, 10, .55); }
.cta-copy p { margin-top: 26px; max-width: 46ch; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.4; text-wrap: balance; }
.cta-copy .btn { margin-top: 30px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--deep); color: #fff; padding-top: clamp(40px, 6vw, 90px); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: clamp(28px, 6vw, 110px); }
.foot-desc { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.38; max-width: 22em; letter-spacing: -.01em; }
.foot-cols { display: grid; grid-template-columns: 1.6fr .9fr .9fr 1.7fr; gap: 28px; }
.foot-cols h4 { font-size: 13px; font-weight: 400; color: var(--mute); margin-bottom: 16px; }
.foot-cols li { font-size: 15.5px; line-height: 1.35; margin-bottom: 11px; overflow-wrap: anywhere; }
.footer a { transition: color .3s; } .footer a:hover { color: var(--orange); }
.wordmark { padding-inline: var(--pad); margin-top: clamp(40px, 6vw, 84px); max-width: 1600px; margin-inline: auto; }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.wm-stripes { animation: stripes 1.6s linear infinite; }
@keyframes stripes { to { transform: translateY(14px); } }
.wm-reflect { animation: ripple 5s ease-in-out infinite alternate; transform-origin: 50% 262px; }
@keyframes ripple { from { transform: skewX(-1.6deg) scaleY(1); } to { transform: skewX(1.6deg) scaleY(1.07); } }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 26px 30px; font-size: 13px; color: #C7D0E2; }
.foot-mid { display: flex; gap: 24px; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav-links { gap: 18px; font-size: 15px; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { height: 68px; grid-template-columns: 1fr auto; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  .nav[data-theme="light"] { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .nav-search, .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: block; }
  [id] { scroll-margin-top: 72px; }

  .hero-copy { text-align: center; bottom: 104px; }
  .hero-title .wipe { margin-inline: auto; }
  .hero-title-2 { left: 0; right: 0; }
  .pill { right: auto; left: 50%; transform: translateX(-50%); bottom: 40px; white-space: nowrap; }
  .hud-c.c1 { width: 70vw; height: 70vw; } .hud-c.c2 { width: 120vw; height: 120vw; }

  .about-grid, .cards3, .yard-layout, .conect-grid { grid-template-columns: 1fr; }
  .pillars { order: -1; }

  .ops-head { display: none; }
  .ops-row { grid-template-columns: 1fr auto; grid-template-areas: "name slots" "meta slots"; height: auto; padding-block: 16px; row-gap: 4px; align-items: center; }
  .op-name { grid-area: name; }
  .op-slots { grid-area: slots; }
  .op-freq, .op-cycle, .op-next { font-size: 13px; }
  .ops-row { display: grid; }
  .op-freq { grid-area: meta; }
  .op-cycle, .op-next { display: none; }
  .ops-row .op-freq::after { content: " · " attr(data-meta); }

  .yard-top { flex-wrap: wrap; }
  .legend { margin-left: 0; width: 100%; }
  .yard-tip { min-width: 168px; padding: 10px 14px 11px; }
  .yard-tip b { font-size: 20px; }

  .why { height: 300vh; }
  .why-word { font-size: 23vw; top: 44%; }
  .crane { width: min(86vw, (100vh - 430px) * 1.3); }
  .why-items { height: 130px; }
  .why-items p br { display: none; }

  .track-card { height: 520px; }
  .track-photo img { width: 140%; object-position: 50% 50%; }
  .shot { object-position: 52% 50%; } .shot-b { object-position: 49% 50%; }
  .cta-photo img { object-position: 52% 60%; transform-origin: 50% 50%; transform: translate3d(0, var(--ly, 0px), 0) scale(1.03); }
  .track-stat { right: auto; left: clamp(18px, 2.4vw, 34px); top: 104px; }
  .track-form { height: 58px; padding-left: 20px; }
  .track-form label { display: none; }
  .track-form button { width: 42px; height: 42px; }
  .track-msg { bottom: 88px; }

  .cta { min-height: 92vh; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child, .foot-cols > div:last-child { grid-column: 1 / -1; }
  .crane-clip { top: calc(clamp(100px, 14vh, 130px) + 112px); }
  .foot-bottom { flex-wrap: wrap; }
  .foot-mid { display: none; }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero { height: 100vh; height: 100svh; }
  .why { height: auto; }
  .why-pin { position: relative; height: auto; padding: 120px 0 60px; display: flex; flex-direction: column; align-items: center; }
  .why-head, .crane-clip, .crane, .why-steps { position: relative; inset: auto; top: auto; left: auto; bottom: auto; transform: none; }
  .crane { margin: 40px auto; }
  .why-word { opacity: 1; }
  .why-steps { opacity: 1; }
  .why-items { height: auto; display: grid; gap: 28px; }
  .why-items article { position: static; opacity: 1; transform: none; }
  .why-lines { display: none; }
  .movers { display: none; }
}

/* títulos: eixo óptico fixo para manter o desenho geométrico e arejado em corpos grandes */
.hero-title, .head h2, .cta h2, .op-name, .tabs button, .why-items h3, .why-word, .facts dt, .card h3, .focus li, .conect-steps h3, .mobile-menu a { font-variation-settings: "opsz" 18; }
.about { padding-bottom: clamp(48px, 6vw, 90px); }
