/* Skyline World Group — site v2 ("Hairline Ledger")
   Grade suíça de 12 colunas, filetes de 1px, navy como único acento.
   As animações só existem sob html.motion (JS ativo + sem "reduzir movimento"). */

/* ---------- Fontes ---------- */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Arial com métricas próximas da Inter Tight, para a troca de fonte não mexer no layout */
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial");
  size-adjust: 95%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #0f0f0f;
  --paper: #ffffff;
  --sand: #f0eded;
  --logo-bg: #f6f6f6;
  --navy: #1c2434;
  --navy-deep: #121826;
  --muted: #5f5f5f;
  --numeral-idle: #c9c5c5;
  --rule-soft: #d9d5d5;
  --on-dark: #ffffff;
  --on-dark-muted: #a9adb6;
  --on-dark-rule: #4b5262;

  --font-sans: "Inter Tight", "Inter Tight Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-num: "Oswald", "Arial Narrow", sans-serif;

  --fs-display: clamp(44px, min(6.4vw, 11svh), 104px);
  --fs-h2: clamp(34px, 4.4vw, 68px);
  --fs-h2-xl: clamp(56px, 8vw, 128px);
  --fs-h3: clamp(21px, 1.9vw, 28px);
  --fs-lead: clamp(18px, 1.5vw, 22px);
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-numeral: clamp(56px, 5.6vw, 88px);
  --fs-mail: clamp(28px, 4.2vw, 60px);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --col-gap: clamp(16px, 2vw, 32px);
  --section: clamp(80px, 10vw, 152px);
  --masthead-h: 80px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.on-dark :where(a, button):focus-visible,
.masthead[data-state="over-hero"]:not(.is-menu-open) .site-header :where(a, button):focus-visible {
  outline-color: #fff;
}

