/* =========================================================
   STROBE — Segurança sem limites
   Design system + componentes
   ========================================================= */

:root {
  --navy-950: #141a29;
  --navy-900: #1d253a;   /* azul-marinho oficial (kit) */
  --navy-800: #26304a;
  --navy-700: #12305a;
  --ink: #1d253a;          /* títulos: azul-marinho oficial */
  --accent: #00aade;       /* ciano oficial (kit) */
  --brand-blue: #3a5ca6;   /* azul do padrão de circuitos */
  --accent-600: #0093c4;
  --accent-50: #eaf6fe;
  --text: #33415c;
  --muted: #64748b;
  --line: #e3eaf3;
  --surface: #f5f8fc;
  --white: #fff;

  --font-head: "Source Sans 3", "Source Sans Pro", Calibri, system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Calibri, system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(12, 36, 97, .06);
  --shadow: 0 18px 40px -18px rgba(12, 36, 97, .25);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--accent); }

/* ---------- Tipografia de secção ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.eyebrow--accent { color: var(--accent); }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.bar-title { position: relative; padding-left: 18px; }
.bar-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  background: var(--accent); border-radius: 3px;
  transform-origin: top; transform: scaleY(0); transition: transform .9s var(--ease) .2s;
}
.is-visible .bar-title::before, .bar-title.is-visible::before { transform: scaleY(1); }
.lead { font-size: 17px; color: var(--muted); max-width: 56ch; }

.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--tint { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.side-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border-left: 2px solid var(--accent); padding-left: 12px; line-height: 1.5;
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--accent); --fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { /* brilho a varrer */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,170,222,.7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--sm { padding: 11px 20px; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: #cfd8e6; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--accent); border-color: var(--accent); }
.btn--outline:hover { --bg: var(--accent); --fg: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 14px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo__word { font-family: var(--font-head); font-weight: 700; font-size: 30px; letter-spacing: .02em; display: inline-flex; align-items: center; }
.logo__o { width: .86em; height: .86em; margin: 0 .03em; }
.logo small { font-size: 9.5px; letter-spacing: .16em; font-weight: 600; margin-top: 6px; opacity: .85; }
.logo .lens-ring { transform-origin: center; transform-box: fill-box; animation: spin 14s linear infinite; }
.logo .lens-dot { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease), backdrop-filter .4s;
}
.header .container { display: flex; align-items: center; gap: 32px; }
.header--dark { color: #fff; }
.header--dark .logo { color: #fff; }
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(12,36,97,.3); color: var(--ink);
}
.header.is-scrolled .logo { color: var(--ink); }
.nav { display: flex; gap: 34px; margin-left: auto; margin-right: auto; }
.nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  position: relative; padding: 8px 0; opacity: .9; transition: color .3s, opacity .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover, .nav a.is-active { color: var(--accent); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: transparent; border: 0; cursor: pointer; transition: background .3s;
}
.icon-btn:hover { background: rgba(0,170,222,.14); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; place-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.burger span + span { margin-top: 5px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-900); color: #fff;
  padding: calc(var(--header-h) + 30px) 28px 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu a.m-link {
  font-family: var(--font-head); font-size: 32px; font-weight: 700; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s;
}
.mobile-menu a.m-link.is-active, .mobile-menu a.m-link:hover { color: var(--accent); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .08s; }
.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .14s; }
.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: .2s; }
.menu-open .mobile-menu a.m-link:nth-child(5) { transition-delay: .26s; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mobile-menu .m-contacts { margin-top: auto; font-size: 14px; color: #9fb3cf; }
.menu-open { overflow: hidden; }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo { color: #fff; }

/* ---------- Overlay de pesquisa ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,26,41,.92); backdrop-filter: blur(10px);
  display: grid; place-items: start center; padding-top: 18vh;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box { width: min(92vw, 720px); transform: translateY(-20px); transition: transform .5s var(--ease); }
.search-overlay.is-open .search-box { transform: none; }
.search-box input {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.2);
  color: #fff; font-size: clamp(22px, 4vw, 36px); font-family: var(--font-head); padding: 14px 0; outline: none;
  transition: border-color .3s;
}
.search-box input:focus { border-color: var(--accent); }
.search-results { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.search-results a {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 10px; color: #dbe6f5;
  transition: background .25s, color .25s;
}
.search-results a:hover, .search-results a:focus { background: rgba(0,170,222,.15); color: #fff; outline: none; }
.search-results small { color: #7f93b0; }
.search-hint { color: #7f93b0; font-size: 13px; margin-top: 14px; }
.search-close { position: absolute; top: 24px; right: 24px; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy-900); overflow: hidden;
  min-height: 560px; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero__bg { position: absolute; inset: -6% 0 0; z-index: 0; }
.hero__bg img { width: 100%; height: 112%; object-fit: cover; will-change: transform; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,26,41,.95) 0%, rgba(29,37,58,.82) 42%, rgba(29,37,58,.25) 80%, rgba(29,37,58,.35) 100%),
              linear-gradient(0deg, rgba(20,26,41,.6), transparent 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.hero h1 .accent { color: var(--accent); }
.hero p { color: #c8d5e8; font-size: 17px; max-width: 48ch; }
.hero .bar-title::before { top: 6px; bottom: 6px; }
.hero__badges { display: flex; gap: 0; margin-top: 34px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 12px; padding: 4px 26px 4px 0; margin-right: 26px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
  border-right: 1px solid rgba(255,255,255,.14);
}
.badge:last-child { border-right: 0; }
.badge svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.hero__aside {
  position: absolute; right: max(20px, calc((100vw - var(--container)) / 2)); bottom: 46px; z-index: 2;
  border-left: 3px solid var(--accent); padding-left: 16px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.75; color: #e6eef9;
}
.breadcrumb { font-size: 13px; color: #9fb3cf; margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* scanline animada no hero */
.scanline {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,170,222,.08) 50%, transparent);
  height: 30%; animation: scan 7s linear infinite;
}
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(400%); } }

