/* Empire Investment Company */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #08090a;
  --ink-2: #16181a;
  --ink-3: #222528;
  --white: #ffffff;
  --surface: #16181a;
  --surface-2: #222528;
  --text: #f5f5f3;
  --muted: #a6a7a4;
  --bg: #08090a;
  --card: #16181a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 8.5vw, 128px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 12px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.0902, 0.2642, 0.4422, 0.594, 0.7127, 0.8009, 0.8641, 0.9084, 0.9389, 0.9596, 0.9734, 0.9826, 0.9887, 0.9927, 0.9953, 1);
  }
}

.on-dark {
  background: var(--ink);
  color: var(--text);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
p { text-wrap: pretty; }
.nb { white-space: nowrap; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 110;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-top: clamp(48px, 4.6vw, 80px); }

/* Tipografia */

h1, h2, h3 { font-weight: 500; text-wrap: balance; }
.display, .title, .subtitle { font-family: var(--display); font-weight: 500; }
.display { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -0.03em; }
.title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.026em; }
.subtitle { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.018em; }
em { font-style: normal; color: var(--muted); }

.lead { max-width: 56ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  background: var(--card);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease, transform 300ms var(--spring);
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn svg { width: 18px; height: 18px; transition: transform 300ms var(--spring); }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--ghost { background: var(--card); color: var(--text); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 15px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 300ms var(--spring); }

@media (hover: hover) {
  .btn--solid:hover { opacity: 0.86; }
  .btn--ghost:hover { background: var(--surface-2); }
  .btn:hover svg, .link-arrow:hover svg, a:hover > .chip-arrow svg { transform: translateX(3px); }
}

/* Cabeçalho */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #f5f5f3;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.header__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; height: var(--header-h); }
.header__end { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header .btn { background: #f5f5f3; color: var(--ink); }
.header.is-stuck {
  background: rgba(8, 9, 10, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.menu-open .header { background: none !important; }

.nav { display: flex; gap: 26px; }
.nav a { padding-block: 8px; font-size: 15px; font-weight: 500; transition: opacity 160ms ease; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
@media (hover: hover) { .nav a:hover { opacity: 0.65; } }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 28px; height: 26px; }
.brand__name { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0.26em; line-height: 1; }
.brand__sub { display: block; margin-top: 4px; font-size: 7.5px; letter-spacing: 0.19em; line-height: 1; opacity: 0.7; white-space: nowrap; }

.lang { display: inline-flex; gap: 2px; padding: 3px; background: rgba(245, 245, 243, 0.12); border-radius: 10px; }
.lang a { display: grid; place-items: center; min-width: 34px; height: 34px; padding-inline: 6px; border-radius: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; transition: background-color 160ms ease, color 160ms ease; }
.lang a[aria-current] { background: #f5f5f3; color: var(--ink); }
@media (hover: hover) { .lang a:not([aria-current]):hover { background: rgba(245, 245, 243, 0.14); } }

.burger { display: none; width: 44px; height: 44px; margin-right: -10px; place-items: center; }
.burger span, .burger span::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 260ms var(--spring);
}
.burger span { transform: translateY(-4px); }
.burger span::before { content: ""; transform: translateY(8px); }
.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: rotate(-90deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 8px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: rgba(8, 9, 10, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  color: #f5f5f3;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 220ms ease; }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 100%; }
.menu__nav { display: grid; gap: 4px; }
.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 18px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.026em;
  line-height: 1.15;
}
.menu__link[aria-current="page"] { background: var(--surface); }
.menu__link:active { background: var(--surface); }
.menu__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); }
.menu__link[aria-current="page"] .menu__go { background: #f5f5f3; color: var(--ink); }
.menu__go svg { width: 17px; height: 17px; }
.menu__bottom { display: grid; gap: 14px; }
.menu__cta { width: 100%; min-height: 56px; font-size: 17px; }
.menu .lang { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: var(--surface); border-radius: 14px; }
.menu .lang a { min-width: 0; height: 46px; font-size: 15px; border-radius: 10px; }
.menu__card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px; background: var(--surface); border-radius: var(--r-lg); }
.menu__mail { flex: 1 0 100%; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.menu__card > span { color: var(--muted); font-size: 15px; }
.menu__social { display: flex; gap: 8px; }
.menu__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); }
.menu__social svg { width: 18px; height: 18px; }

/* Entrada em sequência quando o menu abre */
.menu .menu__link, .menu .menu__bottom { opacity: 0; transform: translateY(16px); transition: opacity 160ms ease, transform 200ms ease, background-color 180ms ease; }
.menu.is-open .menu__link, .menu.is-open .menu__bottom {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease calc(var(--i, 0) * 55ms + 100ms), transform 700ms var(--spring) calc(var(--i, 0) * 55ms + 100ms), background-color 180ms ease;
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__cta, .header .lang { display: none; }
  .burger { display: grid; }
  .header__row { gap: 8px; }
  .header__end { display: contents; }
  .brand { grid-column: 2; grid-row: 1; }
  .burger { grid-column: 3; grid-row: 1; justify-self: end; }
}

/* Hero */

.hero { isolation: isolate; display: flex; min-height: 100vh; min-height: 100svh; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 9, 10, 0.72) 2%, rgba(8, 9, 10, 0.3) 34%, rgba(8, 9, 10, 0) 64%),
    linear-gradient(90deg, rgba(8, 9, 10, 0.84) 8%, rgba(8, 9, 10, 0.42) 52%, rgba(8, 9, 10, 0.08)),
    linear-gradient(to bottom, rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0) 18%);
}
.hero__in {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: clamp(36px, 6vh, 72px);
}
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 4vw, 56px); }
.hero__text { max-width: 720px; }
.hero__text .lead { margin-top: 20px; color: #e2e2de; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .btn--ghost { background: rgba(245, 245, 243, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero .badge { background: rgba(245, 245, 243, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero__chips { display: grid; gap: 8px; flex: none; }

.float-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  color: var(--white);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 44px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1.25;
}
.float-chip b { display: block; font-weight: 600; }
.float-chip div > span { color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.float-chip .code { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.code {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--white);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(28px, 4vw, 48px);
}
.tile { display: flex; flex-direction: column; padding: clamp(18px, 2vw, 26px); background: var(--card); border-radius: var(--r-lg); }
.tile dt { order: 2; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.tile dd { order: 1; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }

@media (max-width: 960px) {
  .hero__chips { display: none; }
  .scene video { object-position: 84% center; }
  .hero::after {
    background:
      linear-gradient(to top, rgba(8, 9, 10, 0.88) 8%, rgba(8, 9, 10, 0.6) 50%, rgba(8, 9, 10, 0.2) 80%),
      linear-gradient(to bottom, rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0) 16%);
  }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Páginas internas: abertura */

.intro { padding-top: calc(var(--header-h) + clamp(44px, 7vw, 96px)); padding-bottom: clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.intro .lead { margin-top: 20px; }
.on-dark.intro .lead { color: #d4d4d0; }
.intro.window { min-height: 62vh; display: flex; align-items: flex-end; isolation: isolate; overflow: visible; }
.intro.window::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.34)); }
.intro.window .lead { color: #e2e2de; }

/* Títulos de secção */

.head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }
.head .lead { margin-top: 16px; }

/* Especialidades */

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spec {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(20px, 2vw, 28px);
  background: var(--surface);
  border-radius: var(--r-lg);
  transition: background-color 180ms ease;
}
.spec__text { padding-right: 44px; font-family: var(--display); font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; line-height: 1.22; letter-spacing: -0.018em; }
.spec__text span { color: var(--muted); }
.chip-arrow {
  position: absolute;
  top: clamp(18px, 2vw, 26px);
  right: clamp(18px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ink-3);
  border-radius: 10px;
}
.chip-arrow svg { width: 16px; height: 16px; transition: transform 300ms var(--spring); }
.spec__img { margin-top: auto; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; }
.spec__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--spring); }
@media (hover: hover) { .spec:hover { background: var(--surface-2); } .spec:hover .spec__img img { transform: scale(1.03); } }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .spec__img { aspect-ratio: 4 / 3; } }