.masthead .lang-suggest :where(a, button):focus-visible {
  outline-color: var(--navy);
  outline-offset: -3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- Grade ---------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

/* ---------- Tipografia ---------- */

.eyebrow {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .idx,
.idx {
  font-family: var(--font-num);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.rule-mark {
  display: inline-block;
  width: 24px;
  height: 1px;
  flex: none;
  margin-top: calc(0.675em - 0.5px);
  background: currentColor;
}

.on-dark .eyebrow,
.eyebrow--light {
  color: var(--on-dark-muted);
}

.on-dark .idx {
  color: #fff;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  margin-top: 24px;
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  text-wrap: pretty;
}

.on-dark .lead {
  color: var(--on-dark-muted);
}

.body {
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  text-wrap: pretty;
}

.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn .icon--arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .icon--arrow {
  transform: translateX(4px);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: #e8e8ea;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgba(28, 36, 52, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.text-link span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}

.text-link:hover span,
.text-link:focus-visible span {
  background-size: 100% 1px;
}

/* ---------- Masthead ---------- */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.masthead[data-state="solid"],
.masthead.is-menu-open {
  background: #fff;
  color: var(--ink);
}

.site-header {
  position: relative;
}

.site-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
  height: 80px;
  transition: height 0.25s var(--ease-out);
}

.masthead[data-state="solid"] .site-header__row {
  height: 64px;
}

.site-header__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-inout);
}

.masthead[data-state="solid"] .site-header__rule,
.masthead.is-menu-open .site-header__rule {
  transform: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  transition: box-shadow 0.25s;
}

.masthead[data-state="over-hero"]:not(.is-menu-open) .logo img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.logo__word {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav {
  justify-self: center;
}

.nav ul {
  display: flex;
  gap: 28px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.btn--header {
  min-height: 44px;
  padding: 0 20px;
  background: #fff;
  color: var(--ink);
}

.masthead[data-state="solid"] .btn--header,
.masthead.is-menu-open .btn--header {
  background: var(--navy);
  color: #fff;
}

.masthead[data-state="solid"] .btn--header:hover,
.masthead.is-menu-open .btn--header:hover {
  background: var(--navy-deep);
}

.menu-btn {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
}

.menu-btn__line {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.menu-btn__line:first-child {
  top: 17px;
}

.menu-btn__line:last-child {
  top: 25px;
}

.menu-btn[aria-expanded="true"] .menu-btn__line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Seletor de idioma ---------- */

.lang-switch {
  display: inline-flex;
  border: 1px solid currentColor;
}

.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: background-color 0.15s, color 0.15s;
}

.lang-switch__item + .lang-switch__item {
  border-left: 1px solid currentColor;
}

a.lang-switch__item:hover {
  text-decoration: underline;
  background: rgba(28, 36, 52, 0.06);
}

.on-dark a.lang-switch__item:hover,
.masthead[data-state="over-hero"]:not(.is-menu-open) a.lang-switch__item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch__item.is-current {
  background: var(--navy);
  color: #fff;
}

.masthead[data-state="over-hero"]:not(.is-menu-open) .lang-switch__item.is-current {
  background: #fff;
  color: var(--navy);
}

.lang-switch__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .lang-switch--header .lang-switch__code {
    display: none;
  }

  .lang-switch--header .lang-switch__name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
}

.lang-switch--large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.lang-switch--large .lang-switch__item {
  height: 48px;
}

.lang-switch--large .lang-switch__code {
  display: none;
}

.lang-switch--large .lang-switch__name {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Sugestão de idioma ---------- */

.lang-suggest {
  background: var(--sand);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.lang-suggest__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  min-height: 44px;
  padding-right: calc(var(--gutter) + 44px);
}

.lang-suggest__msg {
  font-size: 14px;
  line-height: 1.4;
}

.lang-suggest__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
}

.lang-suggest__go,
.lang-suggest__stay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

.lang-suggest__go {
  color: var(--navy);
  text-underline-offset: 3px;
}

.lang-suggest__stay {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-suggest__close {
  position: absolute;
  top: 0;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

html.motion .lang-suggest {
  animation: suggest-in 0.22s var(--ease-out);
}

.lang-suggest.is-closing {
  overflow: hidden;
  transition: max-height 0.2s var(--ease-out), opacity 0.2s;
  opacity: 0;
}

@media (min-width: 768px) {
  .lang-suggest__actions {
    margin-left: auto;
  }
}

@keyframes suggest-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ---------- Menu (abaixo de 1024px) ---------- */

.menu {
  position: fixed;
  inset: var(--masthead-h) 0 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--ink);
}

html.motion .menu {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.4s var(--ease-out);
}

html.motion .menu.is-open {
  clip-path: inset(0);
}

.menu__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 24px calc(40px + env(safe-area-inset-bottom, 0px));
}

.menu__list li {
  border-bottom: 1px solid var(--ink);
}

.menu__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.menu__list .idx {
  font-size: 13px;
  color: var(--muted);
}

html.motion .menu__list li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

html.motion .menu.is-open .menu__list li {
  opacity: 1;
  transform: none;
}

html.motion .menu.is-open .menu__list li:nth-child(2) { transition-delay: 50ms; }
html.motion .menu.is-open .menu__list li:nth-child(3) { transition-delay: 100ms; }
html.motion .menu.is-open .menu__list li:nth-child(4) { transition-delay: 150ms; }
html.motion .menu.is-open .menu__list li:nth-child(5) { transition-delay: 200ms; }

.menu__lang .label {
  margin-bottom: 12px;
  color: var(--muted);
}

.menu__mail {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 500;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  min-height: max(640px, min(100vh, 980px));
  min-height: max(640px, min(100svh, 980px));
  overflow: hidden;
  background: #183c3f;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media picture,
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__poster,
.hero__video {
  object-fit: cover;
  object-position: 60% 50%;
}

.hero__video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 30, 0.45) 0, rgba(15, 20, 30, 0) 180px),
    linear-gradient(0deg, rgba(15, 20, 30, 0.6) 0%, rgba(15, 20, 30, 0) 42%),
    linear-gradient(90deg, rgba(15, 20, 30, 0.78) 0%, rgba(15, 20, 30, 0.55) 45%, rgba(15, 20, 30, 0) 75%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  height: 100%;
  pointer-events: none;
}

.hero__grid span {
  position: relative;
  grid-row: 1;
}

.hero__grid span::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  transform-origin: top;
}

.hero__grid span:nth-child(1) { grid-column: 1; }
.hero__grid span:nth-child(2) { grid-column: 5; }
.hero__grid span:nth-child(3) { grid-column: 9; }
.hero__grid span:nth-child(4) { grid-column: 12; }

.hero__grid span:nth-child(4)::before {
  left: auto;
  right: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(80px + var(--suggest-h, 0px) + 48px);
}

.hero .hero__eyebrow {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(15, 20, 30, 0.5);
}

.hero__title {
  margin-top: 24px;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.line > span {
  display: block;
}

.hero__sub {
  margin-top: 24px;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: #fff;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.video-toggle {
  position: absolute;
  z-index: 3;
  top: calc(80px + var(--suggest-h, 0px) + 24px);
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(15, 20, 30, 0.2);
  transition: background-color 0.25s, opacity 0.6s var(--ease-out);
}

.video-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.video-toggle .icon--play,
.video-toggle[data-state="paused"] .icon--pause {
  display: none;
}

.video-toggle[data-state="paused"] .icon--play {
  display: block;
}

.hero__strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
  margin-top: clamp(48px, 7vh, 88px);
  padding-bottom: 28px;
}

