/* =========================================================
   2007COM — Integração Responsável
   Design system & styles
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0f14;
  --ink-2: #10161d;
  --ink-3: #161e27;
  --paper: #f8f7f4;
  --paper-2: #f1efea;
  --white: #ffffff;
  --brand: #f0522a;
  --brand-2: #ff6b3d;
  --brand-soft: #fff1ec;
  --brand-ink: #170a05;
  --muted: #5e6773;
  --muted-2: #8b939d;
  --muted-dark: #98a2ae;
  --line: #e5e2dc;
  --line-dark: rgba(255, 255, 255, 0.09);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 80px -50px rgba(11, 15, 20, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 210;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 12px rgba(240, 82, 42, 0.6);
}

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 0 0 rgba(240, 82, 42, 0);
}
.btn-primary:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(240, 82, 42, 0.7);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5);
}
.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.btn-sm {
  height: 42px;
  padding: 0 19px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(240, 82, 42, 0.35);
  padding-bottom: 2px;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover {
  border-color: var(--brand);
  color: var(--brand-2);
}
.text-link:hover .icon {
  transform: translateX(2px);
}

/* ============ Barra superior ============ */
.topbar {
  background: #070a0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  position: relative;
  z-index: 110;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 24px;
}
.topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #67d99a;
  box-shadow: 0 0 0 3px rgba(103, 217, 154, 0.12);
  flex: none;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.25s var(--ease);
}
.topbar-links a:hover {
  color: var(--white);
}
.topbar-links .icon {
  width: 13px;
  height: 13px;
  opacity: 0.65;
}
.topbar-support {
  color: var(--brand-2);
}

/* ============ Cabeçalho ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b0f14;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 12, 16, 0.97);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.3);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logótipo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: none;
  transition: transform 0.5s var(--ease);
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.03);
}
.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-word {
  font-family: "Sora", sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}
.brand-word strong {
  font-weight: 700;
  color: var(--brand);
}
.brand-tag {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.19em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  white-space: nowrap;
}

/* Navegação */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-toggle .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 660px;
  padding: 12px;
  background: #0e141b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}
.mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item.is-open .mega,
.nav-item:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.25s var(--ease);
}
.mega-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.mega-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(240, 82, 42, 0.12);
  color: var(--brand-2);
}
.mega-icon .icon {
  width: 18px;
  height: 18px;
}
.mega-item strong {
  display: block;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2px;
}
.mega-item small {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11.5px;
  line-height: 1.45;
}
.mega-promo {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(240, 82, 42, 0.18), rgba(240, 82, 42, 0.03));
  border: 1px solid rgba(240, 82, 42, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.mega-promo:hover {
  border-color: rgba(240, 82, 42, 0.45);
  background: linear-gradient(100deg, rgba(240, 82, 42, 0.24), rgba(240, 82, 42, 0.06));
}
.mega-promo-kicker {
  width: 100%;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.mega-promo strong {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.mega-promo-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

/* Botão menu mobile */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-btn span:first-child {
  top: 18px;
}
.menu-btn span:last-child {
  top: 25px;
}
.menu-btn[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* ============ Menu mobile ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #0b0f14;
  padding: calc(var(--header-h) + 44px) 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out),
    visibility 0.35s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -30%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(240, 82, 42, 0.16), transparent 65%);
  pointer-events: none;
}
.mobile-menu-inner {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}
.mobile-menu-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--white);
}
.mobile-link::after {
  content: "↗";
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: var(--brand);
  opacity: 0.8;
}
.mobile-menu-foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-foot .btn {
  width: 100%;
}
.mobile-contact {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.mobile-contact:hover {
  color: var(--white);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 116px);
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 45%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 60% 45%, #000 10%, transparent 78%);
  z-index: 0;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 48%, rgba(240, 82, 42, 0.2), transparent 46%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 0;
}
.hero-visual-wrap {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 0;
}
#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}
.hero.is-dragging #hero-canvas {
  cursor: grabbing;
}
.hero-fallback {
  display: none;
}
.hero.no-webgl .hero-fallback {
  display: block;
  position: absolute;
  width: 56vh;
  height: 56vh;
  max-width: 620px;
  max-height: 620px;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 60% 60%, rgba(240, 82, 42, 0.6), rgba(240, 82, 42, 0.06) 62%, transparent 70%);
  box-shadow: inset 0 0 120px rgba(240, 82, 42, 0.25), 0 0 120px rgba(240, 82, 42, 0.18);
}
.hero.no-webgl .hero-fallback::before,
.hero.no-webgl .hero-fallback::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(28deg) scaleY(0.4);
}
.hero.no-webgl .hero-fallback::after {
  inset: 24%;
  transform: rotate(-38deg) scaleY(0.5);
  border-color: rgba(240, 82, 42, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 32px;
  flex: 1;
  padding-block: clamp(44px, 6.5vh, 76px) clamp(52px, 8vh, 88px);
  pointer-events: none;
}
.hero-copy {
  max-width: 650px;
  pointer-events: auto;
}
.hero-hud,
.drag-hint {
  pointer-events: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}
.hero-eyebrow {
  color: var(--brand-2);
  font-size: 11px;
}
.hero-eyebrow::before {
  display: none;
}
.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(2.55rem, 4.9vw, 4.35rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.048em;
}
.hero-copy h1 .accent {
  color: var(--brand-2);
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 .accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.09em;
  background: linear-gradient(90deg, var(--brand), rgba(240, 82, 42, 0));
  border-radius: 99px;
  opacity: 0.55;
}
.hero-copy .lead {
  margin-top: 24px;
  max-width: 545px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 560px;
}
.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-meta strong {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero-meta span {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

/* HUD sobre o 3D */
.hero-hud {
  position: relative;
  height: 100%;
  min-height: 460px;
  pointer-events: none;
}
.hud {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: rgba(13, 19, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  font-size: 11px;
  line-height: 1.4;
}
.hud b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hud small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.42);
}
.hud-top {
  top: 7%;
  right: 2%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 15px 18px;
}
.hud-top b {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-2);
}
.hud-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hud-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #67d99a;
  box-shadow: 0 0 8px #67d99a;
}
.hud-mid {
  top: 48%;
  left: -4%;
}
.hud-low {
  bottom: 9%;
  right: 9%;
}
.hud-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(240, 82, 42, 0.14);
  color: var(--brand-2);
}
.hud-icon .icon {
  width: 17px;
  height: 17px;
}
.hud-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 24px;
}
.hud-bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--brand-2);
  opacity: 0.8;
}
.hud-bars i:nth-child(1) {
  height: 30%;
}
.hud-bars i:nth-child(2) {
  height: 55%;
}
.hud-bars i:nth-child(3) {
  height: 80%;
}
.hud-bars i:nth-child(4) {
  height: 100%;
}
.hud-bars i:nth-child(5) {
  height: 65%;
  opacity: 0.35;
}
.drag-hint {
  position: absolute;
  right: 2%;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}
.drag-hint .icon {
  width: 15px;
  height: 15px;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-foot-note {
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.hero-foot-note span {
  color: var(--brand);
  padding: 0 3px;
}
.hero-foot-note--right {
  text-align: right;
}
.scroll-cue {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.scroll-cue span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-2);
  animation: scrollDot 2s var(--ease) infinite;
}
.scroll-cue:hover {
  border-color: var(--brand);
  background: rgba(240, 82, 42, 0.08);
}
@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

/* ============ Parceiros ============ */
.partners {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 34px 0 42px;
  color: var(--white);
}
.partners-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.partners-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.partners-note {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.28);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 58px;
  padding-right: 58px;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  flex: none;
}
.logo-item img {
  height: 100%;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.58;
  transition: opacity 0.3s var(--ease);
}
.logo-item:hover img {
  opacity: 0.95;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Secções ============ */
.section {
  padding-block: clamp(78px, 9vw, 126px);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 54px;
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.07;
}
.section-head-side {
  padding-bottom: 4px;
}
.section-head-side p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 410px;
}
.section-head-side .text-link {
  margin-top: 18px;
}
.section-head--compact {
  margin-bottom: 44px;
}

