/* ==========================================================
   Urbanix Clean — folha de estilos
   Sem frameworks. Cores tiradas do logótipo.
   ========================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }
@font-face { font-family: "Poppins Clean"; font-weight: 700; font-style: italic; font-display: block; src: url("../fonts/poppins-700i-clean.woff2") format("woff2"); }

:root {
  --blue-950: #061f4a;
  --blue-900: #0a2c66;
  --blue-700: #0b47a6;
  --blue-500: #2386da;
  --blue-100: #e3effb;
  --green-600: #1c8f42;
  --green-500: #23a34d;
  --green-300: #7be29b;
  --green-100: #e2f6e8;
  --ink: #0f1d33;
  --ink-2: #33435c;
  --muted: #5d6b80;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 2px 8px rgba(15, 29, 51, .05);
  --shadow: 0 18px 40px -18px rgba(10, 44, 102, .35);
  --shadow-lg: 0 40px 80px -30px rgba(6, 31, 74, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h3, h4 { font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-300); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- botões ---------- */
.btn {
  --b: var(--blue-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.4em;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--b); color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.2;
  box-shadow: 0 10px 24px -12px var(--b);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--b); }
.btn:active { transform: translateY(0); }
.btn-wa { --b: var(--green-600); }
.btn-wa:hover { background: var(--green-500); }
.btn-light { background: #fff; color: var(--blue-900); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-500); color: var(--blue-700); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { min-height: 42px; padding: .6em 1.1em; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue-700); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- cabeçalho ---------- */
.topbar { background: var(--blue-950); color: #c9d7ee; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a { padding: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 29, 51, .4); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: .95; }
.brand-name b { font-weight: 800; font-size: 1.22rem; letter-spacing: .01em; color: var(--blue-700); }
.brand-name i { font-family: "Poppins Clean", "Poppins", sans-serif; font-weight: 700; font-style: italic; font-size: .86rem; letter-spacing: .04em; color: var(--green-600); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-100); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg-soft); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ico { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 940px) {
  .topbar { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(15, 29, 51, .45);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; padding: 12px var(--gutter) 8px; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-cta { display: grid !important; gap: 10px; padding: 8px var(--gutter) 20px; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- títulos de secção ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.split-head > div { max-width: 640px; }
.accent { color: var(--blue-700); }
.accent-green { color: var(--green-600); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(35, 134, 218, .14), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(35, 163, 77, .12), transparent 70%),
    linear-gradient(#fff, var(--bg-soft));
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.7vw, 3.7rem); line-height: 1.04; margin-bottom: .45em; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--blue-700); }
.hero h1 .mark svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; color: var(--green-500); }
.hero .lead { max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: .5em; }
.hero-points .ico { color: var(--green-600); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .86rem; font-weight: 500; margin-bottom: 22px; }
.hero-badge span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--green-600); }