.hero__strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform-origin: left;
}

.hero__strip li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: baseline;
  padding-top: 20px;
}

.hero__strip .idx {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero__strip strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.hero__strip li > span:last-child {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.hero__sentinel {
  position: absolute;
  left: 0;
  bottom: calc(80px + var(--suggest-h, 0px));
  width: 1px;
  height: 1px;
}

/* Sequência de entrada do hero */
html.motion .masthead {
  opacity: 0;
}

html.motion.is-ready .masthead {
  opacity: 1;
  transition: opacity 0.4s ease, background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

html.motion .hero [data-hero] {
  opacity: 0;
  transform: translateY(16px);
}

html.motion .hero .line > [data-hero] {
  opacity: 1;
  transform: translateY(105%);
}

html.motion .hero__grid span::before {
  transform: scaleY(0);
}

html.motion .hero__strip::before,
html.motion .hero__eyebrow .rule-mark {
  transform: scaleX(0);
  transform-origin: left;
}

html.motion .hero.is-loaded [data-hero] {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out) var(--d, 0ms), transform 0.8s var(--ease-out) var(--d, 0ms);
}

html.motion .hero.is-loaded .hero__grid span::before {
  transform: none;
  transition: transform 1.2s var(--ease-inout);
}

html.motion .hero.is-loaded .hero__grid span:nth-child(2)::before { transition-delay: 60ms; }
html.motion .hero.is-loaded .hero__grid span:nth-child(3)::before { transition-delay: 120ms; }
html.motion .hero.is-loaded .hero__grid span:nth-child(4)::before { transition-delay: 180ms; }

html.motion .hero.is-loaded .hero__eyebrow .rule-mark {
  transform: none;
  transition: transform 0.6s var(--ease-inout) 200ms;
}

html.motion .hero.is-loaded .hero__strip::before {
  transform: none;
  transition: transform 0.9s var(--ease-inout) 900ms;
}

/* ---------- Revelação ao rolar ---------- */

html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.7s var(--ease-out) var(--d, 0ms);
}

html.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

html.motion [data-rule="x"] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-inout) var(--d, 0ms);
}

html.motion [data-rule="y"] {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease-inout) var(--d, 0ms);
}

html.motion [data-rule].is-in {
  transform: none;
}

html.motion [data-mask] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-inout) var(--d, 0ms);
}

html.motion [data-mask] img {
  transform: scale(1.08);
  transition: transform 1.4s var(--ease-out) var(--d, 0ms);
}

html.motion [data-mask].is-in {
  clip-path: inset(0);
}

html.motion [data-mask].is-in img {
  transform: none;
}

html.motion [data-reveal-lines] .line > span {
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out) var(--d, 0ms);
}

html.motion [data-reveal-lines].is-in .line > span {
  transform: none;
}

/* ---------- Cabeçalho de seção ---------- */

.sec-head {
  position: relative;
  row-gap: 24px;
  padding-top: 32px;
}

.sec-head__rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}

.on-dark .sec-head__rule {
  background: var(--on-dark-rule);
}

.sec-head__eyebrow {
  grid-column: 1 / span 3;
  align-self: start;
  padding-top: 0.4em;
}

.sec-head__main {
  grid-column: 5 / span 8;
}

/* ---------- 01 Sobre ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(680px, 90vh, 940px);
}

.about__panel {
  display: flex;
  align-items: center;
  padding-block: var(--section);
  padding-left: max(var(--gutter), calc(100% - var(--max) / 2));
  padding-right: clamp(32px, 4vw, 64px);
  background: var(--sand);
}

.ledger-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: clamp(32px, 4vw, 64px);
}

.ledger-box__edge {
  position: absolute;
  background: var(--ink);
}

.ledger-box__edge--t,
.ledger-box__edge--b {
  left: 0;
  right: 0;
  height: 1px;
}

.ledger-box__edge--t { top: 0; }
.ledger-box__edge--b { bottom: 0; }

.ledger-box__edge--l,
.ledger-box__edge--r {
  top: 0;
  bottom: 0;
  width: 1px;
}

.ledger-box__edge--l { left: 0; }
.ledger-box__edge--r { right: 0; }

.about__title {
  margin-top: 24px;
  max-width: 14ch;
}

.about .lead {
  max-width: none;
}

.about .body {
  margin-top: 16px;
}

.locations {
  margin-top: 32px;
  border-bottom: 1px solid var(--ink);
}

.locations__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 16px;
  padding-block: 16px;
}

.locations__row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
}

html.motion .locations__row::before {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-inout) var(--d, 0ms);
}

html.motion .locations__row.is-in::before {
  transform: none;
}

.locations dt {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.locations dd {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.about .text-link {
  margin-top: 24px;
}

.about__media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.9) contrast(1.04);
}

.chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.motion .about__media .chip {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease-out) 0.6s, transform 0.5s var(--ease-out) 0.6s;
}

html.motion .about__media.is-in .chip {
  opacity: 1;
  transform: none;
}

/* ---------- 02 Como atuamos ---------- */

