/* MPI Soluções Industriais — HTML + CSS, sem dependências.
   Cores da marca: azul-marinho do logo e laranja da onda de vibração. */

:root {
  --bg: #070b29;
  --bg-2: #0a0f33;
  --surface: #0e1540;
  --surface-2: #141c4f;
  --surface-3: #1b255f;
  --line: rgba(232, 236, 252, .09);
  --line-2: rgba(232, 236, 252, .17);
  --ink: #eef1fb;
  --muted: #aab1d0;
  --accent: #f15423;
  --accent-2: #ff7448;
  --accent-ink: #0a0f30;
  --field: #c43e16;
  --field-2: #a93311;
  --paper: #f5f6fb;
  --paper-ink: #0a0f30;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 24px;
  --radius-lg: 32px;
  --corner: 96px; /* o canto grande, inclinado como o logo */
  --section: clamp(56px, 6.5vw, 96px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
svg use { pointer-events: none; }

/* grade técnica suave no fundo */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(232,236,252,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(232,236,252,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.cut { border-radius: var(--radius) var(--corner) var(--radius) var(--radius); overflow: hidden; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 12px; }

/* ---------- tipografia ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(241, 84, 35, .12);
  color: var(--accent-2);
  font-size: .875rem; font-weight: 700; letter-spacing: .01em;
}
.kicker svg { width: 16px; height: 16px; }
.kicker--light { background: rgba(255, 255, 255, .14); color: #fff; }
.h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.5rem);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; color: var(--ink); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.section__head .lead { max-width: 460px; color: var(--muted); }

/* ---------- botões ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .3s, color .25s;
  box-shadow: 0 8px 24px -10px rgba(241, 84, 35, .6);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { background: var(--accent-2); box-shadow: 0 14px 34px -12px rgba(241, 84, 35, .75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ghost { background: rgba(232, 236, 252, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(232, 236, 252, .12); box-shadow: inset 0 0 0 1px rgba(232,236,252,.32); }
.btn--ghost::after { background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); }
.btn--paper { background: var(--paper); color: var(--paper-ink); box-shadow: 0 10px 26px -12px rgba(0,0,0,.5); }
.btn--paper:hover { background: #fff; }
.btn--line-light { background: rgba(0,0,0,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--line-light:hover { background: rgba(0,0,0,.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }

/* ---------- abertura ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader img { position: relative; width: 210px; height: auto; animation: loaderIn 1.1s var(--ease-out) both; }
.loader__glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(241,84,35,.32), transparent 65%); animation: pulse 2.4s ease-in-out infinite; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loaderIn { from { opacity: 0; transform: scale(.88); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(1); } 45% { opacity: 1; transform: scale(1.07); } }

/* ---------- menu ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 80; pointer-events: none; transition: inset .4s var(--ease); }
.nav__inner {
  pointer-events: auto;
  width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 18px;
  border-radius: 22px;
  background: rgba(14, 21, 64, .55);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background-color .4s, box-shadow .4s, padding .4s var(--ease);
}
.nav.is-scrolled { inset-block-start: 10px; }
.nav.is-scrolled .nav__inner { background: rgba(10, 15, 51, .88); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -18px rgba(0,0,0,.7); }
.nav.is-hidden { inset-block-start: -100px; }
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__brand img { width: 150px; height: auto; transition: transform .5s var(--ease-out); }
.nav__brand:hover img { transform: scale(1.04); }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 10px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; color: var(--muted);
  transition: color .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__indicator {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%;
  border-radius: 999px; background: rgba(232, 236, 252, .09);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
  opacity: 0;
}
.nav__indicator::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--accent);
}
.nav__burger { display: none; }
@media (min-width: 961px) { .drawer { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: 70;
  padding: 110px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: rgba(7, 11, 41, .97);
  clip-path: circle(0 at calc(100% - 44px) 44px);
  visibility: hidden; overflow-y: auto;
  transition: clip-path .7s var(--ease), visibility .7s;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.drawer nav { display: grid; }
.drawer nav a {
  padding: 10px 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 2.125rem; line-height: 1.1; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.drawer nav a:hover, .drawer nav a.is-active { color: var(--accent); }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer.is-open nav a:nth-child(1) { transition-delay: .15s; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .2s; }
.drawer.is-open nav a:nth-child(3) { transition-delay: .25s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .3s; }
.drawer.is-open nav a:nth-child(5) { transition-delay: .35s; }
.drawer.is-open nav a:nth-child(6) { transition-delay: .4s; }
.drawer__foot { display: grid; gap: 12px; }
.drawer__foot p { margin-top: 8px; color: var(--muted); font-size: .9375rem; text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -25% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(46, 64, 190, .45), transparent 62%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero__title {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(3rem, 1.4rem + 5.2vw, 5.75rem);
  font-weight: 800; font-stretch: 112%;
  line-height: .95; letter-spacing: -0.035em;
}
.hero__title .w { display: inline-block; white-space: nowrap; }
.hero__title .ch { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(10px); }
.hero__title .is-hl { color: var(--accent); }
.is-ready .hero__title .ch { animation: chIn 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 22ms + .15s); }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.hero__lead { margin-top: 26px; max-width: 42ch; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.5; color: var(--muted); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9375rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 18px; height: 18px; color: var(--accent); }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 480px; padding: 24px 0 40px; }
.hero__glow {
  position: absolute; inset: 10% -14% 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(241, 84, 35, .34), transparent 62%);
  filter: blur(22px);
  animation: pulse 3.4s ease-in-out infinite;
}
.hero__gear { /* a engrenagem do logo, girando atrás da foto */
  position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; top: -4%; right: -18%;
  color: rgba(232, 236, 252, .08);
  animation: spin 60s linear infinite;
}
.hero__frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0,0,0,.8);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out);
}
.hero__frame::after {
  content: ""; position: absolute; inset: 12px; border-radius: 22px 150px 22px 22px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 140, 100, .4);
}
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero__frame img.is-on { opacity: 1; transform: scale(1.02); }
.hero__wave { /* onda de vibração do logo */
  position: absolute; z-index: 2; left: -10%; right: -10%; bottom: 18%; height: 90px; pointer-events: none;
}
.hero__wave path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; filter: drop-shadow(0 0 8px rgba(241,84,35,.7)); }
.is-ready .hero__wave path { animation: draw 2.4s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(14, 21, 64, .84);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  line-height: 1.25;
}
.badge strong { display: block; font-size: .9375rem; }
.badge small { display: block; font-size: .8125rem; color: var(--muted); }
.badge--top { top: 64px; left: -44px; animation: floaty 6s ease-in-out infinite; }
.badge--bottom { bottom: 58px; right: -28px; animation: floaty 7s ease-in-out -2s infinite; }
.badge__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.badge__icon svg { width: 20px; height: 20px; }
.badge__num { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--accent); min-width: 2.2ch; text-align: center; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* faixa de fotos */
.strip {
  margin-top: 72px; padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track img {
  width: 240px; height: 280px; object-fit: cover; border-radius: 20px;
  transition: transform .5s var(--ease-out), filter .4s;
  filter: saturate(.9);
}
.strip__track img:nth-child(odd) { transform: translateY(18px); }
.strip__track img:hover { transform: translateY(-6px) scale(1.03); filter: saturate(1.1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__collage { position: relative; padding: 0 12% 14% 0; }
.about__big { aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line-2); }
.about__big img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); }
.about__small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 8px var(--bg), 0 30px 60px -20px rgba(0,0,0,.8);
}
.about__small img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.about__small:hover img { transform: scale(1.06); }
.stamp { position: absolute; top: 5%; right: 1%; width: 124px; height: 124px; display: grid; place-items: center; }
.stamp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.stamp svg.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { fill: var(--accent-2); font-size: 9.6px; font-weight: 700; letter-spacing: 2.1px; font-family: var(--text); }
.stamp__gear { position: relative; width: 46px; height: 46px; color: var(--ink); animation: spin 14s linear infinite reverse; }
.about__text > .lead { margin-top: 22px; }
.about__text > p:not(.lead):not(.kicker) { margin-top: 14px; color: var(--muted); }
.about__text .btn { margin-top: 30px; }
.features { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features li {
  display: flex; gap: 14px; padding: 18px;
  border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), box-shadow .3s, background-color .3s;
}
.features li:hover { transform: translateY(-4px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.features__icon, .info__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(241,84,35,.13); color: var(--accent); }
.features__icon svg, .info__icon svg { width: 22px; height: 22px; }
.features strong { display: block; font-size: 1rem; line-height: 1.3; }
.features p { margin-top: 3px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }

/* segmentos */
.segments { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.segments li { padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; color: var(--muted); transition: color .25s, background-color .25s; }
.segments li:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- painéis com luz que segue o cursor ---------- */
.panel, [data-spot] { --sx: 50%; --sy: 0%; }
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
[data-spot]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(241, 84, 35, .1), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
[data-spot]:hover::before { opacity: 1; }
.panel > * { position: relative; z-index: 1; }

/* ---------- tour das tecnologias ---------- */
.tour__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(28px, 5vw, 64px); align-items: center; }
.tour__list ul { margin-top: 32px; display: grid; gap: 6px; }
.tour__list button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border: 0; border-radius: 16px; background: transparent; cursor: pointer; text-align: left;
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.15; letter-spacing: -0.015em;
  color: var(--muted);
  transition: background-color .3s, color .3s, padding .4s var(--ease-out);
}
.tour__list button svg { width: 22px; height: 22px; flex: none; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease-out); color: var(--accent); }
.tour__list button:hover { color: var(--ink); padding-left: 24px; }
.tour__list button[aria-pressed="true"] { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.tour__list button[aria-pressed="true"] svg, .tour__list button:hover svg { opacity: 1; transform: none; }
.tour__stage { justify-self: center; width: 100%; max-width: 460px; }
.tour__frame { position: relative; aspect-ratio: 4 / 4.4; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-2); }
.tour__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease-out), filter .35s; }
.tour__frame img.is-swap, .tabs-photo img.is-swap { opacity: 0; transform: scale(1.06); filter: blur(6px); }
.tour__fact { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 1rem; min-height: 4.8em; }
.tour__fact a { flex: none; margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 700; font-size: .9375rem; white-space: nowrap; }
.tour__fact a svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.tour__fact a:hover svg { transform: translateX(4px); }

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.stat:hover { transform: translateY(-4px); background: var(--surface-2); }
.stat__num { flex: none; min-width: 72px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.stat__num svg { width: 44px; height: 44px; }
.stat strong { display: block; font-size: 1.0625rem; line-height: 1.25; }
.stat small { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.35; }

/* ---------- abas de serviços ---------- */
.svc__panel { padding: clamp(20px, 4vw, 48px); }
.tabs {
  position: relative; display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; z-index: 1; flex: none;
  padding: 12px 20px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-weight: 700; font-size: .9375rem; color: var(--muted); white-space: nowrap;
  transition: color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); }