/* palco 3D */
.stage { position: relative; perspective: 1100px; aspect-ratio: 4 / 5; max-width: 500px; margin-top: 12px; width: 100%; margin-inline: auto; }
.stage-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.stage.is-moving .stage-inner { transition: transform .12s linear; }
.stage-panel {
  position: absolute; left: 6%; right: 6%; top: 20%; bottom: 0;
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-700) 55%, var(--blue-900));
  box-shadow: var(--shadow-lg);
  transform: translateZ(-40px);
}
.stage-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; filter: blur(2px); transform: scale(1.08); }
.stage-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 100%, rgba(35, 163, 77, .55), transparent 70%); }
.stage-rings { position: absolute; inset: 14% 0 0; transform: translateZ(-80px); pointer-events: none; }
.stage-rings::before, .stage-rings::after { content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(11, 71, 166, .18); }
.stage-rings::before { inset: -2% -6% 30% 30%; }
.stage-rings::after { inset: 40% 50% -4% -8%; border-color: rgba(35, 163, 77, .25); }
.stage-person {
  position: absolute; left: 50%; bottom: 5%; width: 74%;
  transform: translateX(-50%) translateZ(40px);
  filter: drop-shadow(0 30px 30px rgba(6, 31, 74, .35));
}
.stage-person img { width: 100%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 20px 40px -18px rgba(6, 31, 74, .5);
  font-size: .9rem; line-height: 1.25; color: var(--ink);
  transform: translateZ(var(--z, 90px));
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card .fc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); flex: none; }
.float-card .fc-ico.g { background: var(--green-100); color: var(--green-600); }
.fc-1 { left: -4%; top: 34%; --z: 110px; }
.fc-2 { right: -6%; top: 52%; --z: 140px; animation-delay: -2s; }
.fc-3 { left: 2%; bottom: 8%; --z: 90px; animation-delay: -4s; }
.sparkle { position: absolute; width: 34px; color: var(--green-500); transform: translateZ(60px); animation: twinkle 3.6s ease-in-out infinite; }
.sp-1 { right: 10%; top: 12%; }
.sp-2 { left: 14%; top: 18%; width: 20px; color: var(--blue-500); animation-delay: -1.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .45; scale: .75; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 420px; margin-top: 8px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}
@media (max-width: 480px) {
  .float-card { padding: 9px 12px 9px 9px; font-size: .8rem; }
  .float-card .fc-ico { width: 32px; height: 32px; border-radius: 10px; }
  .float-card small { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- faixa em movimento ---------- */
.ticker-clip { overflow: hidden; padding: 24px 0; margin-top: -42px; position: relative; z-index: 2; }
.ticker { background: var(--blue-700); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin-inline: -20px; box-shadow: var(--shadow); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 14px; height: 14px; background: var(--green-300); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- serviços (bento) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc-card { grid-column: span 6; }
.svc-card:nth-child(1) { grid-column: span 7; }
.svc-card:nth-child(2) { grid-column: span 5; }
.svc-card:nth-child(3) { grid-column: span 5; }
.svc-card:nth-child(4) { grid-column: span 7; }
@media (max-width: 860px) { .svc-card, .svc-card:nth-child(n) { grid-column: span 12; } }
@media (min-width: 560px) and (max-width: 860px) { .svc-card:nth-child(n) { grid-column: span 6; } }

.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .4s; will-change: transform; }
.tilt.is-moving { transition: transform .1s linear, box-shadow .4s; }
.tilt .glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .35), transparent 55%); opacity: 0; transition: opacity .3s; }
.tilt:hover .glare { opacity: 1; }

