/* Mahalacane Metal Moz — tema claro com as cores do logotipo: azul #205898, azul-marinho #283880, cinzas #909898 / #484848. */
:root {
  --bg: #f3f6fa;
  --bg2: #ffffff;
  --bg3: #e8eef5;
  --panel: #ffffff;
  --panel2: #f1f5fa;
  --line: #d9e1ec;
  --text: #25292d;
  --mute: #5b646e;
  --hot: #205898;
  --hot2: #2a6fb5;
  --hot3: #283880;
  --arc: #909898;
  --ink: #ffffff;
  --navy1: #16215c;
  --navy2: #1d3a82;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --head: "Bahnschrift", "DIN Alternate", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --hero-t: 7.5s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration-color: rgba(32,88,152,.5); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--arc); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hot); color: var(--ink); }
.sr { 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: 300; background: var(--hot); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 10px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lede { font-size: 1.12rem; color: #d2d2d2; }

/* ---------- Revelar ao fazer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
main { transition: opacity .18s; }
.is-switching main { opacity: .35; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .96rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s, color .25s; white-space: nowrap; }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.btn--hot { background: linear-gradient(135deg, var(--hot2), var(--hot) 55%, var(--hot3)); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(32,88,152,.85); }
.btn--hot:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(32,88,152,.95); }
.btn--ghost, .btn--ghost-dark { background: rgba(255,255,255,.04); color: var(--text); border-color: rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--hot2); color: var(--hot2); transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--hot2); font: 700 .8rem/1 var(--head); letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hot), var(--hot2)); box-shadow: 0 0 12px var(--hot); }

/* ---------- Topo ---------- */
.topbar { background: var(--bg3); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--mute); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar .topbar__tag { display: flex; align-items: center; gap: 8px; letter-spacing: .04em; }
.topbar .topbar__tag .ico { color: var(--hot); width: 1.1em; }
.topbar__links { display: flex; gap: 18px; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.topbar__links a { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color .2s; }
.topbar__links a:hover { color: var(--hot2); }
.topbar__links .ico { width: 1.05em; color: var(--hot); }

/* ---------- Navegação ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(17,18,19,.82); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.is-stuck { background: rgba(17,18,19,.94); border-color: var(--line); box-shadow: 0 12px 30px -18px #000; }
.nav__in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { border-radius: 12px; background: #fff; padding: 2px; transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .4s; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 12px rgba(32,88,152,.7)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font: 800 1.28rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(90deg, #fff, #c9d9f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__txt small { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--hot2); margin-top: 4px; }
.nav__menu { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav__menu ul { display: flex; gap: 2px; list-style: none; }
.nav__menu li a { position: relative; display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none; color: #cfcfcf; transition: color .2s, background .2s; }
.nav__menu li a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__menu li a[aria-current="page"] { color: var(--hot2); }
.nav__menu li a[aria-current="page"]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hot), var(--hot2)); box-shadow: 0 0 10px var(--hot); }
.nav__cta { padding: .6em 1.15em; font-size: .9rem; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.nav.is-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 700; font-size: .85rem; white-space: nowrap; transition: border-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--hot); }
.lang__chev { width: .9em; height: .9em; transition: transform .25s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; list-style: none; padding: 6px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px #000; z-index: 120; }
.lang__list a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: .92rem; }
.lang__list a:hover { background: rgba(32,88,152,.14); }
.lang__list a[aria-current="true"] { color: var(--hot2); font-weight: 700; }

/* ---------- Hero / carrossel ---------- */
.hero { position: relative; overflow: hidden; height: clamp(560px, 88vh, 820px); background: var(--bg3); isolation: isolate; }
.hero__slides, .slide, .slide__bg, .slide__shade { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; z-index: 0; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide__bg > img, .slide__bg > svg { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide__bg > * { animation: kb 10s ease-out both; }
.slide:not(.is-active) * { animation-play-state: paused !important; }
.slide__shade { background: linear-gradient(90deg, rgba(11,12,12,.94) 0%, rgba(11,12,12,.72) 42%, rgba(11,12,12,.18) 100%), linear-gradient(0deg, rgba(11,12,12,.85), transparent 38%); }
.slide__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: 40px 120px; max-width: 1200px; }
.slide__in > * { max-width: 720px; }
.slide.is-active .slide__in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide__in > :nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide__in > :nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide__in > :nth-child(4) { animation-delay: .36s; }
.slide__title { font-size: clamp(2.1rem, 5.4vw, 4.3rem); line-height: 1.04; margin-bottom: .45em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.slide__title::after { content: ""; display: block; width: 110px; height: 5px; margin-top: 20px; border-radius: 5px; background: linear-gradient(90deg, var(--hot), var(--hot2), #fff); box-shadow: 0 0 20px var(--hot); }
.slide__text { font-size: clamp(1rem, 1.6vw, 1.22rem); color: #d6d6d6; max-width: 580px; }
.slide__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0; }

@keyframes kb { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.hero .sparks { z-index: 4; }

.hero__weld { position: absolute; left: 0; right: 0; bottom: 92px; height: 0; z-index: 3; pointer-events: none; }
.hero__trail { position: absolute; left: 0; right: 0; top: -2px; height: 4px; border-radius: 4px; transform-origin: left; background: linear-gradient(90deg, transparent, var(--hot) 25%, var(--hot2) 85%, #fff); box-shadow: 0 0 16px var(--hot), 0 0 40px rgba(32,88,152,.5); animation: trail 7s cubic-bezier(.45,.05,.55,.95) infinite; }
.hero__arc { position: absolute; top: -9px; left: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, #c0c0c0 52%, transparent 74%); box-shadow: 0 0 22px 8px rgba(144,152,152,.85), 0 0 70px 24px rgba(90,143,214,.55); animation: arcmove 7s cubic-bezier(.45,.05,.55,.95) infinite, flicker .14s steps(2) infinite; }
@keyframes arcmove { from { left: 0; } to { left: 100%; } }
@keyframes trail { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes flicker { 0% { filter: brightness(1); } 100% { filter: brightness(1.35); } }

.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 28px; margin-inline: auto; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { position: relative; width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); }
.hero__dots button i { position: absolute; left: 0; top: 10px; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--hot), var(--hot2)); box-shadow: 0 0 10px var(--hot); }
.hero__dots button[aria-current] i { animation: fill var(--hero-t) linear forwards; }
.hero:hover .hero__dots button[aria-current] i, .hero:focus-within .hero__dots button[aria-current] i { animation: none; width: 100%; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrows button, .mcar__btns button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(17,18,19,.55); backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s, opacity .2s; }
.hero__arrows button:hover:not(:disabled), .mcar__btns button:hover:not(:disabled) { background: var(--hot); border-color: var(--hot); color: var(--ink); transform: scale(1.06); }
.mcar__btns button:disabled { opacity: .35; cursor: default; }
.hero__scroll { position: absolute; left: 50%; bottom: 8px; width: 22px; height: 34px; margin-left: -11px; z-index: 5; border: 2px solid rgba(255,255,255,.45); border-radius: 12px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--hot2); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Cenas SVG (enquanto não há fotografia de banner) */
.scene__bead { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bead 7s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes bead { 0% { stroke-dashoffset: 1; } 80%, 100% { stroke-dashoffset: 0; } }
.scene__arc { transform-box: fill-box; transform-origin: center; animation: arcp .5s ease-in-out infinite alternate; }
@keyframes arcp { from { opacity: .75; transform: scale(.92); } to { opacity: 1; transform: scale(1.1); } }
.scene__torch { animation: torch 7s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes torch { 0%, 100% { transform: translateX(-34px); } 50% { transform: translateX(34px); } }
.scene__rim { transform-box: fill-box; transform-origin: center; animation: spin 46s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene__frame path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 6s ease-in-out infinite alternate; }
.scene__frame path:nth-child(2) { animation-delay: .5s; } .scene__frame path:nth-child(3) { animation-delay: 1s; } .scene__frame path:nth-child(4) { animation-delay: 1.4s; } .scene__frame path:nth-child(5) { animation-delay: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scene__photos rect { animation: pf 4.5s ease-in-out infinite alternate; }
.scene__photos rect:nth-child(2n) { animation-delay: .8s; } .scene__photos rect:nth-child(3n) { animation-delay: 1.6s; }
@keyframes pf { from { opacity: .3; } to { opacity: 1; } }

/* ---------- Faixa a correr ---------- */
.ticker { overflow: hidden; background: linear-gradient(90deg, var(--hot3), var(--hot) 40%, var(--hot2)); color: var(--ink); border-block: 1px solid rgba(0,0,0,.25); transform: rotate(0deg); }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker ul { display: flex; list-style: none; flex: none; }
.ticker li { display: inline-flex; align-items: center; gap: 18px; padding: 14px 18px 14px 0; font: 800 .95rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker li .ico { width: 1.15em; margin-left: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secções ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec--panel { background: var(--bg2); border-block: 1px solid #1c1d1e; }
.sec--dark { background: var(--bg3); }
.sec--center { text-align: center; min-height: 52vh; display: grid; align-items: center; }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.head h2 { margin-bottom: .35em; }
.head__text { color: var(--mute); font-size: 1.08rem; margin: 0; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.head--row > div { max-width: 700px; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel), #131415); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; text-decoration: none; display: block; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(32,88,152,.22), transparent 62%); }
.card:hover { transform: translateY(-6px); border-color: rgba(32,88,152,.55); box-shadow: 0 24px 50px -24px rgba(32,88,152,.45); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { color: var(--mute); margin: 0; font-size: .96rem; }
.scard { padding-bottom: 66px; min-height: 100%; }
.scard__n { position: absolute; right: 18px; top: 8px; font: 800 3.6rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); }
.scard__ico, .wcard__ico, .vcard__ico, .vm__ico, .svc__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(135deg, var(--hot2), var(--hot) 60%, var(--hot3)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(32,88,152,.9); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.scard__ico .ico, .wcard__ico .ico, .vcard__ico .ico, .vm__ico .ico, .svc__ico .ico { width: 28px; height: 28px; }
.card:hover .scard__ico, .card:hover .wcard__ico, .card:hover .vcard__ico { transform: rotate(-8deg) scale(1.08); }
.scard h3 { font-size: 1.08rem; }
.scard__more { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--hot2); font-weight: 700; font-size: .9rem; }
.scard__more .ico { width: 1em; transition: transform .25s; }
.scard:hover .scard__more .ico { transform: translateX(5px); }
.vcard { text-align: left; }
.vcard__n { position: absolute; right: 16px; top: 10px; font: 800 2.4rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); }

/* ---------- Quem somos ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__txt p { color: #cfcfcf; }
.badge { position: absolute; left: 20px; right: 20px; bottom: -22px; margin: 0; display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 14px; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); font: 700 1.02rem/1.3 var(--head); box-shadow: 0 20px 40px -16px rgba(32,88,152,.8); }
.badge .ico { width: 30px; height: 30px; flex: none; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 32px; padding: 22px 0; border-block: 1px solid var(--line); }
.stats b { display: block; font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.05 var(--head); background: linear-gradient(180deg, #fff, var(--hot2)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.stats small { display: block; margin-top: 6px; color: var(--mute); font-size: .78rem; line-height: 1.35; }

/* ---------- Espaços de imagem ---------- */
.slot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.slot--wide { aspect-ratio: 16 / 10; }
.slot--tall { aspect-ratio: 4 / 5; }
.slot.is-broken { background: repeating-linear-gradient(135deg, #1a1b1c 0 16px, #1e1f20 16px 32px); }
.slot img[hidden] { display: none; }
.slot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a:hover > .slot img, .tile:hover .slot img, .mcard:hover .slot img { transform: scale(1.07); }
.slot__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; color: var(--mute); background: repeating-linear-gradient(135deg, #1a1b1c 0 16px, #1e1f20 16px 32px); background-size: 45px 45px; animation: hatch 3s linear infinite; }
.slot__ph .ico { width: 42px; height: 42px; color: var(--hot); filter: drop-shadow(0 0 12px rgba(32,88,152,.6)); }
.slot__ph span { font: 600 .74rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; max-width: 90%; overflow-wrap: anywhere; }
.slot__glow { position: absolute; inset: -30%; background: radial-gradient(closest-side, rgba(32,88,152,.2), transparent); animation: glow 5s ease-in-out infinite alternate; }
@keyframes hatch { to { background-position: 45px 0; } }
@keyframes glow { from { transform: translate(-18%, -10%); } to { transform: translate(18%, 12%); } }

/* ---------- Carrossel de equipamento ---------- */
.mcar__btns { display: flex; gap: 10px; }
.mcar { --pad: max(var(--gutter), calc((100vw - 1200px) / 2)); }
.mcar__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pad) 22px; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--hot) var(--panel); cursor: grab; -webkit-overflow-scrolling: touch; }
.mcar__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.mcar__track::-webkit-scrollbar { height: 6px; } .mcar__track::-webkit-scrollbar-thumb { background: var(--hot); border-radius: 6px; } .mcar__track::-webkit-scrollbar-track { background: var(--panel); }
.mcard { flex: 0 0 min(360px, 80vw); scroll-snap-align: start; }
.mcard h3 { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 1.05rem; }
.mcard h3 .ico { color: var(--hot); }

/* ---------- Antes / depois ---------- */
.ba { position: relative; aspect-ratio: 16 / 8; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); user-select: none; --pos: 50%; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__ph { position: absolute; inset: 0; display: grid; place-items: end center; padding: 18px; }
.ba__ph span { max-width: 46%; font: 600 .78rem/1.4 ui-monospace, Consolas, monospace; color: var(--mute); background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 999px; text-align: center; }
.ba__ph--after { place-items: end end; background: radial-gradient(60% 80% at 70% 40%, rgba(90,143,214,.22), transparent 70%), linear-gradient(180deg, #3a414c, #232830); }
.ba__ph--after::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 14px; border-radius: 14px; background: linear-gradient(90deg, var(--hot3), var(--hot2), var(--hot3)); box-shadow: 0 0 30px var(--hot), 0 0 80px rgba(32,88,152,.5); animation: seam 3s ease-in-out infinite alternate; }
@keyframes seam { from { filter: brightness(.9); } to { filter: brightness(1.4); } }
.ba__ph--before { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='none'%3E%3Cpath d='M60 0 120 90 90 160 190 250 150 330 230 400' stroke='%23140d09' stroke-width='9' fill='none' stroke-linejoin='bevel'/%3E%3Cpath d='M520 0 480 70 560 140 500 220 590 300 560 400' stroke='%23140d09' stroke-width='7' fill='none'/%3E%3C/svg%3E") center/100% 100% no-repeat,
  radial-gradient(40% 60% at 25% 35%, rgba(150,70,25,.55), transparent 70%),
  radial-gradient(35% 50% at 75% 70%, rgba(120,55,20,.5), transparent 70%),
  linear-gradient(180deg, #3b2c25, #2a1f1a); }
.ba__tag { position: absolute; top: 16px; z-index: 3; padding: 6px 14px; border-radius: 999px; font: 800 .75rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; background: rgba(17,18,19,.75); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); pointer-events: none; }
.ba__tag--b { left: 16px; } .ba__tag--a { right: 16px; color: var(--ink); background: var(--hot2); border-color: var(--hot2); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,.7); z-index: 2; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.ba__handle .ico { width: 18px; height: 18px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba:focus-within .ba__handle span { outline: 3px solid var(--arc); outline-offset: 3px; }

/* ---------- Processo ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; --p: 0; }
.flow__line { position: absolute; left: 10%; right: 10%; top: 34px; height: 4px; border-radius: 4px; background: var(--line); list-style: none; }
.flow__line i { display: block; height: 100%; border-radius: 4px; transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--hot), var(--hot2)); box-shadow: 0 0 14px var(--hot); }
.flow__step { position: relative; text-align: center; padding: 0 6px; }
.flow__step p { color: var(--mute); font-size: .92rem; margin: 0; }
.flow__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: var(--panel2); border: 2px solid var(--line); color: var(--mute); transition: background .5s, border-color .5s, color .5s, box-shadow .5s, transform .5s; }
.flow__ico .ico { width: 28px; height: 28px; }
.flow__step.is-lit .flow__ico { background: linear-gradient(135deg, var(--hot2), var(--hot)); border-color: var(--hot2); color: var(--ink); box-shadow: 0 0 0 6px rgba(32,88,152,.15), 0 0 28px rgba(32,88,152,.7); transform: scale(1.06); }
.flow__n { position: absolute; top: -4px; left: calc(50% + 18px); z-index: 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--hot); font: 800 .72rem/1 var(--head); color: var(--hot2); }

/* ---------- Galeria ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.mosaic .tile { display: block; border-radius: var(--radius); overflow: hidden; }
.mosaic .tile .slot { height: 100%; aspect-ratio: auto; border-radius: 0; }
.tile--m0 { grid-column: span 2; grid-row: span 2; }
.tile--m5 { grid-column: span 2; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.filters button { padding: .55em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); cursor: pointer; font-weight: 700; font-size: .9rem; transition: all .2s; }
.filters button:hover { border-color: var(--hot); }
.filters button[aria-pressed="true"] { background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(32,88,152,.9); }
.filters__count { margin-left: auto; color: var(--mute); font-size: .88rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tile { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; text-align: left; color: inherit; }
.tile[hidden] { display: none; }
.tile--ph { cursor: default; }
.tile .slot { border-radius: 0; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(11,12,12,.92), transparent); font-weight: 700; font-size: .88rem; transform: translateY(8px); opacity: 0; transition: transform .3s, opacity .3s; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap, .tile--ph .tile__cap { transform: none; opacity: 1; }
.tile .tile__cap .ico { color: var(--hot2); width: 1.05em; }
.tile.pop { animation: pop .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; margin-bottom: 24px; background: rgba(32,88,152,.08); border: 1px dashed rgba(32,88,152,.5); border-radius: var(--radius); }
.notice .ico { color: var(--hot); width: 28px; height: 28px; margin-top: 2px; }
.notice h3 { margin: 0 0 4px; font-size: 1rem; } .notice p { margin: 0; color: var(--mute); font-size: .92rem; }

.lb { position: fixed; inset: 0; z-index: 400; background: rgba(5,6,8,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 20px 8px; animation: fade .25s both; }
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb__fig { margin: 0; text-align: center; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 120px); margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lb__fig figcaption { margin-top: 14px; color: var(--mute); font-size: .9rem; }
.lb__nav, .lb__x { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); cursor: pointer; display: grid; place-items: center; margin: auto; transition: background .2s, color .2s; }
.lb__nav:hover, .lb__x:hover { background: var(--hot); color: var(--ink); border-color: var(--hot); }
.lb__x { position: absolute; top: 16px; right: 16px; margin: 0; }
body.lb-open { overflow: hidden; }

/* ---------- Faixa de contacto ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 84px); background: linear-gradient(115deg, var(--hot3), var(--hot) 50%, var(--hot2)); color: var(--ink); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(0,0,0,.06) 0 22px, transparent 22px 44px); animation: hatch 6s linear infinite; background-size: 62px 62px; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; z-index: 4; }
.cta h2 { margin-bottom: .2em; } .cta p { margin: 0; font-size: 1.08rem; font-weight: 500; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__btns--c { justify-content: center; margin-top: 28px; }
.cta .btn--hot { background: var(--bg); color: #fff; box-shadow: 0 12px 28px -12px #000; }
.cta .btn--hot:hover { background: #000; }
.cta .btn--ghost { color: var(--ink); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.18); }
.cta .btn--ghost:hover { color: #000; border-color: #000; background: rgba(255,255,255,.35); }

/* ---------- Cabeçalho de páginas interiores ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 110px) 0 clamp(52px, 7vw, 84px); background: var(--bg3); isolation: isolate; }
.phero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.phero__bg span:nth-child(1) { width: 420px; height: 420px; right: -80px; top: -140px; background: rgba(32,88,152,.5); }
.phero__bg span:nth-child(2) { width: 360px; height: 360px; left: 10%; bottom: -220px; background: rgba(144,152,152,.22); animation-delay: -4s; }
.phero__bg span:nth-child(3) { width: 260px; height: 260px; left: 48%; top: -120px; background: rgba(90,143,214,.28); animation-delay: -8s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.2); } }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px); }
.phero__in { position: relative; z-index: 4; }
.phero h1 { max-width: 880px; }
.phero__lead { max-width: 640px; color: #c5ced9; font-size: 1.15rem; margin: 0; }

.seam { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line); z-index: 3; }
.seam::before { content: ""; position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--hot3), var(--hot2), #fff); box-shadow: 0 0 16px var(--hot); animation: trail 5s cubic-bezier(.45,.05,.55,.95) infinite alternate; }
.seam i { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, #c0c0c0 52%, transparent 74%); box-shadow: 0 0 20px 7px rgba(144,152,152,.85), 0 0 60px 20px rgba(90,143,214,.5); animation: arcmove 5s cubic-bezier(.45,.05,.55,.95) infinite alternate, flicker .14s steps(2) infinite; }

/* ---------- Serviços ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.svc:last-child { margin-bottom: 0; }
.svc--rev .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__n { position: absolute; right: 18px; top: 8px; font: 800 5.4rem/1 var(--head); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); pointer-events: none; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.svc__txt h2 { margin-bottom: .4em; }
.svc__txt p { color: #cfcfcf; }
.svc__h { margin: 24px 0 10px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hot2); }
.ticks { list-style: none; display: grid; gap: 9px; margin-bottom: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--hot); margin-top: .22em; width: 1.1em; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm { position: relative; overflow: hidden; padding: 34px 32px; background: linear-gradient(180deg, var(--panel), #131415); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.vm::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(32,88,152,.2), transparent 62%); }
.vm:hover { border-color: rgba(32,88,152,.55); } .vm:hover::before { opacity: 1; }
.vm > * { position: relative; } .vm p { color: #cfcfcf; margin: 0; font-size: 1.05rem; }

/* ---------- Formulários ---------- */
.formgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form { background: linear-gradient(180deg, var(--panel), #131415); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 40px); }
.form__t { margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: .9rem; }
.field label small { color: var(--mute); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: #101112; color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a1f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 130px; }
.field ::placeholder { color: #6e7886; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 4px rgba(32,88,152,.18); }
.field--bad input, .field--bad textarea, .field--bad select { border-color: #ff5d5d; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin: 0 0 20px; border-radius: 10px; background: rgba(255,93,93,.12); border: 1px solid rgba(255,93,93,.5); color: #ffb3b3; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .84rem; color: var(--mute); }
.aside { position: sticky; top: 100px; }
.aside h2 { font-size: 1.4rem; }
.info { list-style: none; display: grid; gap: 18px; margin: 18px 0 24px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info > li > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(32,88,152,.14); color: var(--hot2); flex: none; }
.info h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 4px; }
.info p { margin: 0; } .info a { text-decoration: none; } .info a:hover { color: var(--hot2); }
.mapcard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; text-decoration: none; }
.mapcard svg { width: 100%; height: 100%; display: block; transition: transform .6s; }
.mapcard:hover svg { transform: scale(1.06); }
.mapcard__pin { position: absolute; left: 52%; top: 46%; width: 40px; height: 40px; margin: -34px 0 0 -20px; color: var(--hot); }
.mapcard__pin .ico { width: 40px; height: 40px; fill: rgba(32,88,152,.3); filter: drop-shadow(0 6px 10px #000); animation: bob 1.6s ease-in-out infinite; }
.mapcard__pin i { position: absolute; left: 50%; bottom: -4px; width: 40px; height: 14px; margin-left: -20px; border-radius: 50%; border: 2px solid var(--hot); animation: ping 1.8s ease-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.mapcard__cta { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(17,18,19,.85); backdrop-filter: blur(6px); font-weight: 700; font-size: .85rem; border: 1px solid var(--line); }
.mapcard__cta .ico { width: 1em; color: var(--hot2); }
.steps { list-style: none; display: grid; gap: 18px; margin: 18px 0 22px; }
.steps li { display: flex; gap: 14px; }
.step__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); font: 800 .95rem/1 var(--head); }
.steps h3 { font-size: 1rem; margin: 0 0 2px; } .steps p { margin: 0; color: var(--mute); font-size: .9rem; }
.aside__mail { display: flex; gap: 10px; align-items: center; margin: 8px 0 0; }
.aside__mail .ico { color: var(--hot); } .aside__mail a { text-decoration: none; } .aside__mail a:hover { color: var(--hot2); }

.bigtick { display: inline-grid; place-items: center; width: 92px; height: 92px; margin-bottom: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); box-shadow: 0 0 0 10px rgba(32,88,152,.15), 0 0 40px rgba(32,88,152,.6); }
.bigtick .ico { width: 46px; height: 46px; stroke-width: 2.4; }
.err__code { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--head); margin: 0; background: linear-gradient(180deg, var(--hot2), var(--hot3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err__detail { text-align: left; overflow: auto; padding: 14px; background: var(--panel); border-radius: 10px; font-size: .8rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; } .prose p { color: #cbd3dd; }

/* ---------- Rodapé ---------- */
.foot { position: relative; background: var(--bg3); border-top: 1px solid #161718; padding-top: 70px; }
.foot__seam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--hot3), var(--hot2), var(--hot3), transparent); box-shadow: 0 0 22px var(--hot); }
.foot__seam i { position: absolute; top: -2px; width: 120px; height: 7px; border-radius: 7px; background: radial-gradient(closest-side, #fff, transparent); animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { from { left: 4%; } to { left: calc(96% - 120px); } }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 36px; padding-bottom: 48px; }
.foot__brand p { color: var(--mute); margin: 18px 0; max-width: 340px; font-size: .94rem; }
.foot__h { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hot2); margin-bottom: 16px; }
.foot__list { list-style: none; display: grid; gap: 10px; font-size: .94rem; color: #c3ccd7; }
.foot__list a { text-decoration: none; transition: color .2s; } .foot__list a:hover { color: var(--hot2); }
.foot__list--ico li { display: flex; gap: 10px; align-items: flex-start; } .foot__list--ico .ico { color: var(--hot); margin-top: .25em; width: 1.05em; }
.social { display: flex; gap: 10px; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); transition: all .25s; }
.social a:hover { background: var(--hot); color: var(--ink); border-color: var(--hot); transform: translateY(-3px); }
.foot__bar { border-top: 1px solid #161718; padding-block: 18px; font-size: .84rem; color: var(--mute); }
.foot__bar-in { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.foot__bar p { margin: 0; }
.foot__legal { display: flex; gap: 18px; list-style: none; }
.foot__legal a, .foot__dev a { text-decoration: none; } .foot__legal a:hover, .foot__dev a:hover { color: var(--hot2); }
.foot__dev a, .foot__dev strong { color: #fff; font-weight: 700; }

/* ---------- Botões flutuantes ---------- */
.totop { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(32,88,152,.9); transition: transform .25s; animation: rise .4s both; }
.totop[hidden] { display: none; } .totop:hover { transform: translateY(-4px); }
.fab--wa { position: fixed; right: 18px; bottom: 84px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #05210f; box-shadow: 0 10px 26px -10px rgba(37,211,102,.9); transition: transform .25s; }
.fab--wa:hover { transform: scale(1.08); }

/* ---------- Chatbot ---------- */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 95; }
.chat__fab { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--panel2); color: var(--hot2); border: 1.5px solid var(--hot); box-shadow: 0 10px 30px -8px rgba(0,0,0,.8), 0 0 20px rgba(32,88,152,.35); transition: transform .25s; }
.chat__fab:hover { transform: scale(1.08); }
.chat__fab .ico { width: 24px; height: 24px; }
.chat__pulse { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--hot); animation: ping2 2.4s ease-out infinite; pointer-events: none; }
@keyframes ping2 { from { transform: scale(.85); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.chat.is-open .chat__pulse { display: none; }
.chat__panel { position: fixed; right: 18px; bottom: 80px; width: min(320px, calc(100vw - 24px)); height: min(420px, calc(100dvh - 205px)); display: flex; flex-direction: column; background: #131415; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -20px #000; animation: rise .3s both; }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(135deg, #1d232b, #161b21); border-bottom: 2px solid var(--hot); }
.chat__head img { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.chat__head div { flex: 1; min-width: 0; }
.chat__head h2 { font-size: .88rem; margin: 0; } .chat__head p { margin: 0; font-size: .7rem; color: var(--mute); }
.chat__x { width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(255,255,255,.06); cursor: pointer; display: grid; place-items: center; }
.chat__x:hover { background: var(--hot); color: var(--ink); } .chat__x .ico { width: 16px; height: 16px; }
.chat__log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.msg { max-width: 88%; font-size: .84rem; line-height: 1.45; padding: 8px 12px; border-radius: 14px; animation: rise .3s both; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: #1f252d; border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); font-weight: 600; border-bottom-right-radius: 4px; }
.msg a.msg__link { display: inline-block; margin-top: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(32,88,152,.18); color: var(--hot2); font-size: .76rem; font-weight: 700; text-decoration: none; }
.msg a.msg__link:hover { background: var(--hot); color: var(--ink); }
.typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: dot 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); background: var(--hot2); } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 2px; }
.chat__chips button { font-size: .76rem; padding: 5px 10px; border-radius: 999px; background: transparent; border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.chat__chips button:hover { border-color: var(--hot); color: var(--hot2); }
.chat__form { display: flex; gap: 6px; padding: 8px 12px 12px; }
.chat__form input { flex: 1; min-width: 0; font-size: .85rem; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #101112; color: var(--text); }
.chat__form input:focus { outline: none; border-color: var(--hot); }
.chat__form button { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(135deg, var(--hot2), var(--hot)); color: var(--ink); }
.chat__form button .ico { width: 18px; height: 18px; }

/* ---------- Responsivo ---------- */
@media (min-width: 981px) and (max-width: 1100px) {
  .nav__in { gap: 10px; } .nav__menu { gap: 8px; } .nav__menu li a { padding: 10px 9px; font-size: .9rem; } .nav__cta { padding: .6em 1em; font-size: .86rem; }
  .brand__txt b { font-size: 1.1rem; }
}
@media (max-width: 1080px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .cards5 { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .js .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 14px var(--gutter) 22px; background: #111213; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px #000; }
  .js .nav.is-open .nav__menu { display: flex; animation: rise .25s both; }
  .nav__menu ul { flex-direction: column; } .nav__menu li a { padding: 13px 14px; font-size: 1rem; border-radius: 10px; } .nav__menu li a[aria-current="page"]::after { display: none; } .nav__menu li a[aria-current="page"] { background: rgba(32,88,152,.12); }
  .nav__cta { justify-content: center; }
  .nav__tools { margin-left: auto; }
  .no-js .burger { display: none; } .no-js .nav__in { flex-wrap: wrap; padding-block: 8px; } .no-js .nav__menu { flex-wrap: wrap; margin-left: 0; }
  .split { grid-template-columns: 1fr; } .split__media { max-width: 520px; margin-bottom: 20px; }
  .svc { grid-template-columns: 1fr; } .svc--rev .svc__media { order: 0; }
  .formgrid { grid-template-columns: 1fr; } .aside { position: static; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow__line { left: 33px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .flow__line i { height: 100%; width: 100%; transform-origin: top; transform: scaleY(var(--p)); }
  .flow__step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; align-items: start; padding: 0; }
  .flow__ico { margin: 0; grid-row: span 2; } .flow__n { left: 44px; }
  .flow__step h3 { margin: 6px 0 4px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .tile--m5 { grid-column: auto; } .tile--m0 { grid-row: auto; grid-column: span 2; } .tile--m7 { grid-column: span 2; }
  .duo { grid-template-columns: 1fr; }
  .hero { height: clamp(580px, 86vh, 760px); }
  .slide__in { padding-bottom: 130px; }
}
@media (max-width: 720px) {
  .topbar .topbar__tag, .topbar__mail { display: none; } .topbar__in { justify-content: center; } .topbar__links { justify-content: center; gap: 14px; }
  .nav__in { min-height: 64px; } .brand img { width: 40px; height: 40px; } .brand__txt b { font-size: 1.05rem; }
  .cards4, .cards5 { grid-template-columns: 1fr; }
  .scard { padding-bottom: 64px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__bar-in { flex-direction: column; align-items: flex-start; }
  .stats b { font-size: 1.7rem; }
  .hero__weld { bottom: 84px; } .hero__arrows { display: none; }
  .hero__dots button { width: 34px; }
  .ba { aspect-ratio: 4 / 3.2; } .ba__tag { top: 10px; }
  .lb { grid-template-columns: 1fr; padding: 56px 8px 74px; }
  .lb__nav { position: absolute; bottom: 14px; } .lb__nav--p { left: calc(50% - 64px); } .lb__nav--n { right: calc(50% - 64px); }
  .chat__panel { left: auto; right: 10px; bottom: 72px; width: min(320px, calc(100vw - 20px)); height: min(60dvh, 420px); }
  .chat { right: 12px; bottom: 12px; } .chat__fab { width: 48px; height: 48px; }
  .chat__form input { font-size: 16px; }
  .totop { left: 12px; bottom: 12px; width: 42px; height: 42px; }
  .fab--wa { right: 12px; bottom: 72px; width: 48px; height: 48px; }
  .svc__n { font-size: 3.6rem; }
}
@media (max-width: 560px) {
  .topbar__ph + .topbar__ph { display: none; }
  .slide__btns .btn { flex: 1 1 auto; }
  .slide__title { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .hero__arrows button { width: 40px; height: 40px; }
  .mosaic { grid-auto-rows: 140px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .filters__count { width: 100%; margin-left: 0; }
}
@media (hover: none) { .card:hover { transform: none; } .tile__cap { opacity: 1; transform: none; } }
@media (min-width: 981px) { .hero__scroll { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .hero__dots button[aria-current] i { width: 100%; }
  .scene__bead, .scene__frame path { stroke-dashoffset: 0; }
  .flow__line i { transform: none; }
}


/* =====================================================================
   TEMA CLARO (cores do logotipo). Zonas em azul-marinho: topo, hero,
   cabeçalho de página, CTA e rodapé — onde vivem as faíscas.
   ===================================================================== */
.topbar, .hero, .phero, .foot, .cta, .lb { --text: #ffffff; --mute: #cbd6e8; --hot2: #8fc0f5; --line: rgba(255,255,255,.2); --panel: rgba(255,255,255,.08); --panel2: rgba(255,255,255,.14); color: #fff; }
.topbar { background: var(--hot3); border-bottom: 0; }
.nav { background: rgba(255,255,255,.9); }
.nav.is-stuck { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 12px 30px -22px rgba(22,33,92,.5); }
.brand img { box-shadow: 0 0 0 1px var(--line); }
.brand__txt b { background: none; color: var(--hot); -webkit-text-fill-color: var(--hot); }
.brand__txt small { color: #6f7777; }
.nav__menu li a { color: #3a4047; }
.nav__menu li a:hover { color: var(--hot); background: rgba(32,88,152,.08); }
.nav__menu li a[aria-current="page"] { color: var(--hot); }
.burger span { background: var(--text); }
.lang__list { box-shadow: 0 20px 40px -16px rgba(22,33,92,.35); }
.lede { color: var(--mute); }
.btn--ghost, .btn--ghost-dark { background: transparent; color: var(--hot); border-color: rgba(32,88,152,.45); backdrop-filter: none; }
.btn--ghost:hover, .btn--ghost-dark:hover { border-color: var(--hot); color: var(--hot); background: rgba(32,88,152,.08); }
.hero .btn--ghost, .phero .btn--ghost, .foot .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.hero .btn--ghost:hover, .phero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.18); }
.kicker { color: var(--hot2); }
.hero .kicker, .phero .kicker, .cta .kicker { color: #bfdcff; }

/* Hero: azul-marinho do logotipo (nunca preto) */
.hero, .slide__bg { background: linear-gradient(135deg, var(--navy1), var(--navy2) 55%, var(--hot)); }
.slide__shade { background: linear-gradient(90deg, rgba(22,33,92,.92) 0%, rgba(24,44,108,.7) 42%, rgba(32,88,152,.12) 100%), linear-gradient(0deg, rgba(22,33,92,.75), transparent 38%); }
.slide__title { text-shadow: 0 4px 30px rgba(10,16,50,.45); }
.slide__text { color: #e3ecfa; }
.hero__arrows button, .mcar__btns button { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; }
.mcar__btns button { background: #fff; border-color: var(--line); color: var(--hot); }
.mcar__btns button:hover:not(:disabled), .hero__arrows button:hover:not(:disabled) { background: var(--hot); border-color: var(--hot); color: #fff; }

/* Secções */
.sec--panel { background: #fff; border-block: 1px solid var(--line); }
.sec--dark { background: var(--bg3); }
.head__text { color: var(--mute); }
.card, .vm, .form { background: #fff; box-shadow: 0 14px 34px -24px rgba(22,33,92,.45); }
.card:hover { box-shadow: 0 26px 50px -26px rgba(32,88,152,.5); }
.scard__n, .vcard__n { -webkit-text-stroke: 1.5px rgba(32,88,152,.2); }
.split__txt p, .vm p, .prose p { color: var(--mute); }
.svc__txt p { color: var(--mute); }
.stats b { background: linear-gradient(180deg, var(--hot), var(--hot3)); -webkit-background-clip: text; background-clip: text; }
.slot, .slot.is-broken { background: repeating-linear-gradient(135deg, #eef3f9 0 16px, #e6edf6 16px 32px); }
.slot__ph { background: repeating-linear-gradient(135deg, #eef3f9 0 16px, #e6edf6 16px 32px); }
.slot__glow { background: radial-gradient(closest-side, rgba(32,88,152,.12), transparent); }
.mcar__track::-webkit-scrollbar-track { background: #e1e8f1; }
.mcar__track { scrollbar-color: var(--hot) #e1e8f1; }
.ba__ph span { background: rgba(255,255,255,.85); color: var(--text); }
.ba__ph--after { background: radial-gradient(60% 80% at 70% 40%, rgba(143,192,245,.35), transparent 70%), linear-gradient(180deg, #5b6f9a, #283880); }
.flow__ico { background: #fff; }
.filters button { background: #fff; }
.filters button:hover { border-color: var(--hot); color: var(--hot); }
.filters button[aria-pressed="true"] { color: #fff; }
.notice { background: rgba(32,88,152,.06); }
.field input, .field textarea, .field select { background: #fff; color: var(--text); }
.field ::placeholder { color: #8b949e; }
.alert { background: #fdecec; border-color: #e99; color: #a02626; }
.err__detail { background: var(--panel2); }
.info > li > .ico { background: rgba(32,88,152,.1); }
.mapcard__cta { background: rgba(255,255,255,.92); color: var(--text); }

/* Cabeçalho de página, CTA e rodapé: azul-marinho */
.phero { background: linear-gradient(135deg, var(--navy1), var(--navy2) 60%, var(--hot)); }
.phero::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px); }
.phero__lead { color: #dbe7f8; }
.seam { background: rgba(255,255,255,.25); }
.cta { background: linear-gradient(115deg, var(--hot3), var(--hot) 55%, #2f7bc0); }
.cta .btn--hot { background: #fff; color: var(--hot3); box-shadow: 0 12px 28px -12px rgba(10,16,50,.6); }
.cta .btn--hot:hover { background: #eaf2fc; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); }
.cta .btn--ghost:hover { color: var(--hot3); border-color: #fff; background: #fff; }
.foot { background: linear-gradient(180deg, var(--navy2), var(--navy1)); border-top: 0; }
.foot__list { color: #dbe6f6; }
.foot__bar { border-top-color: rgba(255,255,255,.15); }
.social a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.lb { background: rgba(14,22,60,.96); }

/* Chatbot claro */
.chat__fab { background: #fff; color: var(--hot); box-shadow: 0 10px 30px -8px rgba(22,33,92,.5); }
.chat__panel { background: #fff; color: var(--text); box-shadow: 0 30px 60px -20px rgba(22,33,92,.55); }
.chat__head { background: linear-gradient(135deg, var(--hot3), var(--hot)); color: #fff; border-bottom: 0; }
.chat__head p { color: #d6e4f8; }
.chat__x { background: rgba(255,255,255,.18); color: #fff; }
.msg--bot { background: #eef2f8; color: var(--text); }
.msg--user { color: #fff; }
.chat__chips button { color: var(--hot); background: #fff; border-color: rgba(32,88,152,.35); }
.chat__form input { background: #fff; color: var(--text); }
.totop { color: #fff; }

@media (max-width: 980px) {
  .js .nav__menu { background: #fff; box-shadow: 0 30px 40px -24px rgba(22,33,92,.4); }
}
.topbar .ico, .topbar .topbar__tag .ico, .topbar__links .ico { color: #8fc0f5; }
.foot__list--ico .ico, .foot .ico { color: #8fc0f5; }

/* Logotipo: só a imagem, grande e nítida (sem fundo, sem texto) */
.nav__in { min-height: 96px; }
.brand img.brand__logo { height: 80px; width: auto; max-width: 300px; object-fit: contain; border-radius: 0; background: none; padding: 0; box-shadow: none; }
.brand:hover img.brand__logo { transform: scale(1.04); filter: none; }
.brand img.brand__logo--foot { height: 112px; max-width: 340px; background: #fff; padding: 10px 14px; border-radius: 16px; box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.chat__head img { width: 38px; height: 38px; padding: 3px; object-fit: contain; border-radius: 10px; background: #fff; }
@media (max-width: 980px) { .nav__in { min-height: 74px; } .brand img.brand__logo { height: 58px; max-width: 200px; } .brand img.brand__logo--foot { height: 96px; } }

/* =====================================================================
   PHERO-CENAS v1 - cabecalhos de pagina com cena animada (SVG em linha, so CSS).
   ===================================================================== */
.phero { padding: clamp(72px, 9vw, 120px) 0 clamp(60px, 8vw, 96px); min-height: clamp(340px, 40vw, 440px); display: flex; align-items: center; }
.phero > .wrap { width: min(1200px, 100% - 2 * var(--gutter)); }
.phero__scene { position: absolute; right: 0; top: 0; bottom: 4px; width: min(66%, 860px); z-index: 1; pointer-events: none; display: flex; align-items: flex-end; justify-content: flex-end; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.ph { width: 100%; height: 100%; overflow: visible; --ln: #e8f2ff; --ac: #8fc0f5; --bl: #2f68b8; --bl2: #234c99; }
.ph * { vector-effect: none; }
.ph pattern circle { fill: rgba(190,215,255,.3); }
.ph-line { stroke: var(--ln); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.ph-fill { fill: var(--bl); stroke: var(--ln); stroke-width: 3.2; stroke-linejoin: round; }
.ph-fill2 { fill: var(--bl2); stroke: var(--ln); stroke-width: 3.2; stroke-linejoin: round; }
.ph-fill.ph-line, .ph-fill2.ph-line { fill: var(--bl); }
.ph-fill2.ph-line { fill: var(--bl2); }
.ph-glass { fill: rgba(200,230,255,.55); stroke: var(--ln); stroke-width: 3; }
.ph-gear { fill: rgba(255,255,255,.07); stroke: rgba(210,228,255,.7); stroke-width: 2.4; stroke-linejoin: round; }
.ph-arm-o { fill: none; stroke: var(--ln); stroke-width: 56; stroke-linecap: round; stroke-linejoin: round; }
.ph-arm-i { fill: none; stroke: var(--bl); stroke-width: 48; stroke-linecap: round; stroke-linejoin: round; }
.ph-arm-o--s { stroke-width: 46; } .ph-arm-i--s { stroke-width: 38; }
.ph-arm-o--r { stroke-width: 22; } .ph-arm-i--r { stroke-width: 15; stroke: #3b78cf; }
.ph-tread rect { fill: rgba(255,255,255,.3); }
.ph-tooth { fill: #fff; stroke: var(--ln); stroke-width: 2.5; stroke-linejoin: round; }
.ph__ground { stroke: rgba(232,242,255,.6); stroke-width: 3; }
.ph__road { stroke: rgba(232,242,255,.35); stroke-width: 3; stroke-dasharray: 26 22; animation: ph-road 1.6s linear infinite; }
.ph-glow { fill: rgba(190,225,255,.35); animation: ph-pulse .5s ease-in-out infinite alternate; }
.ph-star { stroke: #fff; stroke-width: 3; stroke-linecap: round; animation: ph-pulse .28s steps(2) infinite alternate; transform-box: fill-box; transform-origin: center; }
.ph-torch { stroke: var(--ln); stroke-width: 9; stroke-linecap: round; }
.ph-chip { fill: rgba(255,255,255,.12); stroke: rgba(232,242,255,.75); stroke-width: 2.6; }
.ph-ico { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ph-seam { stroke: #bfe0ff; stroke-width: 6; stroke-linecap: round; fill: none; stroke-dasharray: 97; stroke-dashoffset: 97; animation: ph-seam 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px #8fc0f5); }

/* Sobre nós */
.ph-spin { animation: ph-rot 26s linear infinite; }
.ph-spin--rev { animation-direction: reverse; animation-duration: 18s; }
.ph-spin--slow { animation-duration: 40s; }
.ph-drive { animation: ph-drive 16s ease-in-out infinite alternate; }
.ph-dig { transform-origin: 1015px 250px; animation: ph-dig 3.4s ease-in-out infinite alternate; }
.ph-weld { animation: ph-pulse .3s steps(2) infinite alternate; }

/* Serviços */
.ph-a1 { animation: ph-a1 6s ease-in-out infinite alternate; }
.ph-a2 { animation: ph-a2 6s ease-in-out infinite alternate; }
.ph-a3 { animation: ph-a3 6s ease-in-out infinite alternate; }
.ph-float { animation: ph-float 4.5s ease-in-out infinite alternate; }
.ph-float--2 { animation-delay: -1.2s; } .ph-float--3 { animation-delay: -2.4s; } .ph-float--4 { animation-delay: -3.3s; }

/* Portfólio */
.ph-frame { fill: rgba(255,255,255,.04); stroke: rgba(232,242,255,.25); stroke-width: 2; }
.ph-corners path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.ph-cross { stroke: rgba(255,255,255,.7); stroke-width: 3; stroke-linecap: round; }
.ph-sun { fill: #cfe6ff; opacity: .9; animation: ph-float 5s ease-in-out infinite alternate; }
.ph-mount { fill: rgba(255,255,255,.14); stroke: rgba(232,242,255,.8); stroke-width: 3; stroke-linejoin: round; }
.ph-view { animation: ph-zoom 7s ease-in-out infinite alternate; transform-origin: 425px 185px; }
.ph-rec circle { fill: #8fc0f5; animation: ph-blink 1s steps(2) infinite; }
.ph-rec text { fill: #fff; font: 700 15px/1 system-ui, sans-serif; letter-spacing: .15em; }
.ph-flash { fill: #fff; opacity: 0; animation: ph-flash 7s ease-out infinite; }
.ph-film { fill: rgba(16,30,84,.85); }
.ph-cell { fill: rgba(255,255,255,.1); stroke: rgba(232,242,255,.6); stroke-width: 2; }
.ph-cellm { fill: rgba(232,242,255,.55); }
.ph-holes pattern rect { fill: rgba(232,242,255,.45); }
.ph-reel { animation: ph-reel 14s linear infinite; }

/* Contacto */
.ph-route { fill: none; stroke: rgba(207,228,255,.6); stroke-width: 3; stroke-dasharray: 3 11; stroke-linecap: round; animation: ph-road 1.4s linear infinite; }
.ph-ring { fill: none; stroke: #bfe0ff; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ph-ring 3.2s ease-out infinite; }
.ph-ring--2 { animation-delay: 1.06s; } .ph-ring--3 { animation-delay: 2.12s; }
.ph-pinbody { fill: #2f68b8; stroke: #fff; stroke-width: 3.4; stroke-linejoin: round; animation: ph-bob 1.8s ease-in-out infinite alternate; }
.ph-pin circle:last-child { animation: ph-bob 1.8s ease-in-out infinite alternate; }
.ph-mail { fill: rgba(255,255,255,.95); stroke: #234c99; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; offset-path: path("M40 360 C180 330 260 250 420 210"); offset-rotate: 0deg; animation: ph-mail 7s ease-in-out infinite; }
.ph-phone { animation: ph-ring-phone 3s ease-in-out infinite; transform-origin: 620px 110px; }
.ph-wave { fill: none; stroke: #bfe0ff; stroke-width: 3; stroke-linecap: round; animation: ph-blink 1.2s steps(2) infinite; }

/* Cotação */
.ph-lines rect { fill: rgba(232,242,255,.7); transform-box: fill-box; transform-origin: left; animation: ph-line 6s ease-out infinite; }
.ph-lines rect:nth-child(2) { animation-delay: .5s; } .ph-lines rect:nth-child(3) { animation-delay: 1s; } .ph-lines rect:nth-child(4) { animation-delay: 1.5s; }
.ph-total { animation: ph-total 6s ease-out infinite; }
.ph-total text { fill: #fff; font: 800 26px/1 system-ui, sans-serif; }
.ph-okc { fill: #2f9a6b; fill: #3b78cf; stroke: #fff; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ph-ok 6s ease-out infinite; }
.ph-okp { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ph-okp 6s ease-out infinite; }
.ph-sheet { animation: ph-float 6s ease-in-out infinite alternate; }

@keyframes ph-rot { to { transform: rotate(360deg); } }
@keyframes ph-road { to { stroke-dashoffset: -48; } }
@keyframes ph-drive { from { transform: translateX(0); } to { transform: translateX(-70px); } }
@keyframes ph-dig { from { transform: rotate(-3deg); } to { transform: rotate(4deg); } }
@keyframes ph-pulse { from { opacity: .55; } to { opacity: 1; } }
@keyframes ph-seam { from { stroke-dashoffset: 97; } to { stroke-dashoffset: 0; } }
@keyframes ph-a1 { from { transform: rotate(-18deg); } to { transform: rotate(20deg); } }
@keyframes ph-a2 { from { transform: rotate(32deg); } to { transform: rotate(-4deg); } }
@keyframes ph-a3 { from { transform: rotate(-14deg); } to { transform: rotate(-16deg); } }
@keyframes ph-float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes ph-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes ph-blink { 50% { opacity: .15; } }
@keyframes ph-flash { 0%, 86% { opacity: 0; } 88% { opacity: .85; } 100% { opacity: 0; } }
@keyframes ph-reel { to { transform: translateX(-110px); } }
@keyframes ph-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(9); opacity: 0; } }
@keyframes ph-bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes ph-mail { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 85% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes ph-ring-phone { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-12deg); } 72% { transform: rotate(10deg); } 78% { transform: rotate(-8deg); } 84% { transform: rotate(6deg); } }
@keyframes ph-line { 0% { transform: scaleX(0); } 18%, 100% { transform: scaleX(1); } }
@keyframes ph-total { 0%, 40% { opacity: 0; transform: translateY(10px); } 55%, 100% { opacity: 1; transform: none; } }
@keyframes ph-ok { 0%, 60% { transform: scale(0); } 72%, 100% { transform: scale(1); } }
@keyframes ph-okp { 0%, 70% { stroke-dashoffset: 60; } 85%, 100% { stroke-dashoffset: 0; } }

@media (max-width: 980px) { .phero__scene { width: 100%; opacity: .32; -webkit-mask-image: none; mask-image: none; } .phero { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) { .ph *, .phero__scene * { animation: none !important; } .ph-seam { stroke-dashoffset: 0; } .ph-lines rect, .ph-total, .ph-okc { transform: none; opacity: 1; } .ph-okp { stroke-dashoffset: 0; } .ph-mail { offset-distance: 100%; } .ph-ring { opacity: 0; } }


/* PHERO-CENAS v2 - ferro de soldar (portfolio) */
.ph-plate { stroke: rgba(232,242,255,.35); stroke-width: 2; fill: none; }
.ph-beadline { stroke: #cfe6ff; stroke-width: 8; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 6px #8fc0f5); }
.ph-ripple { stroke: #6f93c8; stroke-width: 2; fill: none; stroke-linecap: round; }
.ph-bead { transform-box: fill-box; transform-origin: left center; animation: ph-bead 5s linear infinite; }
.ph-run { animation: ph-run 5s linear infinite; }
.ph-rod { stroke: #e8f2ff; stroke-width: 6; stroke-linecap: round; }
.ph-grip { stroke: rgba(255,255,255,.35); stroke-width: 2; fill: none; }
.ph-cable-o { fill: none; stroke: var(--ln); stroke-width: 12; stroke-linecap: round; }
.ph-cable-i { fill: none; stroke: #234c99; stroke-width: 8; stroke-linecap: round; }
.ph-spk { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: 0; animation: ph-spk .7s ease-out infinite; }
@keyframes ph-run { 0% { transform: translateX(0); } 92% { transform: translateX(300px); } 100% { transform: translateX(0); } }
@keyframes ph-bead { 0% { transform: scaleX(0); opacity: 1; } 92% { transform: scaleX(1); opacity: 1; } 99% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes ph-spk { 0% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