/* ============ Soluções ============ */
.solutions {
  background: var(--paper);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.solution-card {
  position: relative;
  grid-column: span 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}
.solution-card:nth-child(1),
.solution-card:nth-child(2) {
  grid-column: span 3;
  min-height: 318px;
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(240, 82, 42, 0.1),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.solution-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(240, 82, 42, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 82, 42, 0.32);
  box-shadow: 0 34px 70px -46px rgba(11, 15, 20, 0.45);
}
.solution-card:hover::before {
  opacity: 1;
}
.solution-card:hover::after {
  transform: scaleX(1);
}
.solution-card > * {
  position: relative;
  z-index: 1;
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.card-icon .icon {
  width: 23px;
  height: 23px;
}
.solution-card:hover .card-icon {
  background: var(--brand);
  color: var(--white);
  transform: scale(1.05) rotate(-3deg);
}
.card-num {
  font-family: "Sora", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  padding-top: 6px;
}
.solution-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 9px;
}
.solution-card h3 .icon {
  width: 15px;
  height: 15px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.solution-card:hover h3 .icon {
  opacity: 1;
  transform: translateX(0);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.solution-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 380px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}
.tags li {
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: #4d555f;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.solution-card:hover .tags li {
  border-color: rgba(240, 82, 42, 0.25);
  color: var(--ink);
}
.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  opacity: 1;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}
.card-arrow .icon {
  width: 14px;
  height: 14px;
}
.solution-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ============ Números ============ */
.stats {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(64px, 7vw, 92px);
  overflow: hidden;
}
.stats-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 60%, #000);
  opacity: 0.35;
}
.stats::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -20vw;
  top: -30vw;
  background: radial-gradient(circle, rgba(240, 82, 42, 0.18), transparent 60%);
  pointer-events: none;
}
.stats .container {
  position: relative;
  z-index: 1;
}
.stats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.stats-head .eyebrow {
  color: var(--brand-2);
}
.stats-head p:last-child {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 260px;
  text-align: right;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}
.stat {
  padding: 26px 0 4px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat-value {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-value em {
  font-style: normal;
  color: var(--brand-2);
  font-size: 0.72em;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 8px;
}

/* ============ Serviços ============ */
.services {
  background: var(--paper);
}
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.services-intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.services-intro h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}
.services-intro > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 450px;
}
.services-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
}
.services-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
.services-badges .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.services-intro .btn {
  margin-top: 30px;
}

.accordion {
  border-top: 1px solid var(--line);
}
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 2px;
  background: none;
  border: 0;
  text-align: left;
  font-family: "Sora", sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.acc-trigger:hover {
  color: var(--brand);
}
.acc-num {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  width: 22px;
  flex: none;
}
.acc-icon {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.acc-item.is-open .acc-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.acc-item.is-open .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}
.acc-content {
  overflow: hidden;
}
.acc-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  padding-right: 50px;
}
.acc-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 0 24px;
}
.acc-content li {
  font-size: 11.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.acc-content li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

/* ============ Setores ============ */
.sectors {
  background: var(--paper-2);
  border-top: 1px solid rgba(11, 15, 20, 0.05);
  border-bottom: 1px solid rgba(11, 15, 20, 0.05);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px 22px;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
}
.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 82, 42, 0.3);
  box-shadow: 0 26px 50px -38px rgba(11, 15, 20, 0.35);
}
.sector-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 22px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.sector-icon .icon {
  width: 21px;
  height: 21px;
}
.sector-card:hover .sector-icon {
  background: var(--brand);
  color: var(--white);
}
.sector-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.sector-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.sector-tag {
  margin-top: auto;
  padding-top: 18px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ============ Empresa ============ */
.about {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.about-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(240, 82, 42, 0.17), transparent 45%),
    radial-gradient(circle at 0% 90%, rgba(255, 255, 255, 0.05), transparent 40%);
  pointer-events: none;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}
