/*
 * Kianda Eletrónica — Sinal Contínuo
 * Tipografia: Syne (display) + Manrope (corpo)
 * Paleta: ink / paper / amber — industrial, preciso, angolano
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  --ink: #080909;
  --ink-raised: #101112;
  --ink-soft: #17191a;
  --paper: #f4f0e9;
  --amber: #cc5126;
  --amber-bright: #f59b05;
  --amber-dim: rgba(245, 155, 5, 0.14);
  --muted: #9fa3a4;
  --line: rgba(244, 240, 233, 0.12);
  --line-dark: rgba(8, 9, 9, 0.16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-sharp: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--amber); color: var(--ink); }

.frame { width: min(100% - 48px, 1240px); margin-inline: auto; }
.site-shell { overflow: clip; }

.section-code,
.eyebrow,
.footer-links > span,
.line-index {
  margin: 0;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
}
.site-header::after {
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,155,5,.65), transparent);
  content: "";
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(8, 9, 9, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-frame {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}
.site-footer .brand-logo { width: 130px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}
.desktop-nav a {
  position: relative;
  color: #c8cbcb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  position: absolute;
  right: 0; bottom: -7px; left: 0;
  height: 1px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] { color: var(--paper); }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta,
.mobile-contact {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(245, 155, 5, 0.72);
  border-radius: 10px;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.header-cta:hover,
.header-cta:focus-visible {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-2px);
}
.menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--paper);
}
.mobile-nav { display: none; }

/* ——— Buttons ——— */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.button-primary { background: var(--amber); color: var(--ink); }
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--amber-bright);
  box-shadow: 0 12px 35px rgba(245, 155, 5, 0.24);
  transform: translateY(-3px);
}
.button-ghost {
  border-color: rgba(244, 240, 233, 0.4);
  color: var(--paper);
}
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-3px);
}
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover,
.button-dark:focus-visible {
  background: #202224;
  transform: translateY(-3px);
}
.button:active,
.header-cta:active,
.whatsapp-float:active { transform: scale(0.97); }

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms var(--ease-out);
}
.text-action i {
  color: var(--amber);
  transition: transform 180ms var(--ease-out);
}
.text-action:hover,
.text-action:focus-visible { color: var(--amber); }
.text-action:hover i,
.text-action:focus-visible i { transform: translateX(5px); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  padding: 150px 0 88px;
  background: var(--ink);
}
.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 28%, rgba(245, 155, 5, 0.16), transparent 22%),
    linear-gradient(112deg, transparent 54%, rgba(245, 155, 5, 0.05) 54.2%, transparent 54.4%);
  content: "";
  pointer-events: none;
}
.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 233, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 233, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 72%);
  opacity: 0.75;
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 0 0, transparent 0 1px, rgba(255, 255, 255, 0.022) 1px 2px);
  background-size: 4px 4px;
  opacity: 0.22;
  pointer-events: none;
}
.hero-frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 60px;
  min-height: calc(max(720px, 100svh) - 238px);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
}
.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(245, 155, 5, 0.12), 0 0 19px rgba(245, 155, 5, 0.82);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero h1 {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(3.2rem, 7.2vw, 6.8rem);
  line-height: 0.9;
  text-wrap: balance;
}
.hero h1 em {
  color: var(--amber);
  font-style: normal;
}
.hero-text {
  max-width: 520px;
  margin: 30px 0 34px;
  color: #c0c2c2;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Signal visual */
.signal-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(244, 240, 233, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(245, 155, 5, 0.11), transparent 17%),
    linear-gradient(135deg, rgba(245, 155, 5, 0.08), transparent 35%);
  box-shadow: inset 0 0 58px rgba(0, 0, 0, 0.42);
}
.signal-visual::before,
.signal-visual::after { position: absolute; content: ""; }
.signal-visual::before {
  inset: 16px;
  border: 1px dashed rgba(245, 155, 5, 0.36);
  border-radius: 16px;
}
.signal-visual::after {
  top: 9%; right: 9%; bottom: 9%; left: 9%;
  border: 1px solid rgba(244, 240, 233, 0.1);
  transform: rotate(45deg);
}
.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 233, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 233, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle, black, transparent 71%);
}
.signal-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(245, 155, 5, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 38%; height: 38%; }
.orbit-two { width: 64%; height: 64%; border-color: rgba(244, 240, 233, 0.19); }
.orbit-three { width: 90%; height: 90%; border-color: rgba(245, 155, 5, 0.16); }
.scan-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 43%;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  box-shadow: 0 0 18px rgba(245, 155, 5, 0.75);
  transform-origin: left center;
  animation: scan 7s linear infinite;
}
.node {
  position: absolute;
  z-index: 2;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(245, 155, 5, 0.12), 0 0 16px rgba(245, 155, 5, 0.7);
}
.node-main {
  top: 50%; left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 14px;
  background: #1d1710;
  color: var(--amber);
  font-size: 1.5rem;
  transform: translate(-50%, -50%) rotate(45deg);
}
.node-main i { transform: rotate(-45deg); }
.node-one { top: 23%; left: 47%; }
.node-two { top: 48%; right: 18%; }
.node-three { bottom: 22%; left: 31%; }
.node-four {
  top: 28%; right: 29%;
  width: 7px; height: 7px;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(244, 240, 233, 0.1);
}
.visual-axis { position: absolute; background: rgba(244, 240, 233, 0.17); }
.axis-horizontal { top: 50%; right: 0; left: 0; height: 1px; }
.axis-vertical { top: 0; bottom: 0; left: 50%; width: 1px; }
.visual-label {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  background: var(--ink);
  border-radius: 6px;
  color: #c7c8c5;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.label-top { top: 10%; left: 8%; }
.label-bottom { right: 8%; bottom: 9%; color: var(--amber); }
.label-pulse {
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.hero-footer {
  position: absolute;
  z-index: 1;
  right: 0; bottom: 24px; left: 0;
}
.hero-footer .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.scroll-hint,
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a0a4a3;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.scroll-hint i,
.hero-status i { color: var(--amber); font-size: 0.6rem; }
.scroll-hint:hover,
.scroll-hint:focus-visible { color: var(--paper); }

/* Tape */
.signal-tape {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0e0e;
}
.signal-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  animation: tape 42s linear infinite;
}
.signal-track span {
  color: #c7cac9;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.signal-track i { color: var(--amber); font-size: 0.38rem; }

/* Manifesto / Solutions list */
.manifesto {
  position: relative;
  padding: 140px 0 110px;
  background: #0e1011;
}
.manifesto::after {
  position: absolute;
  right: 8%; bottom: 0;
  width: 1px;
  height: 160px;
  background: linear-gradient(transparent, var(--amber));
  content: "";
}
.manifesto-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 10vw, 150px);
  align-items: end;
  margin-bottom: 80px;
}
.section-lead h2,
.field-copy h2,
.method-heading h2,
.systems-copy h2,
.contact-copy h2,
.page-hero h1 {
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 0.95;
  text-wrap: balance;
}
.section-lead h2 span,
.field-copy h2 span,
.page-hero h1 span { color: var(--amber); }
.section-code { margin-bottom: 18px; }
.manifesto-note {
  padding: 0 0 4px 22px;
  border-left: 1px solid var(--amber);
}
.manifesto-note p,
.systems-copy > p {
  margin-bottom: 24px;
  color: #b5b8b7;
  font-size: 0.94rem;
  line-height: 1.8;
}
.solution-lines { border-top: 1px solid var(--line); }
.solution-line {
  display: grid;
  grid-template-columns: 55px 58px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 20px;
  min-height: 130px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: padding 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.solution-line:hover {
  padding-inline: 18px;
  background: linear-gradient(90deg, rgba(245, 155, 5, 0.11), transparent 72%);
}
.line-index { color: rgba(245, 155, 5, 0.62); }
.line-icon {
  display: grid;
  width: 42px; height: 42px;
  place-items: center;
  border: 1px solid rgba(245, 155, 5, 0.58);
  border-radius: 50%;
  color: var(--amber);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.solution-line:hover .line-icon {
  background: var(--amber);
  color: var(--ink);
  transform: rotate(-18deg);
}
.solution-line h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.solution-line p {
  margin: 0;
  color: #999d9e;
  font-size: 0.85rem;
}
.line-arrow {
  color: var(--amber);
  opacity: 0;
  transform: translateX(-8px);
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.solution-line:hover .line-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Control field (light) */
.control-field {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: var(--paper);
  color: var(--ink);
}
.control-field::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(8, 9, 9, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 74%);
}
.field-glow {
  position: absolute;
  top: -260px; right: -230px;
  width: 720px; height: 720px;
  border: 1px solid rgba(245, 155, 5, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(245, 155, 5, 0.12), 0 0 0 140px rgba(245, 155, 5, 0.06);
}
.field-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 70px;
  align-items: center;
}
.field-copy h2 { color: var(--ink); }
.field-copy h2 span { color: #bd6900; }
.field-copy p {
  max-width: 490px;
  margin: 28px 0 30px;
  color: #535657;
  font-size: 0.98rem;
  line-height: 1.8;
}
.field-copy .section-code { color: #aa5f00; }
.field-copy .text-action { color: var(--ink); }
.field-map {
  position: relative;
  min-height: 450px;
  border: 1px solid rgba(8, 9, 9, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(245, 155, 5, 0.14), transparent 45%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(8, 9, 9, 0.08) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(8, 9, 9, 0.08) 39px 40px);
}
.map-corner {
  position: absolute;
  width: 27px; height: 27px;
  border-color: var(--amber);
  border-style: solid;
}
.corner-one { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.corner-two { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.corner-three { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.corner-four { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.map-path {
  position: absolute;
  height: 1px;
  background: #343638;
  transform-origin: left;
}
.path-one { top: 42%; left: 21%; width: 41%; transform: rotate(-26deg); }
.path-two { top: 42%; left: 49%; width: 34%; transform: rotate(41deg); }
.path-three { top: 59%; left: 30%; width: 35%; transform: rotate(16deg); }
.map-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(245, 155, 5, 0.15);
}
.node-a { top: 24%; left: 25%; }
.node-b { top: 38%; right: 19%; }
.node-c { bottom: 25%; right: 24%; }
.node-d { bottom: 20%; left: 29%; }
.node-e {
  top: 56%; left: 18%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(8, 9, 9, 0.15);
}
.map-center {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  width: 105px; height: 105px;
  place-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  transform: translate(-50%, -50%);
}
.map-center i { margin-bottom: 6px; color: #bd6900; }
.map-center span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.map-caption {
  position: absolute;
  color: #6a6c6d;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.caption-a { top: 15%; left: 8%; }
.caption-b { right: 7%; bottom: 17%; }
.caption-c { bottom: 8%; left: 13%; }

/* Method */
.method {
  padding: 140px 0;
  background: #111314;
}
.method-heading {
  display: grid;
  grid-template-columns: minmax(100px, 0.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}
.method-heading h2 {
  max-width: 900px;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent;
}
.method-step {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  background: #111314;
  border-radius: 16px;
}
.method-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--step-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 320ms var(--ease-out), transform 480ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.method-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 9, 0.15) 0%, rgba(8, 9, 9, 0.88) 55%, rgba(8, 9, 9, 0.95) 100%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.method-step:hover::before {
  opacity: 1;
  transform: scale(1);
}
.method-step:hover::after {
  opacity: 1;
}
.method-step:hover {
  border: 1px solid rgba(245, 155, 5, 0.4);
}
.method-step > * { position: relative; z-index: 1; }
.method-step > span {
  display: block;
  margin-bottom: 50px;
  color: rgba(245, 155, 5, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.method-step > i {
  display: grid;
  width: 47px; height: 47px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(245, 155, 5, 0.64);
  border-radius: 50%;
  color: var(--amber);
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.method-step:hover > i {
  background: var(--amber);
  color: var(--ink);
  transform: rotateY(180deg);
}
.method-step h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.method-step p {
  margin-bottom: 0;
  color: #9da1a2;
  font-size: 0.84rem;
  line-height: 1.75;
}

/* Systems selector */
.systems {
  position: relative;
  padding: 140px 0;
  background: #090a0a;
}
.systems::before {
  position: absolute;
  top: 0; bottom: 0; left: 10%;
  width: 1px;
  background: linear-gradient(transparent, rgba(245, 155, 5, 0.55), transparent);
  content: "";
}
.systems-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.systems-copy h2 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.systems-copy > p {
  max-width: 415px;
  margin: 26px 0 0;
  color: #b5b8b7;
  font-size: 0.94rem;
  line-height: 1.8;
}
.system-selector { display: grid; border-top: 1px solid var(--line); }
.system-selector a {
  display: grid;
  grid-template-columns: 48px 1fr 26px;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  color: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: padding 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.system-selector a:hover,
.system-selector a:focus-visible {
  padding-inline: 15px;
  background: linear-gradient(90deg, rgba(245, 155, 5, 0.15), transparent);
  color: var(--amber);
}
.selector-number {
  color: var(--amber);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.system-selector i { color: var(--amber); font-size: 0.78rem; }

/* Contact panel */
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--amber);
  color: var(--ink);
}
.contact-panel::before {
  position: absolute;
  top: -76%; right: -6%;
  width: 690px; height: 690px;
  border: 1px solid rgba(8, 9, 9, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 66px rgba(8, 9, 9, 0.08), 0 0 0 132px rgba(8, 9, 9, 0.06);
  content: "";
}
.contact-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}
.contact-copy .section-code { color: rgba(8, 9, 9, 0.62); }
.contact-copy h2 {
  max-width: 850px;
  color: var(--ink);
  font-size: clamp(2.7rem, 5.2vw, 5.4rem);
}
.contact-copy p {
  max-width: 530px;
  margin: 20px 0 0;
  color: rgba(8, 9, 9, 0.75);
  font-size: 0.98rem;
}

/* Assessment form */
.assessment {
  position: relative;
  padding: 140px 0;
  background: #0d0f10;
}
.assessment::before {
  position: absolute;
  top: 0; right: 8%; bottom: 0;
  width: min(28vw, 360px);
  border-right: 1px solid rgba(244, 240, 233, 0.045);
  border-left: 1px solid rgba(244, 240, 233, 0.035);
  background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(244, 240, 233, 0.035) 30px 31px);
  content: "";
  pointer-events: none;
}
.assessment-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: start;
}
.assessment-copy h2 {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 0.95;
}
.assessment-copy h2 span { color: var(--amber); }
.assessment-copy > p {
  max-width: 440px;
  margin: 26px 0 30px;
  color: #adb1b1;
  font-size: 0.94rem;
  line-height: 1.8;
}
.assessment-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 13px;
  border-left: 1px solid var(--amber);
  color: #d1d3d1;
  font-size: 0.75rem;
}
.assessment-note i { color: var(--amber); font-size: 1rem; }
.assessment-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 155, 5, 0.07), transparent 45%), #111314;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}
.form-field { display: grid; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  color: #daddda;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(244, 240, 233, 0.17);
  border-radius: 10px;
  outline: 0;
  background: rgba(8, 9, 9, 0.65);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.87rem;
  line-height: 1.45;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.form-field input,
.form-field select {
  min-height: 48px;
  padding: 0 13px;
}
.form-field textarea {
  min-height: 116px;
  padding: 12px 13px;
  resize: vertical;
}
.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--amber) 50%),
    linear-gradient(135deg, var(--amber) 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
.form-field option { background: #111314; color: var(--paper); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #737878; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  background-color: #0b0d0d;
  box-shadow: 0 0 0 3px rgba(245, 155, 5, 0.12);
}
.form-disclaimer {
  margin: 20px 0;
  color: #8e9394;
  font-size: 0.71rem;
  line-height: 1.55;
}
.form-submit { width: 100%; }

/* ——— Page hero (inner pages) ——— */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  background: var(--ink);
  overflow: hidden;
}
.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(245, 155, 5, 0.12), transparent 25%),
    linear-gradient(rgba(244, 240, 233, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 233, 0.02) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  content: "";
  mask-image: linear-gradient(180deg, black 40%, transparent);
  pointer-events: none;
}
.page-hero .frame { position: relative; z-index: 1; }
.page-hero .section-code { margin-bottom: 16px; }
.page-hero p.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #b5b8b7;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Solution detail cards */
.sol-detail {
  padding: 100px 0;
  background: #0e1011;
}
.sol-detail + .sol-detail { padding-top: 0; }
.sol-detail:nth-child(even) { background: #0b0c0d; }
.sol-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.sol-grid.reverse { grid-template-columns: minmax(280px, 0.7fr) minmax(0, 0.9fr); }
.sol-grid.reverse .sol-copy { order: 2; }
.sol-grid.reverse .sol-visual { order: 1; }
.sol-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-bottom: 18px;
  line-height: 1.05;
}
.sol-copy p {
  color: #b0b4b4;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.sol-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #c8cbcb;
  font-size: 0.9rem;
  line-height: 1.5;
}
.sol-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 155, 5, 0.15);
}
.sol-visual {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 40%, rgba(245, 155, 5, 0.12), transparent 40%),
    linear-gradient(160deg, #141616, #0c0d0d);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sol-visual::before {
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(245, 155, 5, 0.25);
  border-radius: 14px;
  content: "";
}
.sol-visual-icon {
  position: relative;
  z-index: 1;
  width: 88px; height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 18px;
  color: var(--amber);
  font-size: 2rem;
  transform: rotate(45deg);
}
.sol-visual-icon i { transform: rotate(-45deg); }
.sol-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  padding: 6px 10px;
  background: var(--ink);
  border-radius: 6px;
  color: var(--amber);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* About / values */
.values {
  padding: 120px 0;
  background: #111314;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: transparent;
  margin-top: 60px;
}
.value-card {
  padding: 36px 28px;
  background: #111314;
  border-radius: 16px;
  min-height: 220px;
}
.value-card span {
  display: block;
  margin-bottom: 28px;
  color: rgba(245, 155, 5, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.value-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
}
.value-card p {
  margin: 0;
  color: #9da1a2;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Contact page extras */
.contact-channels {
  padding: 100px 0 60px;
  background: #0e1011;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.channel-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(245, 155, 5, 0.05), transparent 50%), #111314;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.channel-card:hover {
  border-color: rgba(245, 155, 5, 0.45);
  transform: translateY(-4px);
}
.channel-card i {
  display: grid;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(245, 155, 5, 0.5);
  border-radius: 50%;
  color: var(--amber);
  font-size: 1.2rem;
}
.channel-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}
.channel-card p {
  margin: 0 0 18px;
  color: #9da1a2;
  font-size: 0.88rem;
  line-height: 1.6;
}
.channel-card a {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding: 70px 0 24px;
  background: #080909;
}
.footer-frame {
  display: grid;
  grid-template-columns: 1.3fr 0.55fr 0.55fr 0.55fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p {
  max-width: 280px;
  margin: 16px 0 0;
  color: #989d9d;
  font-size: 0.8rem;
  line-height: 1.7;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}
.footer-links > span {
  margin-bottom: 6px;
  color: #d4d6d5;
}
.footer-links a {
  color: #a6aaab;
  font-size: 0.8rem;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--amber);
  transform: translateX(4px);
}
.footer-links i {
  width: 16px;
  color: var(--amber);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #74797a;
  font-size: 0.68rem;
}
.footer-bottom a {
  color: #c9ccca;
  text-decoration: underline;
  text-decoration-color: rgba(245, 155, 5, 0.55);
  text-underline-offset: 4px;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(245, 155, 5, 0.72);
  border-radius: 14px;
  background: #121415;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-4px);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 580ms var(--ease-out), transform 580ms var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 150ms; }

@keyframes scan { to { transform: rotate(360deg); } }
@keyframes tape { to { transform: translateX(-50%); } }

:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 4px;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .footer-frame {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-links:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta { display: none; }
  .menu-trigger { display: grid; place-items: center; }
  .mobile-nav {
    position: fixed;
    z-index: 39;
    top: 78px;
    right: 0; left: 0;
    display: grid;
    gap: 2px;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 9, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }
  .menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-nav > a:not(.mobile-contact) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 240, 233, 0.08);
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .mobile-contact { margin-top: 14px; }
  .hero-frame {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    gap: 28px;
  }
  .signal-visual { width: min(100%, 400px); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .systems-frame {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .assessment-frame {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sol-grid,
  .sol-grid.reverse {
    grid-template-columns: 1fr;
  }
  .sol-grid.reverse .sol-copy,
  .sol-grid.reverse .sol-visual { order: unset; }
  .values-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .frame { width: min(100% - 32px, 1240px); }
  .header-frame { min-height: 70px; }
  .brand-logo { width: 96px; }
  .site-footer .brand-logo { width: 110px; }
  .mobile-nav { top: 70px; padding-inline: 16px; }
  .hero {
    min-height: 720px;
    padding: 120px 0 70px;
  }
  .hero-frame { display: block; min-height: 0; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-text { margin: 22px 0 26px; font-size: 0.92rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .signal-visual {
    width: min(100%, 300px);
    margin: 44px auto 0;
  }
  .hero-footer { bottom: 18px; }
  .hero-status { display: none; }
  .manifesto,
  .method,
  .systems,
  .assessment,
  .sol-detail,
  .values,
  .contact-channels { padding-top: 90px; padding-bottom: 90px; }
  .page-hero { padding: 120px 0 60px; }
  .manifesto-frame,
  .field-frame,
  .contact-frame {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .manifesto-frame { margin-bottom: 48px; }
  .solution-line {
    grid-template-columns: 36px 40px minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 22px 0;
  }
  .solution-line:hover { padding-inline: 6px; }
  .line-arrow { display: none; }
  .control-field { padding: 90px 0; }
  .field-map { min-height: 320px; }
  .method-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .method-grid { grid-template-columns: 1fr; }
  .method-step { min-height: 200px; }
  .contact-panel { padding: 70px 0; }
  .assessment-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-field-full { grid-column: auto; }
  .footer-frame {
    grid-template-columns: 1fr 1fr;
    gap: 36px 18px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    min-height: 50px;
    justify-content: center;
    padding: 0;
  }
  .whatsapp-float span { display: none; }
}

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


/* ——— Fornecedores: logos a rolar + info por baixo ——— */
.partners {
  position: relative;
  padding: 100px 0 80px;
  background: #0a0b0c;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.partners-head {
  margin-bottom: 36px;
  max-width: 520px;
}
.partners-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--paper);
}
.partners-lead {
  margin: 0;
  color: #9da1a2;
  font-size: 0.9rem;
  line-height: 1.6;
}

.partners-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  contain: layout paint;
}
.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  animation: partners-marquee 65s linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.partners-carousel.is-paused .partners-track,
.partners-carousel.is-offscreen .partners-track {
  animation-play-state: paused;
}
@keyframes partners-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 720px) {
  .partners-track { animation-duration: 85s; }
}

.p-logo {
  flex-shrink: 0;
  position: relative;
  display: block;
  width: 148px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111314;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.p-logo:hover,
.p-logo:focus-visible,
.p-logo.is-active {
  border-color: rgba(245, 155, 5, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 155, 5, 0.2);
}
.p-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.p-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9aa0a1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}
.p-logo:has(img) .p-logo-fallback {
  display: none;
}

/* Painel de info por baixo */
.partners-info {
  margin-top: 22px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(245, 155, 5, 0.05), transparent 50%), #111314;
  transition: border-color 200ms var(--ease-out);
}
.partners-info.is-filled {
  border-color: rgba(245, 155, 5, 0.35);
}
.partners-info-hint {
  margin: 0;
  color: #6a6e6f;
  font-size: 0.82rem;
}
.partners-info-body[hidden] { display: none !important; }
.partners-info-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.partners-info-top strong {
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 700;
}
.partners-info-top span {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 155, 5, 0.12);
  color: var(--amber);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.partners-info-cat {
  margin: 0 0 6px !important;
  color: var(--amber) !important;
  font-size: 0.62rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.partners-info-body p {
  margin: 0;
  color: #a8adae;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 52ch;
}

@media (max-width: 720px) {
  .partners { padding: 70px 0 60px; }
  .p-logo {
    width: 120px;
    height: 64px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}
/* Performance */
.sol-detail,
.method,
.systems,
.assessment,
.partners {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
.partners-carousel {
  contain: layout paint;
}
.p-card {
  contain: layout style;
}
.scan-line {
  animation-duration: 10s;
}
@media (max-width: 720px) {
  .hero-noise { opacity: 0.12; }
  .scan-line { animation: none; }
  .signal-orbit { border-width: 1px; }
}


/* ——— Galeria de serviços (retrato / vertical) ——— */
.gallery {
  position: relative;
  padding: 110px 0 90px;
  background: #0c0d0e;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.gallery-head {
  margin-bottom: 36px;
  max-width: 560px;
}
.gallery-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--paper);
}
.gallery-lead {
  margin: 0;
  color: #9da1a2;
  font-size: 0.92rem;
  line-height: 1.65;
}

.gallery-stage { position: relative; }

.gallery-viewport {
  position: relative;
  overflow: hidden;
  padding: 4px 2px 8px;
}

.gallery-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  transition: transform 520ms var(--ease-out);
  will-change: transform;
}

/* Portrait card — height > width */
.gallery-slide {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 72vw);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111314;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.gallery-slide.is-active {
  border-color: rgba(245, 155, 5, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(8, 9, 9, 0.78);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(244, 240, 233, 0.94);
  color: #121314;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  transition: transform 160ms var(--ease-out), background 160ms var(--ease-out);
}
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}
.gallery-nav--prev { left: 6px; }
.gallery-nav--next { right: 6px; }

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.gallery-thumb {
  width: 56px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background-color: #1a1c1e;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.gallery-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(245, 155, 5, 0.25);
}

.gallery-meta {
  margin: 14px 0 0;
  text-align: center;
  color: #7a7e7f;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.gallery-empty {
  margin: 18px 0 0;
  text-align: center;
  color: #8a8e8f;
  font-size: 0.88rem;
}
.gallery-empty[hidden] { display: none !important; }

/* Lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 9, 0.92);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none !important; }
.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 520px);
  max-height: 88vh;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.lightbox-figure figcaption {
  color: #c8cbcb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #151718;
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(244, 240, 233, 0.92);
  color: #121314;
  cursor: pointer;
}
.lightbox-nav--prev { left: 16px; }
.lightbox-nav--next { right: 16px; }

@media (max-width: 720px) {
  .gallery { padding: 80px 0 70px; }
  .gallery-slide {
    width: min(280px, 78vw);
    max-height: 420px;
    border-radius: 14px;
  }
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  .gallery-thumb {
    width: 44px;
    height: 58px;
  }
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { transition: none; }
}
.p-card-logo {
  display: block;
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 4px;
  filter: brightness(1.08);
  opacity: 0.9;
}
.p-card.is-open .p-card-logo {
  max-height: 36px;
  opacity: 1;
}


/* Hero com foto real */
.hero--photo {
  background: #080909;
}
.hero--photo::before,
.hero--photo::after {
  opacity: 0.35;
}
.hero-media {
  position: relative;
  width: min(100%, 420px);
  justify-self: end;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-media img,
.hero-media .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media .hero-video {
  background: #111;
}
.hero-media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(8, 9, 9, 0.78);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Soluções com foto */
.sol-visual {
  padding: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
}
.sol-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sol-visual-icon { display: none; }
.sol-visual::before { display: none; }

/* Campo com foto */
.field-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 9, 0.18);
  min-height: 360px;
  box-shadow: 0 20px 50px rgba(8, 9, 9, 0.12);
}
.field-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* Vídeo em campo — desktop only */
.field-video {
  display: none;
  padding: 100px 0;
  background: #0e1011;
  border-top: 1px solid var(--line);
}
.field-video-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.field-video-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  color: var(--paper);
}
.field-video-copy p {
  margin: 0;
  color: #9da1a2;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 42ch;
}
.field-video-player {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 10;
}
.field-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .field-video { display: block; }
}

/* Gallery dots (leve) */
.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(244, 240, 233, 0.25);
  cursor: pointer;
  transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.gallery-dot.is-active {
  background: var(--amber);
  transform: scale(1.25);
}
.gallery-thumbs { display: none !important; }

@media (max-width: 720px) {
  .hero-media {
    width: min(100%, 300px);
    margin: 36px auto 0;
    justify-self: center;
  }
  .hero-frame { display: block; }
  .field-photo { min-height: 240px; }
  .field-photo img { min-height: 240px; }
}

/* Hero vídeo de fundo (vid1) */
.hero--video {
  position: relative;
  isolation: isolate;
  background: #080909;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 9, 9, 0.88) 0%, rgba(8, 9, 9, 0.72) 45%, rgba(8, 9, 9, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 9, 9, 0.35) 0%, transparent 40%, rgba(8, 9, 9, 0.75) 100%);
  pointer-events: none;
}
.hero--video .hero-noise,
.hero--video .hero-frame,
.hero--video .hero-footer {
  position: relative;
  z-index: 1;
}
.hero--video .hero-frame {
  display: block;
  align-content: center;
  min-height: clamp(520px, 88vh, 820px);
}
.hero--video .hero-copy {
  max-width: 720px;
}
/* esconder card antigo se restar CSS */
.hero-media { display: none !important; }
