/* ============================================================
   Beemot3 — estilos do site
   ============================================================ */
:root {
  --ink: #1F2D3D;
  --ink-deep: #0F1B2D;
  --ink-soft: #2C3E54;
  --crimson: #B83A3A;
  --crimson-deep: #8A2A2A;
  --crimson-soft: #D85959;
  --teal: #3A9AB8;
  --cyan: #6BD4D9;
  --cyan-soft: #B8EAEC;
  --green: #2F9E6B;
  --amber: #D89432;

  --n0: #FFFFFF; --n50: #F7F9FC; --n100: #EEF2F7; --n200: #DCE3EC; --n300: #C1CCD9;
  --n400: #94A3B5; --n500: #6B7B8F; --n600: #4F5E72; --n700: #36465A;

  --bg: var(--n0);
  --fg: var(--ink);
  --muted: var(--n600);
  --border: var(--n200);

  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
  --shadow-sm: 0 2px 6px rgba(15,27,45,.08);
  --shadow-md: 0 10px 24px -8px rgba(15,27,45,.18), 0 2px 4px rgba(15,27,45,.06);
  --shadow-lg: 0 30px 60px -18px rgba(15,27,45,.35), 0 6px 12px rgba(15,27,45,.08);
  --ease: cubic-bezier(.16,.84,.32,1);
  --gutter: 24px;
}
html[dir="rtl"] {
  --f-display: 'IBM Plex Sans Arabic', 'Sora', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
}
.i18n-pending body { visibility: hidden; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); margin: 0; line-height: 1.15; letter-spacing: -.015em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(58,154,184,.55); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 12px/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow--light { color: var(--cyan); }
.lead { font-size: 18px; color: var(--muted); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--f-display); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--crimson); color: #fff; box-shadow: 0 8px 20px -8px rgba(184,58,58,.7); }
.btn--primary:hover { background: var(--crimson-soft); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn--ghost-light:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--outline { color: var(--ink); border-color: var(--n300); background: #fff; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow-sm); }
html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav--scrolled, .nav--open { background: rgba(15,27,45,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--f-display); color: #fff; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { color: rgba(255,255,255,.78); font: 500 15px/1 var(--f-body); padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.lang button { border: 0; background: none; color: rgba(255,255,255,.7); font: 600 12px/1 var(--f-display); padding: 7px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; min-width: 34px; }
.lang button:hover { color: #fff; }
.lang button.active { background: #fff; color: var(--ink-deep); }
.lang__ar { font-family: 'IBM Plex Sans Arabic', sans-serif !important; font-size: 14px !important; }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-deep); color: #fff; padding: 130px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(58,154,184,.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(184,58,58,.18), transparent 70%),
    linear-gradient(rgba(107,212,217,.06) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(90deg, rgba(107,212,217,.06) 1px, transparent 1px) 0 0/44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%); mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -.025em; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.72); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; gap: 32px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__proof div { display: flex; flex-direction: column; gap: 2px; }
.hero__proof dt { font: 700 26px/1 var(--f-display); color: #fff; }
.hero__proof dd { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__art { position: relative; }
.net { width: 100%; height: auto; overflow: visible; display: block; }
.net .lbl { font: 600 9.5px var(--f-mono); fill: rgba(255,255,255,.5); text-anchor: middle; letter-spacing: .12em; }
.net .lbl--in { fill: rgba(255,255,255,.62); }
.net .routes use { fill: none; stroke: #2C3E54; stroke-width: 4; stroke-linecap: round; }
.net .flow { fill: none; stroke: url(#wire); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 14; animation: flow 1.4s linear infinite; opacity: 0; }
.net .f1 { animation-duration: 1.2s; } .net .f2 { animation-duration: 2s; } .net .f3 { animation-duration: 1.5s; }
.net .f4 { animation-duration: 1.3s; } .net .f5 { animation-duration: 1s; } .net .f6 { animation-duration: 1.1s; }
@keyframes flow { to { stroke-dashoffset: -44; } }
.net .wireless use { fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; animation: flow 1.6s linear infinite reverse; }
.net .tags rect { fill: rgba(15,27,45,.92); stroke: var(--cyan); stroke-width: 1; }
.net .tags text { font: 600 8.5px var(--f-mono); fill: var(--cyan); text-anchor: middle; letter-spacing: .06em; }
.net .led, .net .router-glow { opacity: 0; }
.net .blink { animation: blink 1.6s steps(2) infinite; }
.net .b2 { animation-duration: 1.1s; } .net .b3 { animation-duration: 2.1s; } .net .b4 { animation-duration: .8s; }
@keyframes blink { 50% { opacity: .2; } }
.net .beacon { animation: blink 1.4s ease-in-out infinite; }
.net .bar { transform-box: fill-box; transform-origin: bottom; animation: grow 2.4s ease-in-out infinite; }
.net .bar2 { animation-delay: .5s; } .net .bar3 { transform-origin: left; animation-name: growx; }
@keyframes grow { 50% { transform: scaleY(.45); } }
@keyframes growx { 50% { transform: scaleX(.4); } }
.net .ping { animation: blink 2s ease-in-out infinite; }

/* Sequência de arranque da cena */
.net .node { opacity: 0; animation: nodeIn .8s var(--ease) forwards; }
.net .n-tower { animation-delay: .1s; } .net .n-router { animation-delay: .35s; } .net .n-cloud { animation-delay: .9s; }
.net .n-server { animation-delay: 1.1s; } .net .n-laptop { animation-delay: 1.35s; } .net .n-phone { animation-delay: 1.5s; }
@keyframes nodeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.net .flows .flow { animation: flow 1.4s linear infinite, fadeIn .6s 1.6s forwards; }
.net .flows .f1 { animation-duration: 1.2s, .6s; } .net .flows .f2 { animation-duration: 2s, .6s; } .net .flows .f3 { animation-duration: 1.5s, .6s; }
.net .flows .f4 { animation-duration: 1.3s, .6s; } .net .flows .f5 { animation-duration: 1s, .6s; } .net .flows .f6 { animation-duration: 1.1s, .6s; }
.net .wireless use { animation: flow 1.6s linear infinite reverse, fadeOn .6s 1.9s forwards; }
@keyframes fadeIn { to { opacity: .95; } }
@keyframes fadeOn { to { opacity: .55; } }
.net .packets, .net .tags, .net .sat, .net .ripples { opacity: 0; animation: fadeFull .6s 2s forwards; }
@keyframes fadeFull { to { opacity: 1; } }
.net .router-glow { animation: routerOn 1.2s .8s forwards; }
@keyframes routerOn { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .35; } }
.net .led { animation: ledOn .3s forwards, blink 1.8s 2s steps(2) infinite; }
.net .l1 { animation-delay: .7s, 2s; } .net .l2 { animation-delay: .9s, 2.4s; } .net .l3 { animation-delay: 1.1s, 2.1s; }
.net .l4 { animation-delay: 1.3s, 2.7s; } .net .l5 { animation-delay: 1.5s, 2.2s; }
@keyframes ledOn { to { opacity: 1; } }

.hero__status { position: absolute; left: 4%; bottom: 2%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: rgba(255,255,255,.85); opacity: 0; animation: rise .8s 2.2s var(--ease) forwards; }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47,158,107,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(47,158,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,107,0); } }

/* ---------- Clientes ---------- */
.clients { background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0 34px; color: #fff; }
.clients__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.clients__label { font-size: 13px; color: rgba(255,255,255,.55); max-width: 220px; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; gap: 14px; flex-wrap: wrap; }
.clients__list li { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: border-color .2s, background .2s; }
.clients__list li:hover { border-color: rgba(107,212,217,.4); background: rgba(107,212,217,.06); }
.clients__list b { font: 700 18px/1.2 var(--f-display); letter-spacing: -.01em; }
.clients__list span { font-size: 12.5px; color: rgba(255,255,255,.55); }
.inuse { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #E6F5EE; color: #1D6E49; font-size: 13px; font-weight: 600; }
.inuse .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
.shots .shots__thumbs--6 { grid-template-columns: repeat(6, 1fr); gap: 8px; }
.shots .shots__thumbs--6 span { font-size: 11px; padding: 5px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Secções ---------- */
.section { padding: 110px 0; }
.section--soft { background: var(--n50); }
.section--ink { background: var(--ink-deep); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2, .about h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.contact h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; }
.section__head .lead { margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Índice de produtos ---------- */
.pindex { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.pindex a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.pindex a:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pindex b { font: 600 14px/1.2 var(--f-display); }
.pindex small { grid-column: 2; font-size: 12px; color: var(--muted); }
.pindex__ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; position: relative; }
.pindex__ico::after { content: ''; position: absolute; inset: 9px; border-radius: 3px; border: 2px solid #fff; }
.pi-edi { background: linear-gradient(135deg, #3A9AB8, #1F6F8A); }
.pi-crew { background: linear-gradient(135deg, #1F6F8A, #0F1B2D); }
.pi-crew::after { border-radius: 50% 50% 4px 4px; }
.pi-erp { background: linear-gradient(135deg, #B83A3A, #8A2A2A); }
.pi-wms { background: linear-gradient(135deg, #D89432, #A86A1A); }
.pi-wms::after { border-radius: 2px; border-width: 2px 2px 6px; }
.pi-crm { background: linear-gradient(135deg, #2F9E6B, #1D6E49); }
.pi-crm::after { border-radius: 50%; }

/* ---------- Produto ---------- */
.product { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--border); }
.product--flip .product__copy { order: 2; }
.product h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
.product__pitch { margin-top: 14px; font-size: 18px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; font-size: 15px; line-height: 1.5; }
.checks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(58,154,184,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A9AB8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tags-row span { font: 500 12px/1 var(--f-mono); padding: 6px 10px; border-radius: 999px; background: var(--n100); color: var(--n600); }
.product__art { position: relative; min-width: 0; }

/* Moldura tipo janela */
.frame { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; direction: ltr; transition: transform .5s var(--ease); }
.product:hover .frame { transform: translateY(-4px); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--n50); border-bottom: 1px solid var(--border); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E5675E; }
.frame__bar i:nth-child(2) { background: #E8B24A; } .frame__bar i:nth-child(3) { background: #4FBF73; }
.frame__bar span { margin-inline-start: 10px; font: 500 11px var(--f-mono); color: var(--n500); }

/* Galeria EDI */
.shots__main { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.shots__main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top left; transition: opacity .16s; }
.shots__main img.swap { opacity: 0; }
.shots__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.shots__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; text-align: center; }
.shots__thumbs button:hover { transform: translateY(-2px); }
.shots__thumbs button.active { border-color: var(--teal); }
.shots__thumbs img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.shots__thumbs span { display: block; font-size: 12px; font-weight: 500; padding: 6px 4px; color: var(--n600); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,19,34,.85); backdrop-filter: blur(4px); }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 12px; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- Mockups ---------- */
.mk-body { padding: 18px; display: grid; gap: 14px; font-size: 12px; }
.mk-title { font: 600 15px var(--f-display); color: var(--ink); }
.mk-title--sm { font-size: 13px; margin-top: 4px; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-kpis--3 { grid-template-columns: repeat(3, 1fr); }
.mk-kpis div { padding: 12px; border-radius: 10px; background: var(--n50); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.mk-kpis b { font: 700 22px/1 var(--f-display); color: var(--ink); }
.mk-kpis span { font-size: 11px; color: var(--n500); line-height: 1.3; }
.mk-kpis .warn b { color: var(--crimson); }
.mk-rows { display: grid; gap: 8px; }
.mk-rows div { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.mk-rows b { font-size: 13px; } .mk-rows small { color: var(--n500); }
.pill { display: inline-flex; justify-content: center; font: 600 10px/1 var(--f-mono); letter-spacing: .04em; padding: 5px 8px; border-radius: 999px; font-style: normal; white-space: nowrap; }
.pill--amber { background: #FBF1DE; color: #A86A1A; } .pill--teal { background: #E3F2F6; color: #1F6F8A; } .pill--green { background: #E6F5EE; color: #1D6E49; }
html[dir="rtl"] .pill, html[dir="rtl"] .mk-body, html[dir="rtl"] .mk-app { font-family: var(--f-body); }

.mock { position: relative; padding-bottom: 40px; direction: ltr; }
.mock .frame--wide { margin-right: 130px; }
.mock--crew .mk-kpis { grid-template-columns: repeat(2, 1fr); }
.phone { position: absolute; bottom: 0; right: 0; width: 190px; padding: 10px; border-radius: 30px; background: var(--ink-deep); box-shadow: var(--shadow-lg); direction: ltr; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.phone__notch { width: 60px; height: 6px; border-radius: 6px; background: #2C3E54; margin: 2px auto 8px; }
.phone__screen { background: #fff; border-radius: 22px; padding: 14px 12px; display: grid; gap: 8px; font-size: 11px; }
.phone__screen small { font: 600 9.5px var(--f-mono); color: var(--n500); letter-spacing: .06em; text-transform: uppercase; }
.ph-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; padding: 9px; border-radius: 10px; background: var(--n50); border: 1px solid var(--border); }
.ph-card b { font-size: 12px; } .ph-card span { color: var(--n500); grid-row: 2; } .ph-card em { grid-row: span 2; align-self: center; }
.ph-shift { display: flex; justify-content: space-between; padding: 9px; border-radius: 10px; background: var(--ink); color: #fff; }
.ph-shift b { color: var(--cyan); font-family: var(--f-mono); }
.ph-btn { text-align: center; padding: 9px; border-radius: 999px; background: var(--crimson); color: #fff; font-weight: 600; }

.mk-app { display: grid; grid-template-columns: 120px 1fr; min-height: 330px; font-size: 12px; }
.mk-side { background: var(--ink-deep); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mk-side b { font: 800 16px var(--f-display); color: #fff; margin: 0 6px 12px; }
.mk-side span { color: rgba(255,255,255,.6); padding: 7px 8px; border-radius: 6px; }
.mk-side span.on { background: rgba(107,212,217,.14); color: var(--cyan); }
.mk-main { padding: 18px; display: grid; gap: 10px; align-content: start; }
.mk-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: s; }
.mk-steps li { counter-increment: s; position: relative; padding: 26px 2px 0; text-align: center; font-size: 10.5px; color: var(--n500); }
.mk-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--n100); color: var(--n500); font: 600 10px var(--f-mono); z-index: 1; }
.mk-steps li::after { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--n200); }
.mk-steps li:first-child::after { display: none; }
.mk-steps li.ok { color: var(--ink); } .mk-steps li.ok::before { background: var(--green); color: #fff; content: '✓'; } .mk-steps li.ok::after { background: var(--green); }
.mk-steps li.cur { color: var(--crimson); font-weight: 600; } .mk-steps li.cur::before { background: var(--crimson); color: #fff; box-shadow: 0 0 0 4px rgba(184,58,58,.18); animation: pulseRing 1.8s infinite; }
@keyframes pulseRing { 50% { box-shadow: 0 0 0 8px rgba(184,58,58,0); } }
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 10px; border-radius: 10px; background: var(--n50); border: 1px solid var(--border); }
.mk-chart div { flex: 1; height: 100%; position: relative; }
.mk-chart div::before, .mk-chart div::after { content: ''; position: absolute; bottom: 0; width: 44%; border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.mk-chart div::before { left: 0; height: var(--a); background: var(--teal); }
.mk-chart div::after { right: 0; height: var(--b); background: var(--crimson-soft); }
.reveal.in .mk-chart div::before, .reveal.in .mk-chart div::after { transform: scaleY(1); }
.mk-chart div:nth-child(2)::before, .mk-chart div:nth-child(2)::after { transition-delay: .1s; }
.mk-chart div:nth-child(3)::before, .mk-chart div:nth-child(3)::after { transition-delay: .2s; }
.mk-chart div:nth-child(4)::before, .mk-chart div:nth-child(4)::after { transition-delay: .3s; }
.mk-chart div:nth-child(5)::before, .mk-chart div:nth-child(5)::after { transition-delay: .4s; }
.mk-chart div:nth-child(6)::before, .mk-chart div:nth-child(6)::after { transition-delay: .5s; }
.mk-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-ledger div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; border: 1px dashed var(--n300); }
.mk-ledger span { font: 500 10.5px var(--f-mono); color: var(--teal); }

.bins { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.bins span { aspect-ratio: 1.4; border-radius: 4px; animation: binIn .5s var(--ease) both; transition: background .6s; }
.bins .l0, .bins__legend .l0::before { background: var(--n100); }
.bins .l1, .bins__legend .l1::before { background: var(--cyan-soft); }
.bins .l2, .bins__legend .l2::before { background: var(--teal); }
.bins .pulse { animation: binPulse 1s ease; }
@keyframes binIn { from { opacity: 0; transform: scale(.6); } }
@keyframes binPulse { 40% { box-shadow: 0 0 0 3px rgba(184,58,58,.5); } }
.bins__legend { display: flex; gap: 14px; font-size: 11px; color: var(--n500); }
.bins__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bins__legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.phone--scan { width: 170px; }
.scan { position: relative; height: 70px; border-radius: 10px; background: var(--ink); overflow: hidden; display: grid; place-items: center; }
.scan__code { width: 70%; height: 36px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px); opacity: .9; }
.scan__laser { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--crimson-soft); box-shadow: 0 0 10px 2px rgba(216,89,89,.8); animation: laser 1.8s ease-in-out infinite; }
@keyframes laser { 0%, 100% { top: 18%; } 50% { top: 80%; } }

.mk-body--crm { padding: 16px; }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kcol { background: var(--n50); border: 1px solid var(--border); border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 170px; }
.kcol h5 { font: 600 10.5px var(--f-mono); text-transform: uppercase; color: var(--n500); letter-spacing: .05em; margin: 2px 2px 4px; }
html[dir="rtl"] .kcol h5 { font-family: var(--f-body); }
.kcol--won { background: #E6F5EE; border-color: #BFE5D2; }
.kcard { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; }
.kcard b { font-size: 12px; } .kcard span { font: 500 11px var(--f-mono); color: var(--green); }
.kcard--move { animation: dragCard 5s var(--ease) infinite; position: relative; z-index: 2; }
@keyframes dragCard { 0%, 25% { transform: none; box-shadow: var(--shadow-sm); } 40% { transform: translate(10px,-6px) rotate(3deg); box-shadow: var(--shadow-lg); } 60%, 75% { transform: translate(calc(100% + 12px), 0) rotate(0); box-shadow: var(--shadow-md); } 100% { transform: none; } }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(58,154,184,.45); }
.svc__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(58,154,184,.1); margin-bottom: 18px; }
.svc__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; }
.services .svc:nth-child(2) { transition-delay: .05s; } .services .svc:nth-child(3) { transition-delay: .1s; }

/* ---------- Processo ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--n50); border: 1px solid var(--border); }
.steps li span { font: 700 13px var(--f-mono); color: var(--crimson); }
.steps li h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.steps li p { font-size: 15px; color: var(--muted); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 34px; inset-inline-end: -14px; width: 10px; height: 10px; border-top: 2px solid var(--n300); border-right: 2px solid var(--n300); transform: rotate(45deg); }
html[dir="rtl"] .steps li:not(:last-child)::after { transform: rotate(-135deg); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about p { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.72); max-width: 560px; }
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.market { position: relative; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 2px; }
.market b { font: 600 16px var(--f-display); }
.market span { font-size: 13px; color: rgba(255,255,255,.55); }
.market--new { border-color: rgba(107,212,217,.45); background: rgba(107,212,217,.07); }
.market em { position: absolute; top: 12px; inset-inline-end: 12px; font: 600 10px/1 var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: var(--cyan); color: var(--ink-deep); }
.about__art img { border-radius: var(--r-xl); box-shadow: 0 30px 80px -20px rgba(184,58,58,.35); animation: float 8s ease-in-out infinite; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; padding: 56px; border-radius: var(--r-xl); background: radial-gradient(70% 90% at 0% 0%, rgba(58,154,184,.28), transparent 60%), var(--ink-deep); color: #fff; box-shadow: var(--shadow-lg); }
.contact__copy p { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 14px; align-items: baseline; }
.contact__list b { min-width: 80px; font: 600 12px var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.contact__list a { font-size: 17px; font-weight: 500; }
.contact__list a:hover { color: var(--cyan); }
.form { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 13px; font-weight: 600; color: var(--n600); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--n300); background: var(--n50); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58,154,184,.25); background: #fff; }
.form__note { font-size: 12.5px; color: var(--n500); text-align: center; }
.form__err { font-size: 13px; color: var(--crimson); text-align: center; font-weight: 500; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink-deep); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 14px; max-width: 320px; font-size: 14px; }
.brand--light img { width: 36px; height: 36px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 6px; }
html[dir="rtl"] .footer__col h4 { letter-spacing: 0; }
.footer__col a:hover { color: var(--cyan); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { position: fixed; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(15,27,45,.97); backdrop-filter: blur(14px); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; margin: 0; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; font-size: 16px; }
  .nav--open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__burger { display: flex; }
  .nav__actions { margin-inline-start: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 640px; margin: 0 auto; width: 100%; }
  .pindex { grid-template-columns: repeat(3, 1fr); }
  .product, .product--flip { grid-template-columns: 1fr; gap: 36px; }
  .product--flip .product__copy { order: 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 520px; }
  .contact { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav__cta { display: none; }
  .hero { padding: 110px 0 56px; }
  .hero__lead { font-size: 16px; }
  .hero__proof { gap: 20px; }
  .hero__proof dt { font-size: 22px; }
  .hero__status { position: static; margin-top: 8px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .pindex { grid-template-columns: 1fr 1fr; }
  .pindex a:last-child { grid-column: span 2; }
  .product { padding: 44px 0; }
  .mock { padding-bottom: 0; }
  .mock .frame--wide { margin-right: 0; }
  .phone { position: relative; margin: -40px 12px 0 auto; right: auto; width: 170px; }
  .mk-kpis { grid-template-columns: repeat(2, 1fr); }
  .mk-kpis--3 { grid-template-columns: repeat(3, 1fr); }
  .mk-kpis b { font-size: 18px; }
  .mk-rows div { grid-template-columns: auto 1fr; }
  .mk-rows small { display: none; }
  .mk-app { grid-template-columns: 1fr; }
  .mk-side { flex-direction: row; overflow: hidden; padding: 10px; }
  .mk-side b { margin: 0 6px 0 0; }
  .mk-side span:nth-child(n+5) { display: none; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .kcard--move { animation: none; }
  .services, .steps, .markets { grid-template-columns: 1fr; }
  .contact { padding: 28px 18px; border-radius: var(--r-lg); }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .shots__thumbs span { font-size: 11px; }
  .shots .shots__thumbs--6 { grid-template-columns: repeat(3, 1fr); }
  .clients__inner { gap: 14px; }
  .clients__label { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

html[dir="rtl"] .footer__col a[dir="ltr"] { text-align: right; }