.about .container {
  position: relative;
  z-index: 1;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}
.about .eyebrow {
  color: var(--brand-2);
}
.about-copy h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.08;
  max-width: 560px;
}
.about-copy > p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14.5px;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 545px;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.values li {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.values li:hover {
  border-color: rgba(240, 82, 42, 0.5);
  background: rgba(240, 82, 42, 0.08);
  color: var(--white);
}
.about-copy .btn {
  margin-top: 32px;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.locations-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 26px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.locations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}
.locations-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.locations-badge {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(240, 82, 42, 0.1);
  border: 1px solid rgba(240, 82, 42, 0.22);
  border-radius: 999px;
  padding: 4px 9px;
}
.locations {
  position: relative;
}
.location {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0 15px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.location::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}
.location::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  bottom: -50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.location:last-child::after {
  display: none;
}
.location.is-hq::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(240, 82, 42, 0.14), 0 0 14px rgba(240, 82, 42, 0.6);
}
.location strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.location small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1px;
}
.loc-tag {
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  border: 1px solid rgba(240, 82, 42, 0.3);
  border-radius: 4px;
  padding: 2px 5px;
}
.locations-foot {
  padding-top: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.locations-foot p {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}
.locations-foot p .icon {
  margin-top: 1px;
  color: var(--brand-2);
}
.locations-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-size: 10.5px;
  color: var(--brand-2);
}
.about-quote {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--brand);
  border-radius: 0 16px 16px 0;
  padding: 22px 24px;
}
.about-quote p {
  font-family: "Sora", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.015em;
}
.about-quote span {
  display: block;
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

/* ============ Suporte ============ */
.support-strip {
  background: var(--brand);
  color: var(--brand-ink);
}
.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 32px;
}
.support-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}
.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(23, 10, 5, 0.12);
  color: var(--brand-ink);
  flex: none;
}
.support-icon .icon {
  width: 23px;
  height: 23px;
}
.support-copy h2 {
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.03em;
}
.support-copy p {
  font-size: 12.5px;
  color: rgba(23, 10, 5, 0.72);
  margin-top: 3px;
}
.support-strip .btn-dark {
  flex: none;
}