/* Imersão: fundos fixos que trocam por secção */

.scene { position: fixed; inset: 0; z-index: 0; background: var(--ink); }
.scene__item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}
.scene__item.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease; }
.js .scene { opacity: 0; transition: opacity 300ms ease; }
.is-ready .scene { opacity: 1; }

.scene__globe { display: grid; place-items: center end; }
.scene__globe canvas {
  width: min(118vh, 92vw);
  height: min(118vh, 92vw);
  margin-right: -6vw;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  opacity: var(--globe-base, 1);
  transform: translate(var(--globe-x, 0px), var(--globe-y, 0px)) scale(var(--globe-scale, 1));
  will-change: transform;
}
.scene__globe canvas.is-dragging { cursor: grabbing; }
.scene__globe canvas:focus-visible { border-radius: 50%; }
@media (max-width: 860px) {
  .scene__globe {
    place-items: center;
    /* The upper part holds the text, so the globe fades out behind it */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 26%, #000 58%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 26%, #000 58%);
  }
  .scene__globe canvas { width: min(104vw, 62vh); height: min(104vw, 62vh); margin: 0; --globe-base: 0.9; }
}

main, .footer { position: relative; z-index: 1; }
main { pointer-events: none; }
.solid { position: relative; pointer-events: auto; background: var(--ink); }
.solid::before, .solid::after, .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(120px, 24vh, 240px);
  pointer-events: none;
}
.solid::before, .footer::before { bottom: 100%; background: linear-gradient(to bottom, rgba(8, 9, 10, 0), rgba(8, 9, 10, 0.55) 55%, var(--ink)); }
.solid::after { top: 100%; background: linear-gradient(to top, rgba(8, 9, 10, 0), rgba(8, 9, 10, 0.55) 55%, var(--ink)); }
.window { position: relative; z-index: 2; }
.window a, .window button, .window select { pointer-events: auto; }