.how {
  padding-block: var(--section);
  background: var(--navy);
  color: #fff;
}

.corridor-map {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
}

.corridor-map__canvas {
  position: relative;
  aspect-ratio: 1080 / 400;
  border: 1px solid var(--on-dark-rule);
}

.corridor-map__dots,
.corridor-map__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.route-link {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  opacity: 0.7;
}

.node-ring {
  fill: var(--navy);
  stroke: #fff;
  stroke-width: 1.6;
}

.node-ping {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.node-base {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
}

.map-label {
  position: absolute;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.map-label--cn { left: 19.07%; top: 28.75%; }
.map-label--fl { left: 77.22%; top: 32.25%; }
.map-label--sp { left: 90.19%; top: 83.5%; }

.map-label__leader {
  flex: none;
  background: #fff;
}

.map-label--down {
  flex-direction: column;
  align-items: flex-end;
  transform: translate(calc(-100% + 0.5px), 10px);
}

.map-label--down .map-label__leader {
  width: 1px;
  height: 16px;
}

.map-label--left .map-label__leader {
  width: 8px;
  height: 1px;
}

.map-label--up {
  flex-direction: column-reverse;
  align-items: flex-start;
  transform: translate(-0.5px, calc(-100% - 10px));
}

.map-label--up .map-label__leader {
  width: 1px;
  height: 24px;
}

.map-label--left {
  flex-direction: row-reverse;
  align-items: flex-end;
  transform: translate(calc(-100% - 10px), -100%);
}

.map-label__box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: var(--navy);
  border: 1px solid #fff;
}

.map-label__code {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.map-label__sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--on-dark-muted);
}

.map-legend {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 14px 18px;
  background: var(--navy);
  border: 1px solid var(--on-dark-rule);
}

.map-legend ul {
  display: grid;
  gap: 6px;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.map-legend__note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--on-dark-muted);
}

.glyph {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 10px;
  position: relative;
}

.glyph--base::before,
.glyph--origin::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 10px;
  height: 10px;
}

.glyph--base::before {
  background: #fff;
}

.glyph--origin::before {
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.glyph--route::before,
.glyph--link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4.5px;
  height: 0;
  border-top: 1.5px solid #fff;
}

.glyph--link::before {
  border-top-style: dashed;
  opacity: 0.7;
}

/* Animação do mapa */
html.motion .corridor-map__dots {
  opacity: 0;
  transition: opacity 0.6s ease;
}

html.motion .route {
  stroke-dashoffset: 1;
}

html.motion .route-link,
html.motion .map-legend {
  opacity: 0;
}

html.motion .node-ring,
html.motion .node-base {
  transform: scale(0);
}

html.motion .map-label {
  opacity: 0;
}

html.motion .corridor-map.is-in .corridor-map__dots {
  opacity: 1;
}

html.motion .corridor-map.is-in .node-ring {
  transform: none;
  transition: transform 0.3s var(--ease-out) 0.15s;
}

html.motion .corridor-map.is-in .node-ping {
  animation: ping 2.4s var(--ease-out) 0.45s 3;
}

html.motion .corridor-map.is-in .route {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease-inout) 0.3s;
}

html.motion .corridor-map.is-in .route--2 {
  transition-delay: 0.7s;
}

html.motion .corridor-map.is-in .node-base {
  transform: none;
  transition: transform 0.3s var(--ease-out) 1.9s;
}

html.motion .corridor-map.is-in .node-base--sp {
  transition-delay: 2.3s;
}

html.motion .corridor-map.is-in .route-link {
  opacity: 0.7;
  transition: opacity 0.6s ease 2.5s;
}

html.motion .corridor-map.is-in .map-label {
  opacity: 1;
  transition: opacity 0.5s var(--ease-out) 0.5s;
}

html.motion .corridor-map.is-in .map-label--fl { transition-delay: 2.1s; }
html.motion .corridor-map.is-in .map-label--sp { transition-delay: 2.5s; }

html.motion .corridor-map.is-in .map-legend {
  opacity: 1;
  transition: opacity 0.6s ease 2.8s;
}

@keyframes ping {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3);
  }
}

/* Fluxo em 3 etapas */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid var(--on-dark-rule);
}