.tabs.has-ink button[aria-selected="true"] { background: none; }
.tabs__ink { opacity: 0; position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--accent); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs.has-ink .tabs__ink { opacity: 1; }
.svc__body { margin-top: 36px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.tabpanel h3 { font-family: var(--display); font-stretch: 110%; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tabpanel h3 small { font-family: var(--text); font-size: .9375rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tabpanel > p { margin-top: 10px; color: var(--muted); max-width: 56ch; }
.tabpanel.is-on { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.svc-links { margin-top: 22px; display: grid; gap: 8px; }
.svc-links a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s, transform .4s var(--ease-out), box-shadow .3s;
}
.svc-links a:hover { background: var(--surface-2); transform: translateX(6px); box-shadow: inset 0 0 0 1px var(--line-2); }
.svc-links img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.svc-links strong { display: block; font-size: 1.0rem; line-height: 1.3; }
.svc-links small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.svc-links > li > a > svg { width: 20px; height: 20px; color: var(--accent); transition: transform .3s var(--ease-out); }
.svc-links a:hover > svg { transform: translateX(4px); }
.tabs-photo { aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line-2); position: sticky; top: 120px; background: var(--surface-2); }
.tabs-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1s var(--ease-out), filter .35s; }
.svc__foot { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- card de chamada ---------- */
.call__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--field), var(--field-2));
}
.call__card::after { /* engrenagem grande ao fundo */
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 62%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23000' fill-opacity='.14' d='M43 2h14l2 12 7 3 10-7 10 10-7 10 3 7 12 2v14l-12 2-3 7 7 10-10 10-10-7-7 3-2 12H43l-2-12-7-3-10 7-10-10 7-10-3-7-12-2V43l12-2 3-7-7-10 10-10 10 7 7-3 2-12Zm7 28a20 20 0 1 0 0 40 20 20 0 0 0 0-40Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: spin 80s linear infinite;
}
.call__card .h2 { color: #fff; }
.call__text { position: relative; z-index: 1; }
.call__text .lead { margin-top: 18px; max-width: 36ch; color: #ffe3d8; }
.call__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.call__contacts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.call__contacts a {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border-radius: 18px; background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.call__contacts a:hover { background: rgba(0,0,0,.3); transform: translateY(-3px); }
.call__contacts span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16); }
.call__contacts svg { width: 20px; height: 20px; }
.call__contacts small { display: block; font-size: .8125rem; color: #ffd6c6; line-height: 1.2; }
.call__contacts strong { display: block; font-size: 1rem; line-height: 1.3; color: #fff; }
.call__photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; max-width: 360px; justify-self: end; width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.call__photo img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); }

/* ---------- galeria de projetos ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item { position: relative; border: 0; padding: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery__item:first-child { grid-row: span 2; border-radius: var(--radius) var(--corner) var(--radius) var(--radius); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .4s; }
.gallery__item span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(7, 11, 41, .45); opacity: 0; transition: opacity .4s;
}
.gallery__item span svg { width: 34px; height: 34px; transform: scale(.7); transition: transform .5s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover span { opacity: 1; }
.gallery__item:hover span svg { transform: none; }
.gallery__item[hidden] { display: none; }
.gallery__more { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.lightbox {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center;
  background: rgba(4, 6, 24, .94); padding: 64px 16px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transition: opacity .25s; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(232,236,252,.1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s;
}
.lightbox button:hover { background: var(--accent); color: var(--accent-ink); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox [data-lb-close] { top: 16px; right: 16px; }
.lightbox [data-lb-prev] { left: 16px; top: 50%; margin-top: -26px; }
.lightbox [data-lb-prev] svg { transform: rotate(180deg); }
.lightbox [data-lb-next] { right: 16px; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9375rem; }

/* ---------- orçamento ---------- */
.quote__panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 64px); padding: clamp(24px, 5vw, 64px); }
.quote__side .lead { margin-top: 18px; color: var(--muted); }
.ticket-wrap {
  margin-top: 36px; padding: 40px 24px 28px;
  border-radius: var(--radius) var(--corner) var(--radius) var(--radius);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; justify-items: center; gap: 20px;
}
.ticket { /* a ordem de serviço, preenchida enquanto o cliente digita */
  position: relative; width: 100%; max-width: 400px;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 14px; overflow: hidden;
  transform: rotate(-1.8deg);
  box-shadow: 0 2px 0 #cfd3e6, 0 24px 40px -18px rgba(0,0,0,.7);
  transition: transform .5s var(--ease-out);
}
.ticket.is-bump { transform: rotate(-.6deg) translateY(-5px); }
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--bg-2); color: #fff; }
.ticket__head img { width: 92px; height: auto; }
.ticket__head span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: #ffb59c; text-align: right; line-height: 1.3; }
.ticket__body { padding: 18px 18px 6px; display: grid; gap: 10px; }
.ticket__row { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.35; }
.ticket__row dt { color: #5c6385; font-weight: 600; }
.ticket__row dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ticket__row dd.is-empty { color: #9aa0bd; font-weight: 500; }
.ticket__svcs { display: flex; flex-wrap: wrap; gap: 6px; }
.ticket__svcs i { font-style: normal; padding: 3px 9px; border-radius: 999px; background: rgba(241,84,35,.14); color: #a83510; font-size: .8125rem; font-weight: 700; }
.ticket__foot { display: flex; align-items: center; gap: 10px; margin: 10px 18px 16px; padding-top: 12px; border-top: 1.5px dashed #c9cde0; font-size: .8125rem; color: #5c6385; }
.ticket__foot svg { width: 100%; height: 22px; color: var(--accent); }
.ticket__caption { color: var(--muted); font-size: .875rem; text-align: center; }

.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide, .quote__form > .btn, .quote__error, .quote__small, .checks { grid-column: 1 / -1; }
.field label, .checks legend { font-weight: 700; font-size: .9375rem; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #7880a5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(232,236,252,.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(241,84,35,.18); background: #0c1238; }
.field [aria-invalid="true"], .checks[aria-invalid="true"] .checks__grid { border-color: #ff8a6b; box-shadow: 0 0 0 4px rgba(255,138,107,.14); }
.checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 10px; }
.checks__grid { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 16px; border: 1px solid transparent; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease-out);
}
.checks span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .25s; }
.checks label:hover span { color: var(--ink); }
.checks input:checked + span { background: rgba(241,84,35,.16); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.checks input:checked + span::before { background: var(--accent); box-shadow: none; }
.checks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote__form > .btn { margin-top: 8px; }
.quote__error { color: #ffb39e; font-weight: 700; }
.quote__small { color: var(--muted); font-size: .875rem; text-align: center; }
.quote__small a { color: var(--accent-2); font-weight: 700; }

/* ---------- contato ---------- */
.visit__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.visit__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info {
  display: flex; gap: 14px; padding: 20px;
  border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), background-color .3s, box-shadow .3s;
  min-width: 0;
}
.info:hover { transform: translateY(-4px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.info > div { min-width: 0; }
.info small { display: block; font-size: .8125rem; color: var(--muted); }
.info strong { display: block; margin-top: 2px; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.info p { font-size: .9375rem; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.info a:hover { color: var(--accent-2); }
.visit__map { min-height: 420px; border-radius: var(--radius) var(--corner) var(--radius) var(--radius); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.4) hue-rotate(185deg) invert(.88) contrast(.9) brightness(.95); }

/* ---------- páginas internas ---------- */
.page-hero { position: relative; z-index: 0; padding: 150px 0 0; overflow-x: clip; overflow-y: visible; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(46, 64, 190, .42), transparent 62%); pointer-events: none; z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero h1 { margin-top: 20px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.page-hero .lead { margin-top: 22px; color: var(--muted); max-width: 44ch; }
.page-hero .hero__actions { margin-top: 30px; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }
.page-hero__media { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.page-hero__media .hero__frame { aspect-ratio: 4 / 4.2; }
.page-hero__media .hero__frame img { opacity: 1; transform: scale(1.02); }
.page-hero__thumb { position: absolute; z-index: 3; left: -40px; bottom: -28px; width: 42%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 6px var(--bg), 0 24px 48px -18px rgba(0,0,0,.8); animation: floaty 7s ease-in-out infinite; }
.page-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.benefits { padding: clamp(24px, 4vw, 44px); }
.benefits h2 { font-family: var(--display); font-stretch: 110%; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.1; }
.benefits ul { margin-top: 24px; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.45; transition: transform .4s var(--ease-out), background-color .3s; }
.benefits li:hover { transform: translateX(6px); background: var(--surface-2); }
.benefits li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
.diffs { padding: clamp(24px, 4vw, 44px); }
.diffs h2 { font-family: var(--display); font-stretch: 110%; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.1; }
.diffs ul { margin-top: 24px; display: grid; gap: 10px; }
.diffs li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.diffs p { margin-top: 26px; color: var(--muted); }
.diffs .btn { margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease-out), box-shadow .3s, background-color .3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(0,0,0,.8); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: 18px 56px 18px 18px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.card h3 { font-family: var(--display); font-stretch: 108%; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 700; font-size: .9375rem; }
.card__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.card:hover .card__more svg { transform: translateX(5px); }
.card__num { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(7,11,41,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 700; color: var(--accent-2); }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mvv li { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), background-color .3s; }
.mvv li:first-child { border-radius: var(--radius) var(--corner) var(--radius) var(--radius); }
.mvv li:hover { transform: translateY(-5px); background: var(--surface-2); }
.mvv h3 { margin-top: 18px; font-family: var(--display); font-stretch: 110%; font-size: 1.5rem; letter-spacing: -0.01em; }
.mvv p { margin-top: 8px; color: var(--muted); }
.mvv ul.values { margin-top: 10px; display: grid; gap: 6px; color: var(--muted); }
.mvv ul.values li { padding: 0; background: none; box-shadow: none; display: flex; gap: 10px; align-items: center; border-radius: 0; }
.mvv ul.values li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mvv ul.values li:hover { transform: none; }

.legal { max-width: 760px; }
.legal h2 { margin-top: 36px; font-family: var(--display); font-stretch: 110%; font-size: 1.5rem; }
.legal p, .legal li { margin-top: 12px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- rodapé ---------- */
.foot { padding-top: 24px; }
.foot__cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius) var(--corner) var(--radius) var(--radius);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
.foot__cta > * { position: relative; z-index: 1; }
.foot__title { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); letter-spacing: -0.025em; line-height: 1.05; }
.foot__cta p { margin-top: 8px; color: var(--muted); }
.foot__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__grid { margin-top: 72px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand img { width: 170px; height: auto; }
.foot__brand p { margin-top: 18px; color: var(--muted); max-width: 34ch; font-size: .9375rem; }
.foot__social { margin-top: 20px; display: flex; gap: 10px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.foot__social a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.foot__social svg { width: 20px; height: 20px; }
.foot__grid h3 { font-family: var(--display); font-stretch: 110%; font-size: 1.125rem; letter-spacing: -0.01em; }
.foot__grid ul, .foot__grid > div > p { margin-top: 16px; display: grid; gap: 10px; color: var(--muted); font-size: .9375rem; }
.foot__grid ul a { transition: color .25s; }
.foot__grid ul a:hover { color: var(--accent-2); }
.foot__last { margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; color: var(--muted); font-size: .875rem; }
.foot__last nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__last a:hover { color: var(--accent-2); }

/* flutuantes */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .4s var(--ease-out);
}
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2.6s var(--ease) infinite; }
.float-wa svg { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%,100% { transform: scale(1.7); opacity: 0; } }
.totop {
  position: fixed; right: 28px; bottom: 92px; z-index: 60;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out), background-color .3s;
}
.totop svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--surface-3); }

/* ---------- entradas ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .features li[data-reveal].is-in, .js .info[data-reveal].is-in, .js .card[data-reveal].is-in, .js .gallery__item[data-reveal].is-in, .js .mvv li[data-reveal].is-in, .js .stat[data-reveal].is-in {
  transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms), background-color .3s, box-shadow .3s;
}
.js .card[data-reveal].is-in:hover, .js .info[data-reveal].is-in:hover, .js .features li[data-reveal].is-in:hover, .js .mvv li[data-reveal].is-in:hover, .js .stat[data-reveal].is-in:hover { transition-delay: 0ms; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 10px 10px; font-size: .875rem; }
  .badge--top { left: -12px; }
  .badge--bottom { right: -8px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .page-hero__thumb { left: -12px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; border: 0; border-radius: 14px; cursor: pointer;
    background: var(--accent); color: var(--accent-ink);
  }
  .nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero, .page-hero { padding-top: 120px; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media, .page-hero__media { justify-self: center; max-width: 440px; }
  .about__grid, .tour__panel, .quote__panel, .visit__grid, .detail__grid { grid-template-columns: 1fr; }
  .about__collage { max-width: 520px; }
  .svc__body { grid-template-columns: 1fr; }
  .tabs-photo { display: none; }
  .tabs { flex-wrap: wrap; border-radius: 20px; overflow: visible; }
  .tabs.has-ink .tabs__ink { opacity: 0; }
  .tabs.has-ink button[aria-selected="true"] { background: var(--accent); }
  .call__card { grid-template-columns: 1fr; }
  .call__photo { justify-self: start; max-width: 300px; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .stats, .mvv { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --corner: 64px; }
  .nav { inset-block-start: 10px; }
  .nav__inner { padding: 8px 8px 8px 14px; border-radius: 18px; }
  .nav__brand img { width: 124px; }

  .hero, .page-hero { padding-top: 108px; }
  .hero__title { font-size: clamp(2.25rem, 10.4vw, 3rem); font-stretch: 100%; }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__chips { margin-top: 28px; gap: 10px 16px; font-size: .875rem; }
  .hero__media { padding: 8px 0 24px; }
  .hero__frame { border-radius: 24px 110px 24px 24px; }
  .hero__frame::after { border-radius: 16px 100px 16px 16px; }
  .badge { padding: 10px 14px 10px 10px; }
  .badge--top { top: 34px; left: -4px; }
  .badge--bottom { bottom: 34px; right: -4px; }
  .badge__icon { width: 34px; height: 34px; }
  .badge__num { font-size: 1.5rem; }
  .strip { margin-top: 40px; }
  .strip__track img { width: 170px; height: 210px; border-radius: 16px; }

  .section__head { margin-bottom: 32px; }
  .section__head .btn { width: 100%; }
  .about__collage { padding: 0 10% 16% 0; }
  .stamp { width: 96px; height: 96px; }
  .stamp text { font-size: 9.6px; }
  .stamp__gear { width: 36px; height: 36px; }
  .features { grid-template-columns: 1fr; }

  .tour__panel { padding: 24px 18px; gap: 28px; }
  .tour__list button { padding: 12px 14px; }
  .tour__list ul { margin-top: 20px; }
  .tour__fact { flex-direction: column; gap: 8px; }

  .stat { padding: 16px 18px; }
  .svc__panel { padding: 16px; border-radius: 26px; }
  .tabs { border-radius: 18px; }
  .tabs button { padding: 11px 16px; }
  .svc__body { margin-top: 24px; padding: 0 2px; }
  .svc-links a { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .svc-links img { width: 48px; height: 48px; }
  .svc__foot { flex-direction: column; }
  .svc__foot .btn { width: 100%; }

  .call__card { padding: 28px 20px; gap: 28px; }
  .call__actions .btn { width: 100%; }
  .call__contacts a { flex: 1 1 100%; }
  .call__photo { max-width: none; aspect-ratio: 4 / 3.4; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .lightbox [data-lb-prev], .lightbox [data-lb-next] { top: auto; bottom: 12px; margin: 0; }
  .lightbox__count { bottom: 28px; }

  .quote__panel { padding: 22px 16px; border-radius: 26px; }
  .ticket-wrap { padding: 28px 12px 20px; }
  .ticket { transform: rotate(-1deg); }
  .quote__form { grid-template-columns: 1fr; gap: 14px; }
  .btn--block { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }

  .visit__cards { grid-template-columns: 1fr; }
  .visit__map, .visit__map iframe { min-height: 320px; }

  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.625rem); }
  .page-hero__thumb { left: -4px; bottom: -20px; }
  .cards { grid-template-columns: 1fr; }

  .foot__cta { padding: 28px 20px; }
  .foot__cta-actions { width: 100%; }
  .foot__cta-actions .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 56px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__last { flex-direction: column; }
  .float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .totop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__title .ch { opacity: 1; transform: none; filter: none; }
  .hero__wave path { stroke-dashoffset: 0; }
  .strip__track { animation: none; }
  .loader { display: none; }
}

/* diferenciais em 4 colunas na página inicial */
.features--4 { margin-top: 0; grid-template-columns: repeat(4, 1fr); }
.features--4 li { flex-direction: column; padding: 22px; }
@media (max-width: 1080px) { .features--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features--4 { grid-template-columns: 1fr; } .features--4 li { flex-direction: row; padding: 18px; } }