.immerse { padding-block: 22vh 12vh; }
.statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 720px;
  min-height: 62vh;
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
  will-change: opacity, transform;
}
.statement b { display: block; font-size: clamp(64px, 10vw, 148px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; margin-bottom: 8px; }
.statement__place {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
}
.statement--intro { min-height: 78vh; }
.statement--intro .lead { max-width: 46ch; margin-block: 18px 14px; font-family: var(--sans); letter-spacing: -0.011em; color: #e2e2de; }
.statement:last-child { min-height: 40vh; }
.statement--intro .link-arrow { font-family: var(--sans); font-size: 17px; letter-spacing: -0.011em; }
.globe__hint { display: block; margin-top: 8px; font-family: var(--sans); font-size: 14px; letter-spacing: -0.005em; color: #c4c5c1; }

.vision { isolation: isolate; display: flex; align-items: flex-end; min-height: 110vh; }
.vision::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 9, 10, 0.92) 8%, rgba(8, 9, 10, 0.34) 62%, rgba(8, 9, 10, 0.12)); }
.vision .display { font-size: clamp(32px, 4.2vw, 60px); }

.cta { isolation: isolate; display: flex; align-items: center; min-height: 100vh; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.44)); }
.cta .wrap > * { max-width: 780px; }
.cta em { color: #c9c9c5; }
.cta .lead { margin-top: 16px; color: #e2e2de; }

/* Setores */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.split__side { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.split__side .lead { margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }

.bars { display: grid; gap: 8px; }
.bar { background: var(--surface); border-radius: 16px; transition: background-color 180ms ease; }
.bar__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 18px 14px 14px;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: -0.016em;
  touch-action: manipulation;
}
.bar__label { flex: 1; }
.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: #f5f5f3;
  color: var(--ink);
  border-radius: 50%;
}
.icon svg { width: 21px; height: 21px; }
.bar__plus { flex: none; width: 22px; height: 22px; transition: transform 340ms var(--spring); }
.bar__head[aria-expanded="true"] .bar__plus { transform: rotate(45deg); }
@media (hover: hover) { .bar:hover { background: var(--surface-2); } }

.js .bar__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 420ms var(--spring), visibility 0s linear 420ms;
}
.js .bar__head[aria-expanded="true"] + .bar__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 420ms var(--spring); }
.bar__panel > div { overflow: hidden; }
.bar__inner { padding: 0 18px 18px 72px; color: var(--muted); }
.bar__inner p { max-width: 62ch; }
.bar__inner a { margin-top: 2px; color: var(--text); }
@media (max-width: 560px) { .bar__inner { padding-left: 18px; } }

.ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 14px 18px;
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  font-weight: 500;
  transition: background-color 180ms ease;
}
@media (hover: hover) { .ask:hover { background: var(--surface-2); } }
.ask img { width: 24px; height: 22px; }
.ask svg { width: 18px; height: 18px; margin-left: auto; transition: transform 300ms var(--spring); }
@media (hover: hover) { .ask:hover svg { transform: translateX(3px); } }