.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 240px;
  padding: clamp(24px, 3vw, 40px);
}

.flow__step + .flow__step {
  border-left: 1px solid var(--on-dark-rule);
}

.flow__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
}

@media (min-width: 768px) {
  .flow {
    grid-template-rows: auto 1fr auto auto;
  }

  .flow__step {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .flow__step > div {
    display: contents;
  }

  .flow__top { grid-row: 1; }
  .flow__title { grid-row: 3; margin-top: 32px; }
  .flow__text { grid-row: 4; }
}

.flow__top .label {
  color: var(--on-dark-muted);
}

.flow__logo {
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.flow__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.flow__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.flow__step--swg {
  background: #fff;
  color: var(--ink);
}

.flow__step--swg .idx {
  color: var(--ink);
}

.flow__step--swg .label,
.flow__step--swg .flow__text {
  color: var(--muted);
}

.flow__connector {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  background: var(--navy);
  border: 1px solid #fff;
  color: #fff;
}

.flow__connector .icon {
  width: 14px;
  height: 14px;
}

html.motion .flow__step--swg[data-reveal] {
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.7s var(--ease-out) var(--d, 0ms),
    clip-path 0.7s var(--ease-inout) calc(var(--d, 0ms) + 150ms);
}

html.motion .flow__step--swg[data-reveal].is-in {
  clip-path: inset(0 0 0 -40px);
}

/* ---------- 03 Diferenciais ---------- */

.differentials {
  padding-block: var(--section);
}

.diff {
  margin-top: clamp(48px, 6vw, 96px);
  align-items: start;
}

.diff__list {
  grid-column: 1 / span 6;
}

.diff__item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  min-height: clamp(200px, 28vh, 280px);
  padding: 40px 0 40px 20px;
}

.diff__rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}

.diff__rule--bottom {
  top: auto;
  bottom: 0;
}

.diff__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 3px;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}

.diff__num {
  font-family: var(--font-num);
  font-size: var(--fs-numeral);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}

.diff__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.diff__text {
  margin-top: 12px;
  max-width: 44ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  transition: color 0.3s;
}

.diff__inline {
  display: none;
}

.diff__aside {
  grid-column: 8 / span 5;
  position: sticky;
  top: calc(var(--masthead-h) + 40px);
}

.diff__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--ink);
}

.diff__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  filter: saturate(0.9) contrast(1.04);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.9s var(--ease-out);
}

.diff__media img.is-active {
  opacity: 1;
  transform: none;
}

.diff__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 12px 16px;
  margin-top: 16px;
}

.diff__counter {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.diff__current {
  justify-self: end;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.diff__progress {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--rule-soft);
}

.diff__progress span {
  display: block;
  height: 1px;
  background: var(--navy);
  transform: scaleX(var(--p, 0.2));
  transform-origin: left;
  transition: transform 0.4s var(--ease-inout);
}

/* Linha ativa (só com JS, no desktop) */
@media (min-width: 1024px) {
  html.js .diff__item .diff__num {
    color: var(--numeral-idle);
  }

  @supports (-webkit-text-stroke: 1px black) {
    html.js .diff__item .diff__num {
      color: transparent;
      -webkit-text-stroke: 1px var(--ink);
    }
  }

  html.js .diff__item .diff__title,
  html.js .diff__item .diff__text {
    color: var(--muted);
  }

  html.js .diff__item.is-active .diff__num {
    color: var(--navy);
    -webkit-text-stroke-color: var(--navy);
  }

  html.js .diff__item.is-active .diff__title,
  html.js .diff__item.is-active .diff__text {
    color: var(--ink);
  }

  html.js .diff__item.is-active::before {
    transform: none;
  }
}

/* ---------- 04 Marcas ---------- */

.brands-section {
  padding-block: var(--section);
  background: var(--sand);
}

.brands-wrap {
  position: relative;
  margin-top: clamp(48px, 6vw, 96px);
}

.brands__edge {
  position: absolute;
  z-index: 1;
  background: var(--ink);
}

.brands__edge--t {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}

.brands__edge--l {
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
}

.brands {
  --cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}

.brand {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.brand__panel {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--logo-bg);
}

.brand__panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--logo-scale, 1));
}

html.motion .brand[data-reveal] .brand__panel img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-inout) calc(var(--d, 0ms) + 150ms);
}

html.motion .brand[data-reveal].is-in .brand__panel img {
  clip-path: inset(0);
}

.brand__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--rule-soft);
}