.svc-card a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; height: 100%; padding: 26px; border-radius: var(--radius); overflow: hidden;
  color: #fff; isolation: isolate; box-shadow: var(--shadow);
}
.svc-card a > img { position: absolute; inset: 0; z-index: -2; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.svc-card a:hover img { transform: scale(1.06); }
.svc-card a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 31, 74, 0) 30%, rgba(6, 31, 74, .55) 60%, rgba(6, 31, 74, .92)); }
.svc-card .tag { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--blue-900); transform: translateZ(30px); }
.svc-card h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .3em; transform: translateZ(40px); }
.svc-card p { color: rgba(255, 255, 255, .86); max-width: 440px; margin-bottom: 14px; font-size: .95rem; transform: translateZ(30px); }
.svc-card .more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .92rem; color: var(--green-300); transform: translateZ(30px); }
.svc-card .more .ico { transition: transform .25s var(--ease); }
.svc-card a:hover .more .ico { transform: translateX(5px); }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 8px, transparent 8px 16px); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { counter-increment: step; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line); position: relative; }
.step-num .ico { width: 26px; height: 26px; }
.step-num::after { content: counter(step); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-600); color: #fff; font-size: .78rem; font-weight: 600; display: grid; place-items: center; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: left; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* ---------- empresas ---------- */
.biz { position: relative; background: var(--blue-950); color: #c9d7ee; overflow: hidden; }
.biz::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(35, 134, 218, .35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(35, 163, 77, .25), transparent 70%); }
.biz .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.biz h2 { color: #fff; }
.biz .eyebrow { color: var(--green-300); }
.biz .lead { color: #b4c6e4; }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.sectors li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .9rem; color: #e5edf9; }
.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.freq div { padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.freq b { display: block; color: #fff; font-weight: 600; }
.freq small { font-size: .82rem; }
.biz-media { position: relative; perspective: 1000px; }
.biz-media .tilt { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.biz-media .m1 img { aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.biz-media .m2 { position: absolute; width: 46%; right: -4%; bottom: -10%; border: 6px solid var(--blue-950); }
.biz-media .m2 img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) {
  .biz .wrap { grid-template-columns: 1fr; }
  .biz-media { margin: 0 4% 40px 0; }
  .freq { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 480px) { .freq { grid-template-columns: 1fr; } }

/* ---------- equipa + vídeo ---------- */
.team .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.team-photos { display: flex; margin: 28px 0 30px; padding-left: 14px; }
.team-photos img { width: 84px; height: 84px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow-sm); margin-left: -14px; }
.team-list { display: grid; gap: 14px; margin-bottom: 30px; }
.team-list li { display: flex; gap: 14px; align-items: flex-start; }
.team-list .ico { margin-top: 3px; color: var(--green-600); width: 22px; height: 22px; }
.team-list b { color: var(--ink); font-weight: 600; }

.phone-wrap { perspective: 1200px; display: grid; place-items: center; }
.phone {
  position: relative; width: min(330px, 80vw); aspect-ratio: 9 / 18.6;
  padding: 12px; border-radius: 46px; background: #0d1626;
  box-shadow: inset 0 0 0 2px #2b3950, var(--shadow-lg);
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(2deg);
  transition: transform .9s var(--ease);
}
.phone:hover, .phone.playing { transform: none; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 90px; height: 24px; border-radius: 20px; background: #0d1626; transform: translateX(-50%); z-index: 3; }
.play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 31, 74, .7));
}
.play span { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--blue-700); box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.play:hover span { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255, 255, 255, .2); }
.play span .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.play em { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-style: normal; font-weight: 600; font-size: .92rem; }
.phone-shadow { width: 70%; height: 30px; margin-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 31, 74, .25), transparent); }
@media (max-width: 900px) { .team .wrap { grid-template-columns: 1fr; } .phone { transform: none; } }

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--line); }
.gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .8rem; font-weight: 600; transform: translateY(6px); opacity: 0; transition: .3s var(--ease); }
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { transform: none; opacity: 1; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 18, 40, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.lb-close { top: -16px; right: -10px; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: -14px; }
.lb-next { right: -14px; }

/* ---------- porquê nós ---------- */
.why .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.popout { position: relative; perspective: 1000px; max-width: 480px; margin-inline: auto; width: 100%; }
.popout-inner { position: relative; aspect-ratio: 1 / 1.08; transform-style: preserve-3d; }
.popout-box { position: absolute; inset: 22% 0 0; border-radius: 34px; background: linear-gradient(150deg, var(--green-500), var(--green-600) 50%, #126a30); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateZ(-30px); }
.popout-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.6px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.popout-person { position: absolute; left: 50%; bottom: 6%; width: 88%; transform: translateX(-46%) translateZ(50px); filter: drop-shadow(0 26px 24px rgba(6, 31, 74, .35)); }
.popout-stamp { position: absolute; right: -2%; top: 26%; width: 112px; height: 112px; transform: translateZ(100px) rotate(-10deg); }
.popout-stamp svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.popout-stamp img { position: absolute; inset: 31%; width: 38%; }
@keyframes spin { to { rotate: 360deg; } }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 34px; }
.why-item .ico-box { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--blue-100); color: var(--blue-700); margin-bottom: 14px; }
.why-item:nth-child(even) .ico-box { background: var(--green-100); color: var(--green-600); }
.why-item .ico-box .ico { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.08rem; margin-bottom: .35em; }
.why-item p { font-size: .94rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .why .wrap { grid-template-columns: 1fr; } .popout { max-width: 400px; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue-500); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 22px; height: 22px; color: var(--blue-700); transition: rotate .3s var(--ease); }
.faq-list details[open] summary .ico { rotate: 45deg; }
.faq-list .answer { padding: 0 22px 20px; color: var(--muted); }
.faq-list .answer p:last-child { margin: 0; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- orçamento / contacto ---------- */
.quote { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.quote .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin: 28px 0; }
.contact-cards a, .contact-cards div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.contact-cards a:hover { transform: translateX(4px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue-500); }
.contact-cards .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); flex: none; }
.contact-cards .ci.g { background: var(--green-100); color: var(--green-600); }
.contact-cards small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.contact-cards b { color: var(--ink); font-weight: 600; }