/* Seletor de perfil */

.audience__head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); text-align: center; }
.tabs { display: inline-flex; gap: 4px; margin-top: 8px; padding: 5px; background: var(--surface); border-radius: 14px; }
.tab { min-height: 50px; min-width: 132px; padding: 0 20px; border-radius: 10px; color: var(--text); font-size: 16px; font-weight: 500; touch-action: manipulation; transition: background-color 180ms ease, color 180ms ease, transform 300ms var(--spring); }
.tab:active { transform: scale(0.97); transition-duration: 100ms; }
.tab[aria-pressed="true"] { background: #f5f5f3; color: var(--ink); }
@media (hover: hover) { .tab:not([aria-pressed="true"]):hover { background: var(--surface-2); } }
@media (max-width: 560px) { .tabs { display: flex; width: 100%; } .tab { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 4px; font-size: 14px; } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { padding: clamp(20px, 2vw, 28px); background: var(--surface); border-radius: var(--r-lg); }
.card p { margin-top: 10px; color: var(--muted); }
.js [data-panel][hidden] { display: none; }
.js [data-panel]:not([hidden]) .card { animation: rise 460ms var(--spring) both; }
.js [data-panel] .card:nth-child(2) { animation-delay: 50ms; }
.js [data-panel] .card:nth-child(3) { animation-delay: 100ms; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Visão */

.bleed__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(48px, 8vh, 96px);
}
.bleed__aside { color: #d4d4d0; }
.bleed__aside b { display: block; margin-bottom: 6px; font-weight: 500; color: var(--white); }
.label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: #d4d4d0; }
@media (max-width: 860px) { .bleed__grid { grid-template-columns: 1fr; } }

/* Notícias */

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(14px, 1.6vw, 20px);
  background: var(--surface);
  border-radius: var(--r-xl);
}
.news-card__img { overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-lg); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 700ms var(--spring); }
.news-card time, .meta { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.news-card p { margin-block: 14px 8px; color: var(--muted); max-width: 54ch; }
@media (hover: hover) { .news-card:hover .news-card__img img { transform: scale(1.025); } }
@media (max-width: 860px) { .news-card { grid-template-columns: 1fr; } .news-card > div:last-child { padding: 4px 8px 8px; } }

/* Testemunhos */

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2vw, 28px); background: var(--surface); border-radius: var(--r-lg); }
.stars { display: flex; gap: 2px; color: var(--text); }
.stars svg { width: 16px; height: 16px; }
.quote blockquote { font-size: 17px; line-height: 1.45; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; background: #f5f5f3; color: var(--ink); border-radius: 50%; font-size: 14px; font-weight: 600; }
.quote figcaption b { display: block; font-weight: 500; line-height: 1.25; }
.quote figcaption span:not(.avatar) { color: var(--muted); font-size: 15px; }
.quotes__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Perguntas */

.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 16px; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; transition: transform 300ms var(--spring); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--muted); max-width: 68ch; }

/* Rodapé */