.brand__idx {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.brand__name {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand__tag {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand--soon .brand__panel {
  background-color: var(--logo-bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(15, 15, 15, 0.07) 11px 12px);
}

.brand--soon .brand__name {
  color: var(--muted);
}

.brand__plus {
  position: relative;
  width: 72px;
  height: 72px;
  background: var(--logo-bg);
  border: 1px dashed var(--ink);
}

.brand__plus::before,
.brand__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transition: transform 0.6s var(--ease-inout) calc(var(--d, 0ms) + 300ms);
}

.brand__plus::before {
  width: 28px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.brand__plus::after {
  width: 1px;
  height: 28px;
  transform: translate(-50%, -50%);
}

html.motion .brand--soon[data-reveal] .brand__plus::before {
  transform: translate(-50%, -50%) scaleX(0);
}

html.motion .brand--soon[data-reveal] .brand__plus::after {
  transform: translate(-50%, -50%) scaleY(0);
}

html.motion .brand--soon[data-reveal].is-in .brand__plus::before,
html.motion .brand--soon[data-reveal].is-in .brand__plus::after {
  transform: translate(-50%, -50%);
}

/* ---------- 05 Contato ---------- */

.contact {
  padding-block: clamp(96px, 12vw, 176px);
  background: var(--navy);
  color: #fff;
}

.contact__title {
  font-size: var(--fs-h2-xl);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.contact .lead {
  max-width: 46ch;
}

.mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 56px;
}

.mail {
  min-width: 0;
  font-size: var(--fs-mail);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}

.mail:hover,
.mail:focus-visible {
  background-size: 100% 2px;
}

.btn--copy {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

[data-copy] .icon--check,
[data-copy].is-copied .icon--copy {
  display: none;
}

[data-copy].is-copied .icon--check {
  display: block;
}

.audience {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
}

.audience__rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--on-dark-rule);
}

.audience__cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 160px;
  padding: 28px;
  text-decoration: none;
  transition: background-color 0.25s;
}

.audience__cell + .audience__cell {
  border-left: 1px solid var(--on-dark-rule);
}

html.motion .audience__cell[data-reveal] {
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.7s var(--ease-out) var(--d, 0ms), background-color 0.25s;
}

.audience__cell:hover {
  background: rgba(255, 255, 255, 0.06);
}

.audience__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audience__top .label {
  color: var(--on-dark-muted);
}

.audience__top .icon {
  margin-left: auto;
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease-out);
}

.audience__cell:hover .icon,
.audience__cell:focus-visible .icon {
  transform: translateX(6px);
}

.audience__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact__places {
  margin-top: 48px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding-block: 80px 32px;
  background: #fff;
}

.footer-frame {
  position: relative;
  column-gap: 0;
}

.footer-frame__edge {
  position: absolute;
  background: var(--ink);
}

.footer-frame__edge--t,
.footer-frame__edge--b {
  left: 0;
  right: 0;
  height: 1px;
}

.footer-frame__edge--t { top: 0; }
.footer-frame__edge--b { bottom: 0; }

.footer-frame__edge--l,
.footer-frame__edge--r {
  top: 0;
  bottom: 0;
  width: 1px;
}

.footer-frame__edge--l { left: 0; }
.footer-frame__edge--r { right: 0; }