/* ============ Contactos ============ */
.contact {
  background: var(--paper);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.contact-info h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  line-height: 1.08;
  max-width: 520px;
}
.contact-lead {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 18px;
  max-width: 450px;
}
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 34px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
a.contact-method:hover {
  border-color: rgba(240, 82, 42, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -30px rgba(11, 15, 20, 0.4);
}
.cm-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.cm-icon .icon {
  width: 16px;
  height: 16px;
}
.contact-method small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.contact-method strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.contact-method em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
  margin-top: 2px;
  line-height: 1.4;
}
.contact-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--brand);
}
.contact-hours p strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
}
.contact-hours p span {
  font-size: 11.5px;
  color: var(--muted);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  position: relative;
}
.form-head {
  margin-bottom: 22px;
}
.form-head h3 {
  font-size: 21px;
  font-weight: 600;
}
.form-head p {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  margin-bottom: 15px;
  min-width: 0;
}
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  background: #fbfaf8;
  border: 1px solid #dcd8d1;
  border-radius: 11px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.field textarea {
  min-height: 118px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a0a6ad;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(240, 82, 42, 0.13);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235e6773' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #cf4426;
  background: #fff8f5;
}
.field-error {
  display: block;
  font-size: 10.5px;
  color: #b8391f;
  min-height: 0;
  margin-top: 4px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.checkbox input {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  accent-color: var(--brand);
  flex: none;
}
.checkbox a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-actions {
  margin-top: 18px;
}
.form-note {
  font-size: 10px;
  color: var(--muted-2);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.contact-form.is-sent > *:not(.form-success) {
  display: none;
}
.form-success {
  text-align: center;
  padding: 34px 8px 20px;
}
.form-success[hidden] {
  display: none;
}
.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #eaf7ef;
  color: #1d9a56;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.success-icon .icon {
  width: 26px;
  height: 26px;
}
.form-success h3 {
  font-size: 22px;
}
.form-success p {
  font-size: 13px;
  color: var(--muted);
  margin: 8px auto 18px;
  max-width: 320px;
}

/* ============ Footer ============ */
.site-footer {
  background: #080b0f;
  color: var(--white);
  padding-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 310px;
}
.brand--footer .brand-mark {
  width: 38px;
  height: 38px;
}
.brand--footer .brand-word {
  font-size: 21px;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.social-link:hover {
  color: var(--white);
  border-color: var(--brand);
  background: rgba(240, 82, 42, 0.1);
}
.social-link .icon {
  width: 16px;
  height: 16px;
}
.footer-col h3 {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 9px;
  transition: color 0.25s var(--ease);
  width: fit-content;
}
.footer-col a:hover {
  color: var(--brand-2);
}
.footer-col--contact p {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.36);
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-legal a {
  transition: color 0.25s var(--ease);
}
.footer-legal a:hover {
  color: var(--white);
}

/* ============ Voltar ao topo ============ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.to-top .icon {
  transform: rotate(180deg);
  width: 17px;
  height: 17px;
}

/* ============ Drawer ============ */
.solution-dialog {
  position: fixed;
  inset: 0;
  margin: 0 0 0 auto;
  padding: 0;
  width: min(560px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: 0;
  background: transparent;
  overflow: visible;
}
.solution-dialog::backdrop {
  background: rgba(6, 9, 12, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.solution-dialog[open] {
  animation: dialogFade 0.3s var(--ease);
}
.solution-dialog[open] .drawer {
  animation: drawerIn 0.5s var(--ease-out);
}
@keyframes dialogFade {
  from {
    opacity: 0;
  }
}
@keyframes drawerIn {
  from {
    transform: translateX(100%);
  }
}
.drawer {
  height: 100%;
  background: var(--paper);
  overflow-y: auto;
  padding: 34px clamp(24px, 4vw, 40px) 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px -14px rgba(6, 9, 12, 0.55);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.drawer-close:hover {
  background: var(--ink);
  color: var(--white);
  transform: rotate(90deg);
}
.drawer-close .icon {
  width: 17px;
  height: 17px;
}
.drawer-head {
  padding-top: 34px;
}
.drawer-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.drawer-icon .icon {
  width: 25px;
  height: 25px;
}
.drawer-kicker {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.drawer-head h2 {
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.08;
}
.drawer-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 12px;
}
.drawer-body {
  margin-top: 26px;
  padding-bottom: 70px;
}
.drawer-desc p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 10px;
}
.drawer-body h3 {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 26px 0 10px;
}
.drawer-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}
.drawer-list li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f0522a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6 2.4 2.5L9.5 3.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.partner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.partner-chips span {
  font-size: 10.5px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
}
.drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, var(--paper) 38%);
  padding-bottom: 20px;
}
.drawer-foot .btn {
  flex: 1;
  min-width: 150px;
  height: 48px;
  font-size: 13px;
}

/* ============ Animações ============ */
.reveal {
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero.is-dragging {
  user-select: none;
  -webkit-user-select: none;
}
.hero-copy > * {
  animation: heroIn 0.9s var(--ease-out) both;
}
.hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 0.14s;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 0.23s;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 0.32s;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 0.41s;
}
.hero-hud,
.drag-hint {
  animation: heroFade 1.4s 0.5s var(--ease) both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroFade {
  from {
    opacity: 0;
  }
}

/* ============ Responsivo ============ */
@media (max-width: 1180px) {
  .desktop-nav {
    gap: 22px;
  }
  .header-cta {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hud-mid {
    left: 0;
  }
  .footer-top {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .topbar-links a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 64px 72px;
    align-items: start;
  }
  .hero-visual-wrap {
    inset: 0;
    opacity: 0.55;
  }
  .hero-hud {
    display: none;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-foot {
    padding-bottom: 18px;
  }
  .drag-hint {
    display: none;
  }
  .hero-glow {
    background: radial-gradient(circle at 75% 45%, rgba(240, 82, 42, 0.22), transparent 55%);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 40px;
  }
  .section-head-side p {
    max-width: 560px;
  }
  .section-head-side .text-link {
    margin-top: 12px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-card,
  .solution-card:nth-child(1),
  .solution-card:nth-child(2) {
    grid-column: span 1;
    min-height: 280px;
  }
  .solution-card:last-child {
    grid-column: span 2;
    min-height: 230px;
  }
  .solution-card:last-child p {
    max-width: 520px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat {
    padding: 24px 0 24px 26px;
  }
  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .services-intro {
    position: static;
  }
  .services-intro > p {
    max-width: 620px;
  }
  .acc-content p {
    padding-right: 0;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-side {
    max-width: 640px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .contact-form-wrap {
    max-width: 700px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
  .footer-col--contact {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
  }
  .footer-col--contact h3 {
    width: 100%;
    margin-bottom: 4px;
  }
  .footer-col--contact a {
    margin: 0;
  }
  .footer-col--contact p {
    margin: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .topbar {
    display: none;
  }
  .site-header {
    position: sticky;
  }
  .header-inner {
    height: var(--header-h);
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-word {
    font-size: 20px;
  }
  .brand-tag {
    font-size: 6px;
    letter-spacing: 0.16em;
  }
  .header-cta {
    display: none;
  }
  .header-actions {
    gap: 10px;
  }
  .hero {
    min-height: calc(100svh - var(--header-h));
  }
  .hero-inner {
    padding-block: 48px 56px;
  }
  .hero-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.1rem);
    letter-spacing: -0.045em;
  }
  .hero-copy .lead {
    font-size: 14.5px;
    line-height: 1.7;
    margin-top: 18px;
  }
  .hero-actions {
    margin-top: 26px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 200px;
    padding: 0 18px;
    font-size: 13.5px;
  }
  .hero-meta {
    gap: 18px 26px;
    margin-top: 30px;
    padding-top: 20px;
  }
  .hero-meta strong {
    font-size: 19px;
  }
  .hero-meta span {
    font-size: 9.5px;
  }
  .hero-foot-note--right {
    display: none;
  }
  .hero-foot {
    padding-block: 12px 16px;
  }
  .hero-visual-wrap {
    opacity: 0.42;
  }

  .partners {
    padding: 26px 0 30px;
  }
  .partners-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
  }
  .marquee-group {
    gap: 40px;
    padding-right: 40px;
  }
  .logo-item {
    height: 22px;
  }

  .section {
    padding-block: 64px;
  }
  .section-head h2,
  .services-intro h2,
  .about-copy h2,
  .contact-info h2 {
    font-size: clamp(1.8rem, 7.6vw, 2.35rem);
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solution-card,
  .solution-card:last-child {
    grid-column: span 1;
    min-height: 0;
    padding: 22px;
  }
  .card-top {
    margin-bottom: 20px;
  }
  .tags {
    padding-top: 18px;
  }
  .card-arrow {
    display: grid;
    bottom: 20px;
  }
  .solution-card h3 .icon {
    opacity: 1;
    transform: none;
  }

  .stats-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .stats-head p:last-child {
    text-align: left;
    max-width: 320px;
  }
  .stat-value {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .stat {
    padding: 20px 0 20px 18px;
  }
  .stat-label {
    font-size: 10px;
  }

  .acc-trigger {
    gap: 12px;
    padding: 20px 0;
    font-size: 16px;
  }
  .acc-content ul {
    gap: 6px 14px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .sector-card {
    min-height: 0;
    padding: 22px;
  }
  .sector-tag {
    padding-top: 14px;
  }

  .about-side {
    max-width: 100%;
  }
  .locations-card {
    padding: 20px;
  }
  .about-quote {
    padding: 18px 20px;
  }

  .support-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 26px;
  }
  .support-copy {
    gap: 14px;
  }
  .support-icon {
    width: 42px;
    height: 42px;
  }
  .support-strip .btn {
    width: 100%;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-wrap {
    border-radius: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-col--contact {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-legal {
    gap: 14px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }

  .drawer {
    padding: 28px 20px 0;
  }
  .drawer-close {
    top: 16px;
    right: 16px;
  }
  .drawer-foot {
    padding-bottom: 14px;
  }
}

@media (max-width: 420px) {
  .hero-meta {
    gap: 14px 20px;
  }
  .hero-actions .btn {
    min-width: 100%;
  }
  .values li {
    font-size: 10.5px;
  }
  .locations-foot {
    flex-direction: column;
  }
}

/* ============ Página legal ============ */
.legal-header {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease);
}
.legal-back:hover {
  color: var(--white);
}
.legal-back .icon {
  transform: rotate(180deg);
  width: 15px;
  height: 15px;
}
.legal-main {
  padding-block: clamp(54px, 7vw, 92px);
}
.legal-wrap {
  max-width: 780px;
  margin-inline: auto;
}
.legal-main h1 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3rem);
}
.legal-updated {
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.legal-content {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.legal-content h2 {
  font-size: 19px;
  margin: 32px 0 10px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.legal-content p + p {
  margin-top: 10px;
}
.legal-content ul {
  margin: 10px 0;
  display: grid;
  gap: 7px;
}
.legal-content li {
  position: relative;
  padding-left: 16px;
}
.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.legal-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-note {
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.legal-note strong {
  color: var(--ink);
}

/* ============ Página 404 ============ */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.error-page .error-main {
  flex: 1;
}
.error-main {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
  isolation: isolate;
}
.error-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 70% 45%, #000 5%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 80% at 70% 45%, #000 5%, transparent 75%);
  z-index: -1;
}
.error-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 42%, rgba(240, 82, 42, 0.2), transparent 42%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.05), transparent 38%);
  z-index: -1;
  pointer-events: none;
}
.error-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}
.error-copy {
  max-width: 560px;
}
.error-copy h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.error-lead {
  margin-top: 20px;
  max-width: 470px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.error-hint {
  margin-top: 30px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}
.error-hint a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.error-hint a:hover {
  color: var(--white);
}
.error-code {
  font-family: "Sora", sans-serif;
  font-size: clamp(140px, 20vw, 280px);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
  user-select: none;
  padding-right: 0.04em;
}
.error-code span {
  color: var(--brand);
  -webkit-text-stroke: 0;
}

@media (max-width: 820px) {
  .error-main {
    min-height: 0;
  }
  .error-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .error-code {
    order: -1;
    font-size: clamp(104px, 30vw, 180px);
  }
  .error-lead {
    font-size: 14.5px;
  }
}

/* ============ Acessibilidade ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    padding-right: 0;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
  .hero-copy > * {
    animation: none;
  }
}

/* Ajustes: três indicadores centrados e controlos de detalhes acessíveis. */
.stats-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.stats-head p:last-child {
  text-align: center;
  max-width: 360px;
}
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats-grid .stat {
  padding: 26px 16px 12px;
  align-items: center;
  text-align: center;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}
.stats-grid .stat:first-child { border-left: 0; }
.solution-card .tags { padding-right: 52px; }
.card-arrow:hover { background: var(--brand); }
.card-arrow:focus-visible,
a.contact-method:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat {
    padding: 24px 12px;
    border-left: 0;
  }
  .stats-grid .stat + .stat { border-top: 1px solid rgba(255, 255, 255, 0.11); }
}