.footer { padding-block: clamp(56px, 7vw, 96px) 28px; background: var(--ink); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 72px); }
.footer__main { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
.footer h2 { margin-bottom: 14px; font-size: 16px; font-weight: 500; color: var(--text); }
.footer li { padding-block: 5px; }
.footer li a { color: var(--muted); transition: color 160ms ease; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__card { display: flex; flex-direction: column; padding: clamp(20px, 2vw, 28px); background: var(--surface); border-radius: var(--r-lg); }
.footer__card h2 { margin-bottom: 8px; }
.footer__mail { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) { .footer__mail { font-size: 15px; } }
.footer__card p { color: var(--muted); font-size: 15px; }
.footer__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 16px; }
.footer__tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; background: var(--ink); border-radius: var(--r-md); font-size: 14px; transition: background-color 160ms ease; }
.footer__tiles svg { width: 22px; height: 22px; }
.footer__card b { margin-bottom: 2px; font-size: 15px; font-weight: 500; }
.footer__about { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 8vw, 110px); margin-top: clamp(40px, 5vw, 64px); }
.footer__about > p { max-width: 42ch; font-size: 15px; color: var(--muted); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; background: var(--surface); border-radius: 50%; transition: background-color 160ms ease; }
.footer__social svg { width: 18px; height: 18px; }
.footer__note { max-width: 88ch; margin-top: clamp(28px, 3vw, 40px); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.footer__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.footer__copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.footer__copy b { font-weight: 500; color: var(--text); }
.footer__credit { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer__credit img { width: 83px; height: 22px; opacity: 0.86; transition: opacity 160ms ease; }
@media (hover: hover) { .footer__credit:hover img { opacity: 1; } .footer__credit:hover span { color: var(--text); } }
.footer__top-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); }
.footer__top-link i { display: grid; place-items: center; width: 30px; height: 30px; background: #f5f5f3; color: var(--ink); border-radius: 50%; }
.footer__top-link svg { width: 15px; height: 15px; transform: rotate(-90deg); }
@media (hover: hover) {
  .footer li a:hover { color: var(--text); }
  .footer__tiles a:hover, .footer__social a:hover { background: var(--surface-2); }
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* Carrossel de parceiros */

.logos { padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.logos__title { margin-bottom: clamp(18px, 2.4vw, 28px); font-size: 15px; font-weight: 500; color: var(--muted); }
.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { display: flex; width: max-content; animation: logos 46s linear infinite; }
.logos__track ul { display: flex; align-items: center; flex: none; }
.logos__track li { flex: none; padding-inline: clamp(24px, 3.4vw, 48px); }
.logos__track img { max-width: none; opacity: 0.78; transition: opacity 180ms ease; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (hover: hover) {
  .logos__viewport:hover .logos__track { animation-play-state: paused; }
  .logos__track li:hover img { opacity: 1; }
}

/* Soluções */

.sector-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.side-nav { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: background-color 160ms ease, color 160ms ease; }
.side-nav a.is-active { background: var(--surface); color: var(--text); }
@media (hover: hover) { .side-nav a:hover { color: var(--text); } }
.sectors { display: grid; gap: 12px; }
.sector { padding: clamp(22px, 3vw, 40px); background: var(--surface); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.sector h2 { margin-bottom: 16px; }
.sector p, .sector li { color: var(--muted); max-width: 66ch; }
.sector p + p { margin-top: 12px; }
.sector ul { display: grid; gap: 8px; margin-top: 16px; }
.sector li { padding: 12px 14px; background: var(--ink); border-radius: 12px; }
@media (max-width: 860px) { .sector-layout { grid-template-columns: 1fr; } .side-nav { display: none; } }

/* Sobre */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo > div { padding: clamp(22px, 3vw, 40px); background: var(--surface); border-radius: var(--r-lg); }
.duo .label { color: var(--muted); }
.duo p { margin-top: 12px; color: var(--muted); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.founder img { width: 100%; border-radius: var(--r-xl); }
.founder p { margin-block: 16px 8px; color: var(--muted); max-width: 54ch; }
.founder__role { display: block; margin-top: 6px; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.gallery figure { position: relative; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-lg); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; background: var(--white); color: var(--ink); border-radius: 10px; font-size: 13px; font-weight: 500; }
@media (min-width: 861px) { .gallery { max-width: 860px; margin: clamp(32px, 4vw, 56px) 0 0 auto; } }

.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.values li { padding: 8px 14px; background: var(--surface); border-radius: 10px; font-weight: 500; }

/* Textos legais e artigo */

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { margin-block: 36px 12px; }
.prose p, .prose li { color: #cfcfcb; font-size: 17px; line-height: 1.6; }
.prose p + p { margin-top: 16px; }
.prose ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 20px; list-style: disc; }
.prose a:not(.link-arrow) { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin-block: 32px; }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose strong { color: var(--text); font-weight: 500; }

/* Contacto */

.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.contact dl { display: grid; gap: 20px; align-self: start; }
.contact dt { margin-bottom: 2px; font-size: 14px; color: var(--muted); }
.contact dd { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.contact dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(20px, 3vw, 36px); background: var(--surface); border-radius: var(--r-xl); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 16px;
  transition: border-color 160ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: #f5f5f3; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { flex: 1 1 280px; font-size: 14px; color: var(--muted); }
.form__note a { text-decoration: underline; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Aviso de cookies */

.cookie-note {
  position: fixed;
  left: var(--gutter);
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 500px;
  padding: 12px 14px;
  background: var(--surface-2);
  color: #d4d4d0;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 1.4;
  animation: rise 600ms var(--spring) 1400ms both;
}
.cookie-note[hidden] { display: none; }
.cookie-note a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-note .btn { flex: none; background: var(--white); color: var(--ink); }
@media (max-width: 560px) { .cookie-note { left: 12px; right: 12px; bottom: 12px; } }

/* Carregamento */

.preloader { display: none; }
.is-intro .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  color: #f5f5f3;
  cursor: default;
  animation: preloader-failsafe 300ms ease 6500ms forwards;
}
.preloader__curtain { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-rows: repeat(5, 1fr); }
.preloader__curtain span { margin-block: -1px; background: var(--ink); transition: transform 1000ms var(--spring); }
.preloader__curtain span:nth-child(2) { transition-delay: 70ms; }
.preloader__curtain span:nth-child(3) { transition-delay: 140ms; }
.preloader__curtain span:nth-child(4) { transition-delay: 210ms; }
.preloader__curtain span:nth-child(5) { transition-delay: 280ms; }
.preloader.is-done .preloader__curtain span:nth-child(odd) { transform: translateX(101%); }
.preloader.is-done .preloader__curtain span:nth-child(even) { transform: translateX(-101%); }
.preloader__mark { display: grid; gap: 8px; width: clamp(170px, 18vw, 220px); }
.preloader__mark span { position: relative; display: block; height: clamp(20px, 2.2vw, 26px); overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.preloader__mark span:nth-child(odd) { margin-left: 8px; }
.preloader__mark span:nth-child(even) { margin-right: 8px; }
.preloader__mark span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), #fff);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.preloader__mark span:nth-child(even)::after { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.06)); transform-origin: right; }
.preloader__mark, .preloader__name, .preloader__pct { transition: transform 500ms var(--spring), opacity 260ms ease; }
.preloader__name { text-align: center; font-size: 22px; font-weight: 500; letter-spacing: 0.3em; line-height: 1; margin-right: -0.3em; }
.preloader__name small { display: block; margin-top: 9px; font-size: 9px; font-weight: 400; letter-spacing: 0.27em; color: #a6a7a4; }
.preloader__pct { font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 0; color: #a6a7a4; }
.preloader.is-done { pointer-events: none; }
.preloader.is-done .preloader__mark { transform: scale(1.1); opacity: 0; }
.preloader.is-done .preloader__name { transform: translateY(8px); opacity: 0; }
.preloader.is-done .preloader__pct { opacity: 0; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* Entrada */

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 800ms var(--spring);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.title-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.26em);
  transition: opacity 500ms ease, transform 800ms var(--spring);
  transition-delay: calc(var(--i, 0) * 32ms + 100ms);
}
.is-ready .title-words .w { opacity: 1; transform: none; }

.js .hero__text > :not(h1), .js .intro .wrap > :not(h1), .js .hero__chips {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease 380ms, transform 800ms var(--spring) 380ms;
}
.js .hero__chips { transition-delay: 240ms; }
.is-ready .hero__text > :not(h1), .is-ready .intro .wrap > :not(h1), .is-ready .hero__chips { opacity: 1; transform: none; }

@media (prefers-reduced-transparency: reduce) {
  .header.is-stuck { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .float-chip { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
  .hero .btn--ghost, .hero .badge { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface-2); }
}
@media (prefers-contrast: more) {
  :root { --muted: #d0d0cc; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader.is-done .preloader__curtain span { transform: none !important; opacity: 0; transition: opacity 250ms ease !important; }
  .js .reveal, .title-words .w, .js .hero__text > :not(h1), .js .intro .wrap > :not(h1), .js .hero__chips,
  .preloader.is-done .preloader__mark, .preloader.is-done .preloader__name {
    transform: none !important;
    transition: opacity 250ms ease !important;
    transition-delay: 0ms !important;
  }
  .cookie-note, .js [data-panel]:not([hidden]) .card { animation: none; }
  .logos__track { animation: none; width: auto; }
  .logos__track ul { flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .logos__track ul[aria-hidden] { display: none; }
  .btn, .bar__panel { transition-duration: 1ms !important; }
}

@media (max-width: 359px) {
  .brand img { display: none; }
  .lang a { min-width: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu .menu__link, .menu .menu__bottom, .menu.is-open .menu__link, .menu.is-open .menu__bottom { transform: none !important; transition: opacity 200ms ease !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
}