/* Hero da Home (claro) */
.hero--home { background: linear-gradient(180deg, #f6f9fd, #fff); color: var(--ink); min-height: 680px; }
.hero--home::before { display: none; }
.hero--home .hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 50px; align-items: center; }
.hero--home h1 { color: var(--ink); }
.hero--home p { color: var(--text); }
.hero--home .hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero--home .badge { border-color: var(--line); color: var(--ink); }
.hero--home .badge { padding-right: 18px; margin-right: 18px; }
.hero--home .badge strong { display: block; font-size: 20px; font-family: var(--font-head); letter-spacing: 0; }
.hero-visual { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 5/4.2; box-shadow: 0 40px 80px -40px rgba(12,36,97,.55); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hero-visual:hover img { transform: scale(1.1); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(20,26,41,.75)); }
.live-card {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; color: #fff;
  border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; max-width: 220px;
}
.live-card .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.live-card .v { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1.1; }
.live-card .d { font-size: 13px; opacity: .85; }
.rec {
  position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; gap: 8px; align-items: center;
  background: rgba(20,26,41,.6); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; padding: 7px 12px; border-radius: 999px;
}
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.2s infinite; }
.rec time { font-variant-numeric: tabular-nums; font-weight: 500; opacity: .85; }
@keyframes blink { 50% { opacity: .2; } }
.hero-float {
  position: absolute; left: -30px; top: 40%; z-index: 3; background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; animation: floaty 5s ease-in-out infinite;
}
.hero-float .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; }
.hero-float .ic svg { width: 22px; height: 22px; }
.hero-float b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; }
.hero-float span { font-size: 12px; color: var(--muted); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats--dark { background: linear-gradient(90deg, var(--navy-900), var(--navy-800)); color: #fff; border: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; align-items: center; gap: 18px; padding: 34px 26px; position: relative;
}
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stats--dark .stat + .stat::before { background: rgba(255,255,255,.12); }
.stat svg { width: 42px; height: 42px; color: var(--accent); flex: none; }
.stat .num { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; }
.stats--dark .num { color: #fff; }
.stat .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.stats--dark .lbl { color: #b9c7db; }

/* ---------- Sobre (split) ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 48px; align-items: center; }
.about__text p { color: var(--text); }
.feature-list { display: grid; gap: 26px; border-left: 1px solid var(--line); padding-left: 40px; }
.feature { display: flex; gap: 16px; }
.feature svg { width: 30px; height: 30px; color: var(--accent); flex: none; margin-top: 2px; transition: transform .5s var(--ease); }
.feature:hover svg { transform: rotate(-8deg) scale(1.12); }
.feature h4 { font-size: 15px; margin-bottom: 2px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.img-panel { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; height: 100%; }
.img-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-panel:hover img { transform: scale(1.06); }
.img-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,26,41,.85), rgba(20,26,41,.05) 60%); }
.img-panel .tag {
  position: absolute; z-index: 2; left: 26px; bottom: 26px; color: #fff; border-left: 3px solid var(--accent);
  padding-left: 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6;
}

/* ---------- Cards de serviço (Home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.1); }
.svc-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body svg.ic { width: 24px; height: 24px; color: var(--accent); margin-bottom: 12px; }
.svc-card h3 { font-size: 15px; margin-bottom: 6px; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-card .link-arrow { font-size: 13px; }

/* ---------- Tecnologia (dark split) ---------- */
.tech { display: grid; grid-template-columns: 1fr 1.15fr .8fr; background: var(--navy-900); }
.tech__intro {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 60px); color: #c8d5e8; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 100%, rgba(0,170,222,.22), transparent 70%), var(--navy-900);
}
.tech__intro h2 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; background: #fff; }
.tech-item {
  background: var(--surface); border-radius: 12px; padding: 22px; transition: background .35s, transform .45s var(--ease);
}
.tech-item:hover { background: var(--accent-50); transform: translateY(-4px); }
.tech-item svg { width: 26px; height: 26px; color: var(--accent); }
.tech-item .n { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.tech-item h4 { font-size: 15px; margin-bottom: 6px; }
.tech-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.tech .img-panel { border-radius: 0; min-height: 100%; }

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: .9fr 3fr .5fr; gap: 40px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; padding-top: 6px; }
.steps::before { /* linha de ligação */
  content: ""; position: absolute; top: 34px; left: 34px; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--accent), #b7e3fb); transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .3s;
}
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  position: relative; z-index: 1; box-shadow: 0 0 0 7px #fff, 0 0 0 8px var(--line); transition: background .35s, transform .45s var(--ease);
}
.step:hover .step__dot { background: var(--accent); transform: scale(1.08); }
.step__dot svg { width: 24px; height: 24px; }
.step .n { font-family: var(--font-head); color: var(--accent); font-weight: 800; font-size: 22px; margin-top: 20px; display: inline-block; margin-right: 8px; }
.step h4 { display: inline; font-size: 15px; }
.step p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- Clientes (marquee) ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 32s linear infinite; padding: 10px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client {
  font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #7c8aa3; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: opacity .3s, color .3s;
}
.client:hover { opacity: 1; color: var(--ink); }
.client i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; display: inline-block; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; padding: 64px 0; background: var(--navy-900); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 130%; object-fit: cover; opacity: .55; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,26,41,.97) 0%, rgba(29,37,58,.85) 45%, rgba(29,37,58,.35)); }
.cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta p { color: #c8d5e8; margin: 0; max-width: 52ch; }
.cta .side-tag { color: #e6eef9; border-color: var(--accent); font-size: 13px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb3cf; padding: 64px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr .7fr; gap: 36px; padding-bottom: 44px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer h5 { color: #fff; font-family: var(--font-head); font-size: 14px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { transition: color .25s, padding .25s; }
.footer ul a:hover { color: var(--accent); padding-left: 4px; }
.footer .c-item { display: flex; gap: 10px; align-items: center; }
.footer .c-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff;
  transition: background .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Missão / Visão / Valores ---------- */
.mvv { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 14px; }
.mvv .img-panel { min-height: 300px; }
.mvv-card { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; transition: background .4s, transform .45s var(--ease), box-shadow .4s; }
.mvv-card:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow); }
.mvv-card svg { width: 38px; height: 38px; color: var(--accent); margin-bottom: 18px; transition: transform .6s var(--ease); }
.mvv-card:hover svg { transform: rotate(360deg); }
.mvv-card h3 { font-size: 22px; }
.mvv-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Compromisso ---------- */
.commit { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; }
.commit__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card .ph { aspect-ratio: 4/3.2; overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo-card:hover .ph img { transform: scale(1.08); }
.photo-card .bd { padding: 18px; display: flex; gap: 12px; }
.photo-card .bd svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.photo-card h4 { font-size: 15px; margin-bottom: 4px; }
.photo-card p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Lista de serviços (página) ---------- */
.subbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; }
.subbar .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.subbar .crumbs a { color: var(--muted); } .subbar .crumbs a:hover { color: var(--accent); }
.subbar .crumbs span { margin: 0 8px; color: #b3bfd0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text); cursor: pointer; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-list { display: grid; gap: 12px; }
.svc-row {
  display: grid; grid-template-columns: 250px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .4s, border-color .3s, background .3s, transform .45s var(--ease), opacity .4s;
}
.svc-row:hover, .svc-row.is-open { box-shadow: var(--shadow); border-color: #d2e9f8; background: #fbfdff; }
.svc-row.is-hidden { display: none; }
.svc-row__img { position: relative; overflow: hidden; min-height: 112px; }
.svc-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-row:hover .svc-row__img img { transform: scale(1.08); }
.svc-row__main { display: grid; grid-template-columns: 70px 1fr auto; gap: 26px; align-items: center; padding: 18px 26px; }
.svc-row__ic {
  width: 66px; height: 66px; border-radius: 12px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center;
  transition: background .35s, color .35s, transform .45s var(--ease);
}
.svc-row:hover .svc-row__ic, .svc-row.is-open .svc-row__ic { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.svc-row__ic svg { width: 32px; height: 32px; }
.svc-row h3 { font-size: 19px; margin-bottom: 4px; }
.svc-row p { font-size: 14px; color: var(--muted); margin: 0; }
.svc-row__toggle {
  border: 0; border-left: 1px solid var(--line); background: none; padding: 16px 0 16px 28px; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center;
}
.svc-row__toggle svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.svc-row.is-open .svc-row__toggle svg { transform: rotate(90deg); }
.svc-row__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc-row.is-open .svc-row__more { grid-template-rows: 1fr; }
.svc-row__more > div { overflow: hidden; }
.svc-row__more .inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 30px; padding: 6px 26px 26px 276px; align-items: start; }
.svc-row__more ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14px; }
.svc-row__more li { display: flex; gap: 8px; align-items: start; }
.svc-row__more li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5ec' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
.svc-row__more .ideal { font-size: 13.5px; color: var(--muted); }
.svc-row__more .ideal b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- Contactos ---------- */
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; }
.contact__form { padding-right: 56px; border-right: 1px solid var(--line); }
.contact__info { padding-left: 56px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; font-size: 14.5px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(0,170,222,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; background: #fff8f8; }
.field .err { font-size: 12px; color: #e5484d; min-height: 0; display: none; }
.field.has-error .err { display: block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.check { display: flex; gap: 10px; align-items: center; font-size: 13.5px; margin: 20px 0 26px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check a { color: var(--accent); }
.check.has-error { color: #e5484d; }
.form-success {
  display: none; text-align: center; padding: 50px 20px; border: 1px dashed #bfe3f8; border-radius: var(--radius); background: var(--accent-50);
}
.form-success.is-shown { display: block; animation: pop .6s var(--ease); }
.form-success svg { width: 64px; height: 64px; color: var(--accent); margin: 0 auto 14px; }
.form-success svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading svg.arrow { animation: spin .8s linear infinite; }
.info-list { display: grid; gap: 30px; margin: 30px 0; }
.info-item { display: flex; gap: 22px; }
.info-item .ic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); flex: none;
  background: var(--accent-50); transition: background .3s, color .3s, transform .45s var(--ease);
}
.info-item:hover .ic { background: var(--accent); color: #fff; transform: scale(1.06); }
.info-item .ic svg { width: 24px; height: 24px; }
.info-item h4 { font-size: 16px; margin-bottom: 4px; }
.info-item p, .info-item a { margin: 0; color: var(--text); display: block; }
.info-item a:hover { color: var(--accent); }
.open-now { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.open-now i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.open-now.on { background: #e5f8ee; color: #138a4b; }
.open-now.off { background: #fdeeee; color: #c23b3f; }
.direct { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }

.visit { display: grid; grid-template-columns: .9fr 2.1fr; gap: 30px; align-items: stretch; }
.addr-card { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; margin-top: 26px; box-shadow: var(--shadow-sm); }
.addr-card svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.addr-card h4 { font-size: 15px; margin-bottom: 4px; }
.addr-card p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-sm); background: #e9eef5; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Modal orçamento ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(20,26,41,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(100%, 640px); max-height: 92vh; overflow: auto; background: #fff; border-radius: 20px; padding: 36px;
  transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); position: relative;
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; color: var(--ink); }
.modal h3 { font-size: 26px; }
.modal .lead { font-size: 15px; margin-bottom: 22px; }
.svc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pick label { cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; transition: all .25s; }
.svc-pick input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc-pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,170,222,.3); }

/* ---------- Toast / back-to-top / progresso ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0,170,222,.8);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 400; transform: translate(-50%, 30px); opacity: 0;
  background: var(--navy-900); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow);
  transition: opacity .35s, transform .45s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #3ddc97; }

/* ---------- Animações de entrada ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero [data-reveal] { transition-duration: 1.1s; }

/* Imagens que se revelam com cortina */
.curtain { position: relative; }
.curtain::before {
  content: ""; position: absolute; inset: 0; z-index: 3; background: var(--accent);
  transform-origin: right; transition: transform 1.1s var(--ease) var(--d, 0s);
}
.curtain.is-visible::before { transform: scaleX(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr 1fr; }
  .about .img-panel { grid-column: 1 / -1; min-height: 320px; }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech .img-panel { display: none; }
  .process { grid-template-columns: 1fr; }
  .process .side-tag { display: none; }
  .mvv { grid-template-columns: 1fr 1fr; }
  .commit { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .svc-row__more .inner { padding-left: 26px; grid-template-columns: 1fr 1fr; }
  .svc-row__more .inner .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero-float { left: 14px; top: auto; bottom: -22px; }
  .hero__aside { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .contact { grid-template-columns: 1fr; }
  .contact__form { padding-right: 0; border-right: 0; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
  .contact__info { padding-left: 0; padding-top: 50px; }
  .visit { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__img { min-height: 160px; }
  .svc-row__main { grid-template-columns: 56px 1fr; gap: 16px; padding: 18px; }
  .svc-row__ic { width: 56px; height: 56px; }
  .svc-row__toggle { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; justify-content: flex-start; }
  .svc-row__more .inner { grid-template-columns: 1fr; padding: 0 18px 22px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about { grid-template-columns: 1fr; }
  .feature-list { border-left: 0; padding-left: 0; }
  .tech { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps::before { display: none; }
  .mvv { grid-template-columns: 1fr; }
  .commit__cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 10px; gap: 12px; }
  .stat svg { width: 32px; height: 32px; }
  .stat .num { font-size: 26px; }
  .stat::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-row__more ul { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .badge { border: 0; padding-right: 0; margin: 6px 22px 6px 0; }
  .modal__box { padding: 28px 20px; }
  .hero { min-height: 520px; }
}

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

/* Sobre: menos espaço entre "Missão, Visão e Valores" e "O nosso compromisso" */
#mvv { padding-bottom: clamp(36px, 4vw, 56px); }
.section--tight-top { padding-top: clamp(48px, 5vw, 72px); }

/* =========================================================
   CAMADA DE MOVIMENTO (motion.js)
   Usa translate / scale / rotate (propriedades independentes),
   que se somam aos transform já existentes sem os substituir.
   ========================================================= */

/* scroll suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* imagens com parallax + zoom de entrada */
.px-img { scale: var(--s, 1.14); translate: 0 var(--py, 0%); will-change: translate, scale; }

/* caixas a flutuar */
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 var(--float, -8px); } }
.is-floating { animation: floatY 2.2s ease-in-out infinite; }

/* inclinação 3D com o rato */
.tilt-group { perspective: 1100px; }
.tilt { rotate: var(--rv, 0 0 1 0deg); transition: rotate .5s cubic-bezier(.22,.8,.24,1); }

/* --- Hero: badges (Sistema activo · Monitorização · Suporte) --- */
.badge { transition: background .6s, color .6s, box-shadow .6s; }
.badge svg { transition: color .6s, scale .6s cubic-bezier(.22,.8,.24,1), filter .6s; }
.badge.is-lit svg, .badge:hover svg { scale: 1.2; filter: drop-shadow(0 6px 12px rgba(0,170,222,.55)); }
.hero--home .badge.is-lit, .hero--home .badge:hover { color: var(--accent); }
.hero:not(.hero--home) .badge.is-lit svg, .hero:not(.hero--home) .badge:hover svg { color: #fff; }

/* --- Cartões de soluções (Home) --- */
.svc-card { position: relative; }
.svc-card__body { transition: background .7s, color .7s; }
.svc-card__body h3, .svc-card__body p, .svc-card__body .link-arrow, .svc-card__body svg.ic { transition: color .7s; }
.svc-card.is-lit { border-color: transparent; box-shadow: 0 26px 50px -24px rgba(0,170,222,.65); }
.svc-card.is-lit .svc-card__body, .svc-card:hover .svc-card__body { background: linear-gradient(160deg, #00aade 0%, #3a5ca6 100%); }
.svc-card.is-lit .svc-card__body h3, .svc-card.is-lit .svc-card__body p, .svc-card.is-lit .svc-card__body .link-arrow, .svc-card.is-lit .svc-card__body svg.ic,
.svc-card:hover .svc-card__body h3, .svc-card:hover .svc-card__body p, .svc-card:hover .svc-card__body .link-arrow, .svc-card:hover .svc-card__body svg.ic { color: #fff; }
.svc-card svg.ic { transition: color .7s, scale .6s cubic-bezier(.22,.8,.24,1); }
.svc-card.is-lit svg.ic, .svc-card:hover svg.ic { scale: 1.25; }

/* --- Tecnologia de ponta: 4 caixas --- */
.tech-item { transition: background .7s, color .7s, box-shadow .7s; }
.tech-item h4, .tech-item p, .tech-item .n, .tech-item svg { transition: color .7s; }
.tech-item.is-lit, .tech-item:hover { background: linear-gradient(160deg, #00aade 0%, #3a5ca6 100%); box-shadow: 0 24px 46px -24px rgba(0,170,222,.7); }
.tech-item.is-lit h4, .tech-item.is-lit p, .tech-item.is-lit .n, .tech-item.is-lit svg,
.tech-item:hover h4, .tech-item:hover p, .tech-item:hover .n, .tech-item:hover svg { color: #fff; }

/* --- Missão / Visão / Valores, compromisso, números, contactos --- */
.mvv-card.is-lit { background: #fff; box-shadow: var(--shadow); }
.mvv-card.is-lit svg { color: #3a5ca6; scale: 1.12; }
.mvv-card svg { transition: transform .6s var(--ease), color .6s, scale .6s; }
.stat svg { transition: color .6s, scale .6s cubic-bezier(.22,.8,.24,1); }
.stat.is-lit svg { scale: 1.18; color: var(--ink); }
.stats--dark .stat.is-lit svg { color: #fff; }
.photo-card.is-lit { box-shadow: var(--shadow); }
.photo-card .bd svg { transition: color .6s, scale .6s; }
.photo-card.is-lit .bd svg, .photo-card:hover .bd svg { scale: 1.15; color: #3a5ca6; }
.feature.is-lit svg { rotate: -8deg; scale: 1.12; }
.step.is-lit .step__dot { background: var(--accent); }

/* brilho que atravessa as imagens ao entrar */
.shine { position: relative; }
.shine::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  translate: -120% 0; transition: translate 1.4s cubic-bezier(.22,.8,.24,1) .3s;
}
.shine.is-shined::after { translate: 120% 0; }

@media (prefers-reduced-motion: reduce) {
  .px-img { scale: 1; translate: none; }
  /* o hover (flutuar + mudar de cor) funciona mesmo com "reduzir movimento" activo no sistema */
  .is-floating { animation-duration: 2.2s !important; animation-iteration-count: infinite !important; }
  .badge, .badge svg, .svc-card, .svc-card *, .tech-item, .tech-item *, .mvv-card, .mvv-card svg, .photo-card, .photo-card .bd svg, .stat svg, .feature svg { transition-duration: .7s !important; }
}


/* =========================================================
   BRANDING OFICIAL — Strobe Solutions (kit de normas gráficas)
   ========================================================= */
body { font-size: 16.5px; }
h1, h2, h3, h4 { letter-spacing: -.01em; }

/* logo oficial: escuro sobre fundos claros, negativo (branco) sobre fundos escuros */
.logo { flex-direction: row; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
.logo__light { display: none !important; }
.header--dark .logo__dark, .menu-open .header .logo__dark, .footer .logo__dark { display: none !important; }
.header--dark .logo__light, .menu-open .header .logo__light, .footer .logo__light { display: block !important; }
.header.is-scrolled .logo__dark { display: block !important; }
.header.is-scrolled .logo__light { display: none !important; }
.menu-open .header.is-scrolled .logo__dark { display: none !important; }
.menu-open .header.is-scrolled .logo__light { display: block !important; }
.header.is-scrolled .logo img { height: 36px; }
.footer .logo img { height: 48px; }

/* padrão principal: circuitos sempre à esquerda */
.circuit {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;
  width: clamp(40px, calc((100vw - 1200px) / 2 - 6px), 190px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.circuit img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: left top; }
.hero .circuit { opacity: .75; top: var(--header-h); }
.hero--home .circuit { opacity: .5; }
.cta .circuit { z-index: 1; opacity: .8; }
.tech__intro .circuit { opacity: .7; }
.stats--dark { position: relative; overflow: hidden; }
.stats--dark .circuit { opacity: .6; width: clamp(50px, 6vw, 110px); }
.footer { position: relative; }
.footer .circuit { opacity: .45; }
.mobile-menu .circuit { opacity: .35; width: 90px; }
.hero .container, .cta .container, .stats--dark .container, .footer .container { position: relative; z-index: 2; }
.tech__intro > *:not(.circuit) { position: relative; z-index: 2; }

/* entrada: os circuitos "desenham-se" de cima para baixo */
.circuit { clip-path: inset(0 0 100% 0); transition: clip-path 2.2s cubic-bezier(.65,0,.35,1); }
.circuit.is-drawn { clip-path: inset(0 0 0 0); }
@media (max-width: 900px) {
  .circuit { width: 64px; }
  .hero .circuit, .cta .circuit { opacity: .45; }
  .logo img { height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .circuit { clip-path: none; } }

/* =========================================================
   Circuitos só na primeira secção, discretos, no canto esquerdo
   ========================================================= */
.hero .circuit {
  top: 0; bottom: 0; height: auto; opacity: .5;
  width: clamp(56px, calc((100vw - 1200px) / 2 - 6px), 150px);
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent), linear-gradient(180deg, #000 40%, transparent 92%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 45%, transparent), linear-gradient(180deg, #000 40%, transparent 92%);
          mask-composite: intersect;
}
.hero--home .circuit { opacity: .4; }
@media (max-width: 900px) {
  .hero .circuit { top: 74px; bottom: auto; height: 380px; width: 46px; opacity: .5; }
  .hero--home .circuit { opacity: .45; }
  .hero .circuit img { top: 0; height: 100%; }
}

/* =========================================================
   Logo: o olho da Strobe vigia de um lado para o outro
   ========================================================= */
.logo__mark { position: relative; display: block; line-height: 0; }
.logo__eye {
  position: absolute; left: 44.25%; top: 9.135%; width: 25.2%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; pointer-events: none;
}
.logo__eye img {
  position: absolute; left: 12.3%; top: 12.3%; width: 75.4%; height: 75.4%; max-width: none;
  animation: eye-watch 8s cubic-bezier(.45,0,.25,1) infinite;
}
.logo .logo__eye img { width: 75.4% !important; height: 75.4% !important; }   /* ignora as regras gerais .logo img */
.footer .logo__eye img { animation-delay: -3s; }
@keyframes eye-watch {
  0%, 6%   { translate: 0 0; }
  16%, 30% { translate: -14% 1%; }   /* olha para a esquerda e fica */
  38%      { translate: 0 2%; }
  48%, 62% { translate: 14% 1%; }    /* olha para a direita e fica */
  70%      { translate: 7% -6%; }
  80%      { translate: -7% -5%; }
  90%, 100%{ translate: 0 0; }
}

/* =========================================================
   Header suspenso: barra flutuante, sempre visível
   ========================================================= */
.header, .header.is-scrolled, .header--dark, .menu-open .header {
  top: 14px; height: auto; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink);
}
.header .container {
  width: min(100% - 32px, 1240px); height: 66px; padding: 0 12px 0 22px; border-radius: 20px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 18px 44px -22px rgba(29,37,58,.5), 0 2px 6px -2px rgba(29,37,58,.08);
  transition: box-shadow .5s, background .5s, height .5s cubic-bezier(.22,.8,.24,1);
}
.header.is-scrolled .container { height: 60px; background: rgba(255,255,255,.94); box-shadow: 0 22px 50px -20px rgba(29,37,58,.55), 0 2px 8px -2px rgba(29,37,58,.12); }
.header--dark .logo, .menu-open .header .logo { color: var(--ink); }
.header .logo__dark, .menu-open .header .logo__dark, .menu-open .header.is-scrolled .logo__dark { display: block !important; }
.header .logo__light, .menu-open .header .logo__light, .menu-open .header.is-scrolled .logo__light { display: none !important; }
.header .logo img, .header.is-scrolled .logo img { height: 40px; }
@media (max-width: 900px) {
  .header, .header.is-scrolled, .header--dark, .menu-open .header { top: 10px; }
  .header .container { width: calc(100% - 20px); height: 58px; padding: 0 6px 0 16px; border-radius: 16px; }
  .header.is-scrolled .container { height: 56px; }
  .header .logo img, .header.is-scrolled .logo img { height: 34px; }
}


/* =========================================================
   Circuitos como identidade, distribuídos pelo site
   (motion.js esconde qualquer um que toque em conteúdo: .deco--off)
   ========================================================= */
.section > .container, .cta > .container, .footer > .container { position: relative; z-index: 2; }
.tech__intro > *:not(.circuit):not(.deco) { position: relative; z-index: 2; }
.deco {
  position: absolute; z-index: 1; pointer-events: none; overflow: hidden; opacity: .42;
  transition: clip-path 1.8s cubic-bezier(.65,0,.35,1);
}
.deco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.deco--off { display: none !important; }
.cta .deco, .footer .deco, .tech__intro .deco { opacity: .5; }

/* vertical na margem direita, espelhado */
.deco--vr {
  top: 0; right: 0; height: 360px; width: clamp(0px, calc((100vw - 1200px) / 2 - 24px), 140px);
  -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent), linear-gradient(180deg, #000 40%, transparent); -webkit-mask-composite: source-in;
          mask-image: linear-gradient(270deg, #000 45%, transparent), linear-gradient(180deg, #000 40%, transparent); mask-composite: intersect;
  clip-path: inset(0 0 100% 0);
}
.deco--vr img { scale: -1 1; object-position: left top; }

/* vertical na margem esquerda, a subir do fundo */
.deco--vlb {
  bottom: 0; left: 0; height: 320px; width: clamp(0px, calc((100vw - 1200px) / 2 - 24px), 140px);
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent), linear-gradient(0deg, #000 40%, transparent); -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 45%, transparent), linear-gradient(0deg, #000 40%, transparent); mask-composite: intersect;
  clip-path: inset(100% 0 0 0);
}
.deco--vlb img { scale: 1 -1; object-position: left top; }
.tech__intro .deco--vlb { width: 44px; height: 260px; }

/* traço horizontal no espaço inferior, alinhado ao início do conteúdo */
.deco--hbl {
  bottom: 12px; left: max(20px, calc((100vw - 1200px) / 2)); width: min(340px, 62vw); height: 40px;
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent); mask-image: linear-gradient(90deg, #000 50%, transparent);
  clip-path: inset(0 100% 0 0);
}
.deco--hbl img { object-position: left center; }

/* traço horizontal no espaço superior, alinhado à direita, espelhado */
.deco--htr {
  top: 12px; right: max(20px, calc((100vw - 1200px) / 2)); width: min(340px, 62vw); height: 40px;
  -webkit-mask-image: linear-gradient(270deg, #000 50%, transparent); mask-image: linear-gradient(270deg, #000 50%, transparent);
  clip-path: inset(0 0 0 100%);
}
.deco--htr img { scale: -1 1; object-position: left center; }

/* padrão secundário do kit: círculos concêntricos a sair pela direita */
.deco--rings { top: 50%; right: calc(-220px + clamp(0px, calc((100vw - 1200px) / 2 - 24px), 150px)); width: 220px; height: 220px; margin-top: -110px; opacity: .35; clip-path: circle(0% at 50% 50%); }
.deco--rings img { object-fit: contain; }

.deco.is-drawn { clip-path: inset(0 0 0 0); }
.deco--rings.is-drawn { clip-path: circle(75% at 50% 50%); }
@media (prefers-reduced-motion: reduce) { .deco { clip-path: none !important; } }

/* Soluções: traço que liga o título à etiqueta "Segurança em todas as dimensões" */
.section-head { position: relative; }
.deco--link {
  top: 4px; right: 0; width: min(36%, 420px); height: 46px; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%);
  clip-path: inset(0 0 0 100%);
}
.deco--link img { scale: -1 1; object-position: left center; }

/* Rodapé: circuito por baixo do logo (no fluxo da coluna, nunca sobrepõe nada) */
.deco--foot {
  position: relative; display: block; width: 230px; max-width: 100%; height: 44px; margin-top: 26px; opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent);
  clip-path: inset(0 100% 0 0);
}
.deco--foot img { object-position: left center; }


/* Formulários: campo-armadilha para robôs (invisível para pessoas) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WhatsApp: botão flutuante em todas as páginas */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; height: 56px; min-width: 56px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(18,140,70,.75);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .4s var(--ease), margin .4s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { background: #1ebe5b; transform: translateY(-2px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 130px; margin-left: 9px; }
.to-top { bottom: 90px; right: 25px; }
.menu-open .wa-float, .menu-open .to-top { visibility: hidden; }


/* Circuitos do hero: nunca atrás de texto.
   Com margem larga ficam na vertical, na margem; sem margem passam a traço horizontal entre o header e o conteúdo. */
.hero { padding-top: calc(var(--header-h) + 52px); }
.hero .circuit { width: clamp(0px, calc((100vw - 1200px) / 2 - 20px), 150px); }
.hero .circuit picture { display: contents; }
.deco--off { display: none !important; }
@media (max-width: 1319px) {
  .hero .circuit, .hero--home .circuit {
    top: var(--header-h); bottom: auto; left: max(20px, calc((100vw - 1200px) / 2)); width: min(280px, 62vw); height: 30px; opacity: .6;
    -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); -webkit-mask-composite: source-over;
            mask-image: linear-gradient(90deg, #000 60%, transparent); mask-composite: add;
    clip-path: inset(0 100% 0 0);
  }
  .hero .circuit img { top: 0; height: 100%; object-position: left center; }
  .hero .circuit.is-drawn { clip-path: inset(0 0 0 0); }
}
@media (max-width: 640px) { .hero .circuit, .hero--home .circuit { left: 16px; } }

/* =========================================================
   Páginas legais, aviso de cookies e mapa com consentimento
   ========================================================= */
.hero--legal { min-height: 440px; }
.legal__wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: 110px; border-left: 2px solid var(--line); padding-left: 18px; }
.legal__toc-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.legal__toc a { color: var(--text); }
.legal__toc a:hover { color: var(--accent); }
.legal__body { max-width: 78ch; }
.legal__body section { scroll-margin-top: 110px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 14px; }
.legal__body p, .legal__body li { color: var(--text); line-height: 1.75; }
.legal__body ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 6px; }
.legal__body a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }
.legal__table { overflow-x: auto; margin: 16px 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.legal__table th, .legal__table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table th { background: var(--surface); color: var(--ink); font-weight: 700; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { font-size: 13px; background: var(--surface); padding: 2px 6px; border-radius: 6px; }
.link-inline { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 900px) {
  .legal__wrap { grid-template-columns: 1fr; gap: 28px; }
  .legal__toc { position: static; }
}

/* rodapé: ligações legais */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer__legal a, .footer__legal button { color: inherit; font: inherit; font-size: 13px; background: none; border: 0; padding: 0; cursor: pointer; opacity: .85; transition: color .3s, opacity .3s; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--accent); opacity: 1; }

/* modal: nota de privacidade */
.form-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; line-height: 1.55; }
.form-note a { color: var(--accent-600); text-decoration: underline; }

/* aviso de cookies */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 250; max-width: 440px; padding: 20px 22px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(29,37,58,.45);
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s cubic-bezier(.22,.8,.24,1);
}
.cookie-banner.is-shown { opacity: 1; transform: none; }
.cookie-banner p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--text); }
.cookie-banner strong { color: var(--ink); }
.cookie-banner a { color: var(--accent-600); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn--ghost { color: var(--ink); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* mapa: só carrega com consentimento */
.map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center; background: linear-gradient(160deg, var(--surface), #e3ecf6);
}
.map__placeholder p { margin: 0; max-width: 34ch; color: var(--text); font-size: 14.5px; }
.map--loaded .map__placeholder { display: none; }