.footer-cell {
  padding: 32px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-cell + .footer-cell {
  border-left: 1px solid var(--ink);
}

.footer-cell--brand { grid-column: 1 / span 4; }
.footer-cell--nav { grid-column: 5 / span 2; }
.footer-cell--brands { grid-column: 7 / span 3; }
.footer-cell--contact { grid-column: 10 / span 3; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.footer-logo img {
  width: 56px;
  height: 56px;
}

.footer-cell--brand p + p {
  margin-top: 8px;
}

.footer-heading {
  margin-bottom: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-heading--spaced {
  margin-top: 24px;
}

.footer-links a,
.footer-links--plain li,
.footer-mail {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links li {
  display: block;
}

.footer-lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.footer-lang__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer-lang__item.is-current {
  text-decoration: underline;
}

a.footer-lang__item:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.back-top:hover span,
.back-top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Barra de contato (celular) ---------- */

.contact-bar {
  display: none;
}

/* ---------- 404 ---------- */

.nf {
  padding-block: calc(var(--masthead-h) + 96px) 120px;
}

.nf__code {
  font-family: var(--font-num);
  font-size: clamp(96px, 14vw, 160px);
  font-weight: 600;
  line-height: 0.85;
  color: var(--navy);
}

.nf h1 {
  margin-top: 24px;
}

.nf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.nf__other {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.nf__other h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.15;
}

.nf__other p {
  margin-top: 8px;
}

.footer-mini {
  padding-block: 24px 40px;
  border-top: 1px solid var(--ink);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Até 1199px ---------- */

@media (max-width: 1199px) {
  .nav ul {
    gap: 20px;
  }
}

/* ---------- Tablet e celular (abaixo de 1024px) ---------- */

@media (max-width: 1023px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .site-header__row {
    grid-template-columns: auto 1fr;
  }

  .site-header__actions {
    justify-self: end;
  }

  .sec-head__eyebrow {
    grid-column: 1 / -1;
  }

  .sec-head__main {
    grid-column: 1 / -1;
  }

  .about {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about__media {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  .about__panel {
    padding: 72px var(--gutter);
  }

  .ledger-box {
    max-width: none;
  }

  .route,
  .route-link {
    stroke-width: 2;
  }

  .map-legend {
    position: static;
    padding: 16px 0 0;
    background: none;
    border: 0;
  }

  .map-legend ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .diff__list {
    grid-column: 1 / -1;
  }

  .diff__aside {
    display: none;
  }

  .diff__item {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    min-height: 0;
    padding: 32px 0;
  }

  .diff__item::before {
    display: none;
  }

  .diff__inline {
    display: block;
    grid-column: 1 / -1;
    margin-bottom: 24px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sand);
    border: 1px solid var(--ink);
  }

  .diff__inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
    filter: saturate(0.9) contrast(1.04);
  }

  .diff__num {
    font-size: 48px;
  }

  .brands {
    --cols: 2;
  }

  .footer-cell--brand,
  .footer-cell--contact {
    grid-column: 1 / -1;
  }

  .footer-cell--nav {
    grid-column: 1 / span 6;
  }

  .footer-cell--brands {
    grid-column: 7 / span 6;
  }

  .footer-cell + .footer-cell {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .footer-cell--brands {
    border-left: 1px solid var(--ink);
  }

  .map-label--fl .map-label__leader {
    height: 12px;
  }
}

/* ---------- Celular (abaixo de 768px) ---------- */

@media (max-width: 767px) {
  .btn--header {
    display: none;
  }

  .site-header__row {
    column-gap: 12px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .lang-switch--header .lang-switch__item {
    min-width: 44px;
    padding: 0 10px;
  }

  .hero {
    min-height: max(600px, 100vh);
    min-height: max(600px, 100svh);
  }

  .hero__poster,
  .hero__video {
    object-position: 50% 50%;
  }

  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(15, 20, 30, 0.5) 0, rgba(15, 20, 30, 0) 160px),
      linear-gradient(0deg, rgba(15, 20, 30, 0.85) 0%, rgba(15, 20, 30, 0.55) 50%, rgba(15, 20, 30, 0.35) 100%);
  }

  .hero__grid span:nth-child(2),
  .hero__grid span:nth-child(3) {
    display: none;
  }

  .hero__content {
    padding-top: calc(80px + var(--suggest-h, 0px) + 88px);
  }

  .hero__eyebrow {
    font-size: 12px;
  }

  .hero__title {
    font-size: clamp(40px, 11vw, 48px);
  }

  .hero__sub {
    font-size: 17px;
  }

  .hero__actions {
    margin-top: 32px;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    letter-spacing: 0.04em;
  }

  .video-toggle {
    top: calc(80px + var(--suggest-h, 0px) + 16px);
  }

  .hero__strip {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding-bottom: 16px;
  }

  .hero__strip::before {
    background: rgba(255, 255, 255, 0.28);
  }

  .hero__strip li {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    min-height: 40px;
    padding-block: 10px;
  }

  .hero__strip li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .hero__strip strong {
    font-size: 16px;
  }

  .hero__strip li > span:last-child {
    grid-column: 3;
    justify-self: end;
    text-align: right;
    font-size: 13px;
  }

  .ledger-box {
    padding: 24px;
  }

  .about__title {
    font-size: 34px;
  }

  .about .lead {
    font-size: 18px;
  }

  .corridor-map {
    margin-inline: calc(-1 * var(--gutter));
  }

  .corridor-map__canvas {
    border-width: 1px 0;
  }

  .corridor-map .map-legend {
    margin-inline: var(--gutter);
  }

  .route,
  .route-link {
    stroke-width: 3.2;
  }

  .node-ring {
    stroke-width: 3;
  }

  .map-label__place,
  .map-label__sub {
    display: none;
  }

  .map-label__leader {
    display: none;
  }

  .map-label__box {
    padding: 2px 6px;
    background: #fff;
    color: var(--navy);
    border: 0;
  }

  .map-label__code {
    font-size: 11px;
  }

  .map-label--cn { transform: translate(calc(-100% - 8px), -50%); }
  .map-label--fl { transform: translate(-50%, calc(-100% - 8px)); }
  .map-label--sp { transform: translate(8px, -50%); }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow__step {
    min-height: 150px;
  }

  .flow__step + .flow__step {
    border-left: 0;
    border-top: 1px solid var(--on-dark-rule);
  }

  .flow__connector {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  html.motion .flow__step--swg[data-reveal] {
    clip-path: inset(0 0 100% 0);
  }

  html.motion .flow__step--swg[data-reveal].is-in {
    clip-path: inset(-40px 0 0 0);
  }

  .mail-row .btn--copy {
    width: 100%;
    min-height: 48px;
  }

  .audience {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .audience__cell {
    min-height: 112px;
    padding: 24px 0;
  }

  .audience__cell + .audience__cell {
    border-left: 0;
    border-top: 1px solid var(--on-dark-rule);
  }

  .contact {
    padding-block: 96px;
  }

  .site-footer {
    padding-block: 48px 96px;
  }

  .footer-cell,
  .footer-cell--nav,
  .footer-cell--brands,
  .footer-cell--contact {
    grid-column: 1 / -1;
    padding: 24px;
  }

  .footer-cell--brands {
    border-left: 0;
  }

  .footer-lang {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--ink);
  }

  .footer-lang > span[aria-hidden] {
    display: none;
  }

  .footer-lang__item {
    justify-content: center;
    min-height: 48px;
    text-decoration: none;
  }

  .footer-lang__item + span + .footer-lang__item {
    border-left: 1px solid var(--ink);
  }

  .footer-lang__item.is-current {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
  }

  .nf__actions .btn {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding-block: 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--ink);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }

  .contact-bar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.3s var(--ease-out), visibility 0s;
  }

  .contact-bar__row {
    display: flex;
    gap: 8px;
  }

  .contact-bar__mail {
    flex: 1;
    min-height: 48px;
  }

  .contact-bar__copy {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ink);
  }

  .lang-suggest__row {
    padding-block: 10px 4px;
  }
}

@media (max-width: 519px) {
  .logo__word {
    display: none;
  }
}

@media (max-width: 479px) {
  .locations__row {
    grid-template-columns: 1fr;
  }

  .locations dd {
    text-align: left;
  }
}

@media (max-width: 359px) {
  .hero__actions {
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 339px) {
  .brands {
    --cols: 1;
  }
}

/* ---------- Ajustes do hero por tamanho de tela ---------- */

@media (min-width: 768px) {
  .hero__strip li {
    padding-left: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__title {
    font-size: clamp(60px, 8.4vw, 72px);
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .hero__title { margin-top: 16px; }
  .hero__sub { margin-top: 16px; }
  .hero__actions { margin-top: 28px; }
  .hero__strip { margin-top: 32px; }
}

/* ---------- Sem JavaScript ---------- */

html:not(.js) .menu-btn,
html:not(.js) .video-toggle,
html:not(.js) [data-copy] {
  display: none;
}

html:not(.js) .masthead {
  position: absolute;
}

@media (max-width: 1023px) {
  html:not(.js) .site-header__row {
    height: auto;
    padding-block: 12px;
    row-gap: 4px;
  }

  html:not(.js) .nav {
    display: block;
    grid-column: 1 / -1;
    justify-self: start;
  }

  html:not(.js) .nav ul {
    flex-wrap: wrap;
    gap: 0 20px;
  }
}

/* ---------- Reduzir movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* ---------- Impressão ---------- */

@media print {
  .masthead,
  .menu,
  .hero__media,
  .hero__grid,
  .video-toggle,
  .contact-bar,
  .lang-suggest,
  .skip-link,
  .node-ping,
  .diff__aside,
  .corridor-map__dots,
  .btn--copy {
    display: none !important;
  }

  .hero,
  .how,
  .contact {
    min-height: 0;
    background: #fff !important;
  }

  .on-dark,
  .on-dark *,
  .hero,
  .hero * {
    color: var(--ink) !important;
    border-color: var(--ink) !important;
    text-shadow: none !important;
  }

  .route,
  .route-link,
  .node-ring {
    stroke: var(--ink) !important;
  }

  .node-base {
    fill: var(--ink) !important;
  }

  .diff__inline {
    display: block !important;
  }

  [data-reveal],
  [data-rule],
  [data-mask],
  [data-hero],
  [data-reveal-lines] .line > span,
  .map-label,
  .corridor-map__dots,
  .route-link,
  .map-legend {
    opacity: 1 !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }

  [data-reveal],
  [data-rule],
  [data-mask],
  [data-hero],
  [data-mask] img,
  .line > span,
  .node-ring,
  .node-base {
    transform: none !important;
  }

  .route {
    stroke-dashoffset: 0 !important;
  }
}
