/* ==========================================================================
   Bührer Engenharia — estilos
   ========================================================================== */
:root {
  --ink: #0d1015;
  --ink-2: #141922;
  --ink-3: #1c2330;
  --paper: #f5f3ef;
  --paper-2: #ebe8e2;
  --white: #fff;
  --text: #151a21;
  --muted: #5d6672;
  --line: rgba(13, 16, 21, .12);
  --on-dark: #e9edf3;
  --on-dark-muted: #9aa5b4;
  --line-dark: rgba(255, 255, 255, .1);
  --accent: #2f6bff;
  --accent-2: #6d97ff;
  --accent-soft: rgba(47, 107, 255, .12);
  --concrete: #a3a6aa;
  --ok: #22c07a;
  --warn: #f2a93b;
  --bad: #ff5d5d;
  --wa: #1fae5b;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 750; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill { fill: currentColor; stroke: none; }

/* ---------- progresso de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { --bg: var(--accent); box-shadow: 0 10px 30px -10px rgba(47,107,255,.7); }
.btn--primary:hover { box-shadow: 0 16px 36px -10px rgba(47,107,255,.85); }
.btn--ghost { --bg: rgba(255,255,255,.06); --bd: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bd: rgba(255,255,255,.5); }
.btn--outline { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.btn--outline:hover { --bd: var(--text); }
.btn--outline-light { --bg: transparent; --fg: var(--on-dark); --bd: rgba(255,255,255,.25); }
.btn--outline-light:hover { --bd: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: .92rem; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff;
  transition: background-color .35s, box-shadow .35s, color .35s, transform .4s var(--ease-out);
}
.header.is-solid { background: rgba(245,243,239,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 46px; height: auto; overflow: visible; }
.brand__shell { fill: var(--concrete); }
.brand__edge { fill: currentColor; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-stretch: 78%; font-size: 1.62rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__tag { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.brand:hover .brand__shell { animation: shell .9s var(--ease-out); }
@keyframes shell { 40% { transform: skewX(-6deg) translateX(3px); } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative; display: block; padding: 8px 12px; font-weight: 550; font-size: .95rem; text-decoration: none; opacity: .86; transition: opacity .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__list a:hover, .nav__list a.is-active { opacity: 1; }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 2; border-radius: 12px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 75% 45%, rgba(47,107,255,.22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(47,107,255,.12), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; cursor: grab; touch-action: pan-y; }
.hero__canvas.is-dragging { cursor: grabbing; }
.hero__hud {
  position: absolute; right: var(--gutter); bottom: 42px; display: flex; gap: 18px;
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .12em; color: var(--on-dark-muted); pointer-events: none;
}
.hero__hud-hint { color: var(--accent-2); }
.hero__inner { position: relative; pointer-events: none; }
.hero__inner > * { pointer-events: auto; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.04);
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(109,151,255,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(109,151,255,0); } 100% { box-shadow: 0 0 0 0 rgba(109,151,255,0); } }
.hero__inner > .hero__title { max-width: 820px; font-size: clamp(2.6rem, 5.3vw, 4.7rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.035em; line-height: .98; margin-bottom: 28px; }
@media (min-width: 921px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--accent-2) 10%, #fff 90%); -webkit-background-clip: text; background-clip: text; }
@keyframes rise { to { transform: translateY(0); } }
.hero__lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--on-dark); opacity: .88; max-width: 560px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.35);
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite var(--ease); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- números ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(13,16,21,.35), 0 0 0 1px var(--line);
  overflow: hidden;
}
.stat { padding: 30px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 800; font-stretch: 110%; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { margin: 8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.35; }

/* ---------- seções ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec-index { color: var(--accent); font-weight: 500; }
.sec-head::after { content: ""; flex: 0 1 80px; height: 1px; background: currentColor; opacity: .35; }
.sec-head--dark { color: var(--on-dark-muted); }
.sec-title { font-size: clamp(2rem, 4.4vw, 3.6rem); font-stretch: 104%; letter-spacing: -.03em; max-width: 18ch; margin-bottom: 28px; }
.sec-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-intro .sec-title { margin-bottom: 0; }
.sec-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 46ch; }

/* ---------- sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.sobre__text p { color: #2e3540; font-size: 1.06rem; }
.sobre__text strong { color: var(--text); }
.checks { display: grid; gap: 10px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sobre__media { position: sticky; top: calc(var(--header-h) + 30px); }
.photo-card {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(13,16,21,.55);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transform: scale(1.06); transition: transform 1.2s var(--ease-out), filter .6s; }
.photo-card:hover img { transform: scale(1.12); filter: grayscale(0) contrast(1.05); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,16,21,.85), transparent 55%); }
.photo-card__badge { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.photo-card__year { font-size: 3.4rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.04em; line-height: 1; }
.photo-card__badge span:last-child { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.mapa {
  margin-top: clamp(60px, 8vw, 110px); padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border-radius: calc(var(--radius) + 6px); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden;
}
.mapa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px; pointer-events: none; }
.mapa h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 14px; color: #fff; }
.mapa p { color: var(--on-dark-muted); }
.mapa strong { color: #fff; }
.mapa__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .06em; margin: 22px 0 0; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: -8px; }
.sw--on { background: var(--accent); }
.sw--home { background: #fff; }
.tiles { --s: clamp(34px, 5.6vw, 54px); --g: 6px; position: relative; display: grid; grid-template-columns: repeat(7, var(--s)); grid-template-rows: repeat(8, var(--s)); gap: var(--g); justify-content: center; }
.uf {
  grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1);
  display: grid; place-items: center; border-radius: 10px; position: relative;
  font-family: var(--ff-mono); font-size: .74rem; font-weight: 500; color: var(--on-dark-muted);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  transition: transform .35s var(--ease-out), background-color .3s, color .3s;
  opacity: 0; transform: scale(.6);
}
.mapa.is-in .uf { opacity: 1; transform: scale(1); transition-delay: calc((var(--c) + var(--r)) * 45ms); }
.uf.is-on { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 22px -10px rgba(47,107,255,.9); }
.uf.is-home { background: #fff; color: var(--ink); }
.uf.is-home::before { content: ""; position: absolute; inset: -6px; border-radius: 14px; border: 1.5px solid #fff; opacity: .6; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.uf:hover { transform: scale(1.12) !important; z-index: 2; transition-delay: 0s !important; }
.uf::after {
  content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px;
  white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-family: var(--ff); font-size: .8rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.uf:hover::after { opacity: 1; translate: -50% 0; }

/* ---------- serviços ---------- */
.servicos { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(47,107,255,.14), transparent 65%);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(13,16,21,.35); border-color: rgba(47,107,255,.35); }
.card:hover::before { opacity: 1; }
.card__ico { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.card__ico .accent { stroke: var(--accent); stroke-dasharray: 120; stroke-dashoffset: 0; }
.card__ico .fill { fill: var(--accent); stroke: none; }
.card:hover .card__ico .accent { animation: draw 1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.card__num { position: absolute; top: 26px; right: 24px; font-family: var(--ff-mono); font-size: .78rem; color: var(--muted); }
.card h3 { font-size: 1.18rem; letter-spacing: -.01em; line-height: 1.22; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card--cta { background: var(--accent); color: #fff; border-color: transparent; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; background-image: radial-gradient(circle at 100% 0, rgba(255,255,255,.25), transparent 50%); }
.card--cta h3 { font-size: 1.5rem; }
.card--cta p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.card--cta .btn { align-self: flex-start; }
.tipos { display: flex; gap: 22px; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.tipos__label { margin: 0; font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; font-weight: 550; transition: background-color .25s, color .25s, border-color .25s; }
.pills li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- laboratório ---------- */
.lab { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.lab::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 20% 30%, rgba(47,107,255,.16), transparent 70%); pointer-events: none; }
.lab .sec-title { color: #fff; }
.lab .sec-intro p { color: var(--on-dark-muted); }
.lab__wrap { position: relative; display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; }
.lab__stage, .lab__panel { border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.lab__stage { padding: 18px 18px 12px; }
.beam [hidden] { display: none; }
.beam { width: 100%; height: auto; color: #fff; user-select: none; -webkit-user-select: none; touch-action: none; }
.beam__axis { stroke: rgba(255,255,255,.3); stroke-dasharray: 6 6; }
.beam__body { fill: none; stroke: #cfd5de; stroke-linecap: butt; transition: stroke-width .3s var(--ease-out); }
.beam__sup { fill: none; stroke: #cfd5de; stroke-width: 2; }
.beam__load { cursor: grab; outline: none; }
.beam__load:active { cursor: grabbing; }
.beam__load line { stroke: var(--accent-2); stroke-width: 3.5; }
.beam__handle { fill: var(--accent); stroke: #fff; stroke-width: 2; transition: r .2s; }
.beam__load:hover .beam__handle, .beam__load:focus-visible .beam__handle { r: 18; }
.beam__load:focus-visible .beam__handle { stroke: var(--warn); stroke-width: 3; }
.beam__grip { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.beam__load text, .beam__cota text, .beam__mlabel, .beam__tag, .beam__react text { font-family: var(--ff-mono); font-size: 14px; fill: #fff; }
.beam__load text { font-weight: 500; fill: var(--accent-2); }
.beam__cota line { stroke: rgba(255,255,255,.45); stroke-width: 1.2; }
.beam__cota text { fill: var(--on-dark-muted); font-size: 13px; }
.beam__maxis { stroke: rgba(255,255,255,.3); }
.beam__m { fill: url(#mgrad); stroke: var(--accent-2); stroke-width: 2; stroke-linejoin: round; }
.beam__mlabel { fill: var(--accent-2); font-size: 13px; }
.beam__tag { fill: var(--on-dark-muted); font-size: 11px; letter-spacing: .14em; }
.beam__react line { stroke: var(--ok); stroke-width: 3; }
.beam__react text { fill: var(--ok); font-size: 13px; }
.lab__hint { margin: 6px 4px 0; font-family: var(--ff-mono); font-size: .76rem; color: var(--on-dark-muted); letter-spacing: .04em; }
.lab__panel { padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--on-dark-muted); transition: background-color .25s, color .25s; }
.seg input:checked + span { background: #fff; color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; font-size: .92rem; color: var(--on-dark-muted); }
.range output { font-family: var(--ff-mono); color: #fff; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer; background: linear-gradient(90deg, var(--accent) var(--p, 50%), rgba(255,255,255,.12) var(--p, 50%)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.4); transition: transform .2s; }
.range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.range input:active::-webkit-slider-thumb { transform: scale(1.2); }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 14px; overflow: hidden; background: var(--line-dark); }
.readout div { background: var(--ink-2); padding: 12px 14px; }
.readout dt { font-size: .76rem; color: var(--on-dark-muted); }
.readout dd { margin: 2px 0 0; font-family: var(--ff-mono); font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.meter__top { display: flex; justify-content: space-between; font-size: .84rem; color: var(--on-dark-muted); margin-bottom: 8px; }
.meter__top span:last-child { font-family: var(--ff-mono); color: #fff; }
.meter__bar { position: relative; height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: visible; }
.meter__bar span { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--ok); transition: width .35s var(--ease-out), background-color .3s; }
.meter__mark { position: absolute; left: 66.6%; top: -4px; bottom: -4px; width: 2px; background: #fff; border-radius: 2px; }
.meter__msg { margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: var(--ok); }
.meter__msg.is-warn { color: var(--warn); } .meter__msg.is-bad { color: var(--bad); }
.lab__note { margin: 18px 0 0; font-size: .82rem; color: var(--on-dark-muted); max-width: 90ch; }

/* ---------- processo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; padding-top: 34px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -41px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--concrete); transition: border-color .3s, background-color .3s, transform .3s var(--ease-out); }
.step.is-on::before { border-color: var(--accent); background: var(--accent); transform: scale(1.15); }
.step__n { font-family: var(--ff-mono); font-size: .8rem; color: var(--accent); }
.step h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- obras ---------- */
.obras { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: .93rem; transition: background-color .25s, color .25s, border-color .25s;
}
.filter span { font-family: var(--ff-mono); font-size: .75rem; padding: 2px 7px; border-radius: 999px; background: var(--paper-2); color: var(--muted); transition: inherit; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active span { background: rgba(255,255,255,.16); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.obra { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.obra.is-hidden { display: none; }
.obra.is-entering { opacity: 0; transform: translateY(18px) scale(.98); }
.obra.is-big { grid-column: span 2; grid-row: span 2; }
.obra__btn {
  position: relative; display: block; width: 100%; height: 100%; min-height: 220px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--ink); text-align: left; color: #fff;
}
.obra__btn picture, .obra__btn img { position: absolute; inset: 0; width: 100%; height: 100%; }
.obra__btn img { object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; }
.obra__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,16,21,.88) 0%, rgba(13,16,21,.2) 45%, transparent 70%); transition: opacity .4s; }
.obra__btn:hover img, .obra__btn:focus-visible img { transform: scale(1.07); }
.obra__meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; transition: transform .45s var(--ease-out); }
.obra__cat { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #b4c8ff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.obra__title { font-size: 1.04rem; line-height: 1.2; }
.obra__place { font-size: .84rem; opacity: .78; }
.obra.is-big .obra__title { font-size: 1.4rem; }
.obra__count { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(13,16,21,.65); backdrop-filter: blur(6px); font-family: var(--ff-mono); font-size: .72rem; }
.obra__btn:hover .obra__meta { transform: translateY(-4px); }
.gallery__more { display: flex; justify-content: center; margin-top: 34px; }
.gallery__more[hidden] { display: none; }

/* ---------- equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(13,16,21,.3); }
.person__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.2) contrast(1.02); transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter .6s; }
.person:hover .person__photo img { transform: scale(1.09); filter: none; }
.person__photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(13,16,21,.55), transparent); pointer-events: none; }
.js .person__photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--d, 0s) + .15s); }
.js .person.is-in .person__photo { clip-path: inset(0 0 0 0); }
.person__crea { position: absolute; left: 16px; bottom: 16px; z-index: 1; margin: 0; padding: 6px 12px; border-radius: 8px; background: rgba(13,16,21,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .04em; }
.person__body { padding: 24px 26px 28px; }
.person h3 { font-size: 1.32rem; margin-bottom: 4px; }
.person__role { color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.person__facts { display: grid; gap: 8px; }
.person__facts li { position: relative; padding-left: 16px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.person__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--concrete); }

/* ---------- clientes ---------- */
.clientes { background: var(--paper-2); overflow: hidden; }
.marquee { position: relative; margin-top: 18px; }
.marquee__label { width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto 12px; font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 12px; padding-right: 12px; }
.marquee__list li {
  white-space: nowrap; padding: 18px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 650; font-stretch: 95%; letter-spacing: -.01em; transition: background-color .3s, color .3s;
}
.marquee__list li:hover { background: var(--ink); color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper-2), transparent); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__aside { color: var(--muted); }
.faq__aside a { color: var(--accent); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-size: 1.12rem; font-weight: 650; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151a21' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease-out), background-color .25s; }
.faq summary:hover { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent-soft); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; animation: fadeDown .45s var(--ease-out); }
.faq details a { color: var(--accent); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- contato ---------- */
.contato { background: var(--ink); color: var(--on-dark); }
.contato::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 90% 10%, rgba(47,107,255,.18), transparent 70%); pointer-events: none; }
.contato .sec-title { color: #fff; }
.contato__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contato__lead { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 46ch; margin-bottom: 30px; }
.channels { display: grid; gap: 10px; }
.channel {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.channel:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); transform: translateX(6px); }
.channel .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; }
.channel--wa .ico { background: var(--wa); }
.channel span { display: flex; flex-direction: column; font-weight: 600; color: #fff; line-height: 1.35; }
.channel small { font-family: var(--ff-mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.channel address { font-weight: 600; }
.form { padding: clamp(24px, 3.4vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 16px; }
.form h3 { font-size: 1.6rem; color: #fff; }
.form__sub { margin: -6px 0 6px; color: var(--on-dark-muted); font-size: .95rem; }
.field { display: grid; gap: 6px; }
.field span { font-size: .84rem; color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: #fff; font-size: 1rem;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa5b4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(154,165,180,.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(47,107,255,.2); }
.field.is-error input { border-color: var(--bad); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form__actions .btn { flex: 1 1 200px; }
.form__err { margin: 0; color: var(--bad); font-size: .9rem; }

.map { position: relative; margin-top: clamp(40px, 6vw, 70px); height: 380px; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line-dark); background: #18202c; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.map__facade { position: absolute; inset: 0; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__road { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 14; stroke-linecap: round; }
.map__road--thin { stroke-width: 5; stroke: rgba(255,255,255,.08); }
.map__pin { position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.map__pin span { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(47,107,255,.6); animation: pin 2s infinite; }
@keyframes pin { 70% { box-shadow: 0 0 0 26px rgba(47,107,255,0); } 100% { box-shadow: 0 0 0 0 rgba(47,107,255,0); } }
.map__card { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; width: min(92%, 460px); padding: 18px 20px; border-radius: 16px; background: #fff; color: var(--text); display: grid; gap: 4px; text-align: center; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.map__card span { color: var(--muted); font-size: .92rem; }
.map__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: #080a0e; color: var(--on-dark-muted); padding: 70px 0 30px; font-size: .95rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.brand--footer { color: #fff; margin-bottom: 16px; }
.footer__h { font-family: var(--ff-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__links { display: grid; gap: 6px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .85rem; }
.footer__bottom { align-items: center; padding-right: 84px; }
.footer__bottom p { margin: 0; }
.footer__credit { display: flex; justify-content: center; margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.credit { display: inline-flex; opacity: .6; transition: opacity .25s, transform .35s var(--ease-out); }
.credit img { width: 80px; height: auto; }
.credit:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 0; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; text-decoration: none; transform: translateY(120px); transition: transform .6s var(--ease-out); }
.wa-float.is-visible { transform: none; }
.wa-float__btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(31,174,91,.8); transition: transform .3s var(--ease-out); }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
.wa-float__btn .ico { width: 30px; height: 30px; }
.wa-float:hover .wa-float__btn { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip { padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; white-space: nowrap; }
.wa-float__tip.is-on, .wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgba(8,10,14,.94); backdrop-filter: blur(10px); color: #fff; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; display: grid; gap: 16px; justify-items: center; min-width: 0; }
.lightbox__imgwrap { position: relative; max-width: 100%; }
.lightbox__imgwrap { display: grid; place-items: center; width: 100%; }
.lightbox__fig img { width: min(100%, calc(var(--w, 600) * 1.5px)); height: auto; max-height: 72vh; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 80px -30px #000; }
.lightbox__fig img.is-swap { animation: swap .45s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: scale(.97); } }
.lightbox__cap { display: grid; gap: 2px; text-align: center; max-width: 640px; }
.lightbox__cat { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.lightbox__cap strong { font-size: 1.3rem; }
.lightbox__cap > span:nth-of-type(2) { color: var(--on-dark-muted); }
.lightbox__desc { color: var(--on-dark); font-size: .95rem; margin-top: 6px; }
.lightbox__desc:empty { display: none; }
.lightbox__count { font-family: var(--ff-mono); font-size: .76rem; color: var(--on-dark-muted); margin-top: 8px; }
.lightbox__nav, .lightbox__close { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: background-color .2s, transform .3s var(--ease-out); }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.16); transform: scale(1.06); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.1s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .obra.is-big { grid-column: span 2; grid-row: span 1; }
  .lab__wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 34px;
    padding: 90px var(--gutter) 40px; background: var(--ink); color: #fff;
    clip-path: circle(0 at calc(100% - 40px) 33px); visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 33px); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 750; font-stretch: 105%; padding: 4px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease-out); }
  .nav__list a::after { left: 0; right: auto; width: 40px; }
  .nav.is-open .nav__list a { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) a { transition-delay: .15s; } .nav.is-open .nav__list li:nth-child(2) a { transition-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(3) a { transition-delay: .25s; } .nav.is-open .nav__list li:nth-child(4) a { transition-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(5) a { transition-delay: .35s; } .nav.is-open .nav__list li:nth-child(6) a { transition-delay: .4s; }
  .nav__cta { min-height: 54px; }
  .header.menu-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.menu-open .brand { position: relative; z-index: 2; }

  .hero { align-items: flex-end; padding-bottom: 130px; }
  .hero__canvas { opacity: .32; }
  .hero__hud, .hero__scroll { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sec-intro { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__media { position: relative; top: 0; max-width: 360px; }
  .mapa { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; padding-top: 0; padding-left: 36px; }
  .steps::before, .steps::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--prog, 0)); }
  .step::before { top: 4px; left: -36px; }
  .team { gap: 12px; }
  .person__body { padding: 18px 18px 22px; }
  .person h3 { font-size: 1.12rem; }
  .person__crea { left: 10px; bottom: 10px; font-size: .68rem; padding: 5px 9px; }
  .faq__grid { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand__mark { width: 38px; }
  .brand__name { font-size: 1.4rem; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .stat { padding: 22px 18px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .obra__btn { min-height: 170px; }
  .obra__meta { left: 12px; right: 12px; bottom: 10px; }
  .obra__title { font-size: .95rem; }
  .obra.is-big .obra__title { font-size: 1.15rem; }
  .readout { grid-template-columns: 1fr 1fr; }
  .lab__panel { padding: 18px; }
  .lab__stage { padding: 10px 6px 8px; }
  .beam .beam__load text, .beam .beam__cota text, .beam .beam__mlabel, .beam .beam__react text { font-size: 24px; }
  .beam .beam__tag { font-size: 18px; }
  .beam__handle { r: 20; }
  .faq details p { padding-right: 0; }
  .team { grid-template-columns: 1fr; }
  .person { flex-direction: row; align-items: stretch; }
  .person__photo { flex: 0 0 40%; aspect-ratio: auto; min-height: 190px; }
  .person__body { padding: 16px 16px 18px; }
  .person__facts li { font-size: .88rem; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 70px 14px 20px; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-row: 2; justify-self: end; }
  .lightbox__next { grid-row: 2; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { height: 420px; }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__tip { display: none; }
}

@media (hover: none) {
  .hero__canvas { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; padding: 0 var(--gutter); }
}