.form-card { padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.form-card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.form-card > p { color: var(--muted); font-size: .94rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--green-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(35, 134, 218, .15); }
.field.invalid input, .field.invalid select { border-color: #d64545; background: #fff6f6; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.form-actions .btn { flex: 1 1 260px; }
.form-alt { font-size: .9rem; color: var(--muted); }
.form-alt button { padding: 0; border: 0; background: none; color: var(--blue-700); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.form-msg.show { display: block; }
.form-msg.error { background: #fdecec; color: #9b2121; }
.form-msg.ok { background: var(--green-100); color: #145f2d; }
@media (max-width: 900px) { .quote .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 6vw, 64px); background: linear-gradient(120deg, var(--blue-700), var(--blue-900)); color: #d5e3f8; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 226, 155, .35), transparent); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--blue-950); color: #9fb2d1; padding: clamp(56px, 8vw, 88px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand-name b { color: #fff; }
.site-footer .brand-name i { color: var(--green-300); }
.site-footer .brand img { background: #fff; border-radius: 12px; padding: 5px; width: 46px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 16px 0 20px; max-width: 320px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 4px; color: var(--green-300); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- páginas de serviço ---------- */
.page-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(#fff, var(--bg-soft)); overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--blue-700); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.page-hero .wrap > .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.page-hero .media { perspective: 1000px; }
.page-hero .media .tilt { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero .media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap > .grid { grid-template-columns: 1fr; } }

.detail .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 36px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.checklist .ico { color: var(--green-600); margin-top: 3px; }
.ideal { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 34px; }
.ideal li { padding: 8px 14px; border-radius: 999px; background: var(--blue-100); color: var(--blue-900); font-weight: 500; font-size: .9rem; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: 24px; background: var(--blue-950); color: #c9d7ee; box-shadow: var(--shadow-lg); }
.side-card h2 { color: #fff; font-size: 1.4rem; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card ul { margin: 18px 0 8px; display: grid; gap: 8px; font-size: .92rem; }
.side-card li { display: flex; gap: 10px; }
.side-card li .ico { color: var(--green-300); margin-top: 4px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue-500); }
.related img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.related b { color: var(--ink); font-weight: 600; display: block; line-height: 1.3; }
.related small { color: var(--blue-700); font-weight: 600; }
@media (max-width: 900px) { .detail .wrap { grid-template-columns: 1fr; } .side-card { position: static; } .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checklist, .related { grid-template-columns: 1fr; } }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.not-found h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--blue-700); margin: 0; }

/* ---------- animações de entrada ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: 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; }
  .reveal { opacity: 1; translate: none; }
  .ticker-track { animation: none; }
}
@media print {
  .site-header, .topbar, .wa-float, .ticker, .site-footer { display: none; }
}

/* ==========================================================
   Nix — assistente virtual animado
   ========================================================== */
.nix { position: fixed; right: 18px; bottom: 18px; z-index: 70; font-size: 15px; }

/* personagem */
.nix-bot { width: 100%; height: 100%; overflow: visible; }
.nix-bot * { transform-box: view-box; }
.nix-float { animation: nixFloat 3.2s ease-in-out infinite; }
.nix-eyes { transform-origin: 40px 43px; animation: nixBlink 4.6s infinite; }
.nix-arm { transform-origin: 66px 52px; }
.nix-arm-l { transform-origin: 13px 48px; animation: nixSway 3.2s ease-in-out infinite; }
.nix-star { transform-origin: 40px 10px; animation: nixStar 2.8s ease-in-out infinite; }
.nix-bub { fill: none; stroke: #7cc0f5; stroke-width: 1.4; opacity: 0; animation: nixBub 4s ease-in infinite; }
.nix-bub.b2 { animation-delay: 1.3s; }
.nix-bub.b3 { animation-delay: 2.6s; }
.wave .nix-arm, .nix-head .nix-arm, .nix-teaser:not([hidden]) ~ .nix-launcher .nix-arm { animation: nixWave 1.1s ease-in-out 2; }
.nix-launcher:hover .nix-arm { animation: nixWave 1.1s ease-in-out infinite; }
.nix-launcher:hover .nix-mouth { d: path("M34 50q6 6 12 0"); }
@keyframes nixFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes nixBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes nixWave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(24deg); } 45% { transform: rotate(-14deg); } 70% { transform: rotate(20deg); } }
@keyframes nixSway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes nixStar { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(45deg); } }
@keyframes nixBub { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px) scale(1.1); } }

/* botão */
.nix-launcher {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px; padding: 6px;
  border: 0; border-radius: 50%; cursor: pointer; background: #fff;
  box-shadow: 0 16px 34px -12px rgba(6, 31, 74, .55), 0 0 0 1px rgba(11, 71, 166, .08);
  transition: transform .35s var(--ease), box-shadow .3s;
  animation: nixEnter .7s var(--ease) .6s both;
}
.nix-launcher:hover { transform: translateY(-3px) scale(1.04); }
.nix-launcher::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green-500); opacity: 0; animation: nixPulse 2.8s ease-out 1.5s infinite; }
.nix-launcher > .nix-bot { width: 60px; height: 60px; transition: transform .35s var(--ease), opacity .25s; }
.nix-x { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-700); opacity: 0; transform: rotate(-90deg) scale(.5); transition: .3s var(--ease); }
.nix-x .ico { width: 26px; height: 26px; }
.nix.is-open .nix-launcher > .nix-bot { opacity: 0; transform: scale(.4) rotate(20deg); }
.nix.is-open .nix-x { opacity: 1; transform: none; }
.nix.is-open .nix-launcher::before { display: none; }
.nix-badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e5484d; color: #fff; font-size: .75rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; animation: nixPop .4s var(--ease); }
.nix-badge[hidden] { display: none; }
@keyframes nixEnter { from { opacity: 0; transform: translateY(30px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes nixPulse { 0% { opacity: .7; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes nixPop { from { transform: scale(0); } to { transform: scale(1); } }

/* convite */
.nix-teaser {
  position: absolute; right: 0; bottom: 88px; width: 290px; padding: 18px 18px 16px;
  border-radius: 20px 20px 6px 20px; background: #fff; color: var(--ink-2);
  box-shadow: 0 24px 50px -18px rgba(6, 31, 74, .5), 0 0 0 1px var(--line);
  transform-origin: bottom right; transform: translateY(12px) scale(.85); opacity: 0;
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .3s;
}
.nix-teaser.show { transform: none; opacity: 1; }
.nix-teaser[hidden] { display: none; }
.nix-teaser p { margin: 0 18px 12px 0; font-size: .92rem; line-height: 1.5; }
.nix-teaser b { color: var(--ink); }
.nix-teaser-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.nix-teaser-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.nix-teaser-close .ico { width: 15px; height: 15px; }

/* janela */
.nix-window {
  position: absolute; right: 0; bottom: 88px; width: 380px; height: min(620px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff;
  box-shadow: 0 40px 80px -24px rgba(6, 31, 74, .55), 0 0 0 1px rgba(11, 71, 166, .08);
  transform-origin: bottom right; transform: translateY(16px) scale(.9); opacity: 0; visibility: hidden;
  transition: transform .4s cubic-bezier(.3, 1.3, .5, 1), opacity .25s, visibility .4s;
}
.nix-window.open { transform: none; opacity: 1; visibility: visible; }
.nix-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; color: #fff; background: linear-gradient(120deg, var(--blue-700), var(--blue-900)); overflow: hidden; }
.nix-head::after { content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 226, 155, .35), transparent); pointer-events: none; }
.nix-head-avatar { width: 50px; height: 50px; padding: 4px; border-radius: 16px; background: #fff; flex: none; }
.nix-head > div { flex: 1; min-width: 0; line-height: 1.25; }
.nix-head b { display: block; font-weight: 600; font-size: .98rem; }
.nix-status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: #cfe0f7; }
.nix-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 3px rgba(123, 226, 155, .25); animation: nixLive 2s infinite; }
@keyframes nixLive { 50% { box-shadow: 0 0 0 6px rgba(123, 226, 155, 0); } }
.nix-head-btn { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s; }
.nix-head-btn:hover { background: rgba(255, 255, 255, .24); }
.nix-head-btn .ico { width: 20px; height: 20px; }

.nix-body { flex: 1; overflow-y: auto; padding: 18px 14px 8px; background: var(--bg-soft); background-image: radial-gradient(rgba(11, 71, 166, .06) 1px, transparent 1.2px); background-size: 16px 16px; scroll-behavior: smooth; overscroll-behavior: contain; }
.nix-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 8px; animation: nixIn .35s var(--ease) both; }
.nix-row.user { justify-content: flex-end; }
.nix-msg-avatar { width: 32px; height: 32px; flex: none; padding: 2px; border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.nix-row.bot.cont .nix-msg-avatar { visibility: hidden; }
.nix-bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #fff; color: var(--ink); font-size: .93rem; line-height: 1.5; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.nix-bubble a { color: var(--blue-700); font-weight: 600; text-decoration: underline; }
.nix-row.user .nix-bubble { border-radius: 18px 18px 6px 18px; background: var(--blue-700); color: #fff; }
.nix-row.typing .nix-bubble { display: inline-flex; gap: 4px; padding: 14px 16px; }
.nix-row.typing .nix-bubble span { width: 7px; height: 7px; border-radius: 50%; background: #9fb2d1; animation: nixDot 1.1s infinite; }
.nix-row.typing .nix-bubble span:nth-child(2) { animation-delay: .15s; }
.nix-row.typing .nix-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes nixDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes nixIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.nix-card { margin: -2px -4px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.nix-card-head { padding: 8px 12px; background: var(--green-100); color: #145f2d; font-weight: 600; font-size: .86rem; }
.nix-card ul { padding: 6px 12px 8px; }
.nix-card li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.nix-card li:last-child { border: 0; }
.nix-card li span { color: var(--muted); white-space: nowrap; }
.nix-card li b { color: var(--ink); font-weight: 600; text-align: right; }

.nix-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; max-height: 38%; overflow-y: auto; background: var(--bg-soft); }
.nix-chips:empty { display: none; }
.nix-chip { padding: 8px 13px; border: 1.5px solid var(--blue-100); border-radius: 999px; background: #fff; color: var(--blue-700); font-size: .86rem; font-weight: 500; line-height: 1.25; cursor: pointer; text-align: left; transition: background .2s, border-color .2s, transform .2s; animation: nixIn .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.nix-chip:hover { border-color: var(--blue-500); background: var(--blue-100); transform: translateY(-1px); }
.nix-chip.primary { background: var(--green-600); border-color: var(--green-600); color: #fff; font-weight: 600; }
.nix-chip.primary:hover { background: var(--green-500); }

.nix-input { display: flex; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--line); background: #fff; }
.nix-input input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: 16px; }
.nix-input input:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.nix-input button { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--blue-700); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.nix-input button:hover { background: var(--blue-500); transform: rotate(-12deg); }
.nix-foot { margin: 0; padding: 0 12px 8px; text-align: center; font-size: .72rem; color: var(--muted); background: #fff; }

@media (max-width: 520px) {
  .nix { right: 14px; bottom: 14px; }
  .nix-launcher { width: 64px; height: 64px; }
  .nix-launcher > .nix-bot { width: 52px; height: 52px; }
  .nix-teaser { bottom: 78px; width: min(290px, calc(100vw - 28px)); }
  .nix-window { position: fixed; inset: 0; width: auto; height: 100dvh; border-radius: 0; transform-origin: bottom center; }
  .nix.is-open .nix-launcher { visibility: hidden; pointer-events: none; }
  .nix-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .nix-foot { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .nix-float, .nix-eyes, .nix-arm, .nix-arm-l, .nix-star, .nix-bub, .nix-launcher::before { animation: none !important; }
}
@media print { .nix { display: none; } }

/* ==========================================================
   Páginas próprias (serviços, empresas, sobre, etc.)
   ========================================================== */
.page-hero .wrap > .grid.no-media { grid-template-columns: 1fr; max-width: 820px; }
.sec-more { margin: 34px 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.prose p { color: var(--ink-2); }
.prose .h2 { margin-bottom: .6em; }
.media-card { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.svc-rows { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(16px, 2.5vw, 24px); border-radius: 30px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.svc-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease); }
.svc-row-media:hover img { transform: scale(1.05); }
.svc-row h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.svc-row h2 a:hover { color: var(--blue-700); }
.svc-row p { color: var(--muted); }
.checklist.compact { gap: 8px; margin: 16px 0 22px; }
.checklist.compact li { padding: 10px 12px; font-size: .92rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row-media { order: 0; } }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue-500); }
.sector .ico-box { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--blue-100); color: var(--blue-700); margin-bottom: 14px; }
.sector:nth-child(even) .ico-box { background: var(--green-100); color: var(--green-600); }
.sector .ico-box .ico { width: 24px; height: 24px; }
.sector h3 { font-size: 1.1rem; margin-bottom: .35em; }
.sector p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 900px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }

.steps-long { display: grid; gap: 16px; max-width: 900px; counter-reset: none; }
.step-long { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.step-long .step-num { margin: 0; }
.step-long .step-num::after { display: none; }
.step-long h2 { font-size: 1.25rem; margin-bottom: .3em; }
.step-long p { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .step-long { grid-template-columns: 1fr; gap: 12px; } }

.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 16px; }
.faq-toc { display: grid; gap: 4px; margin: 0 0 24px; }
.faq-toc a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.faq-toc a:hover { background: var(--blue-100); color: var(--blue-700); }

.map-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-contact.plain { display: grid; gap: 10px; margin: 18px 0 24px; }
.footer-contact.plain li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact.plain .ico { margin-top: 4px; color: var(--green-600); }
.footer-contact.plain a:hover { color: var(--blue-700); }
