/* =========================================================
   Rodo Rio — Home v2 · "cadeia de custódia", em movimento
   ========================================================= */
:root {
  --ink: #0a1412;
  --ink-2: #101d1a;
  --ink-3: #172925;
  --text: #eef0ea;
  --muted: #9aa7a2;
  --dim: #66746f;
  --line: rgba(238, 240, 234, 0.1);
  --line-2: rgba(238, 240, 234, 0.18);

  --paper: #f3f2ec;
  --paper-2: #e9e8df;
  --paper-ink: #0f1a17;
  --paper-muted: #5b6662;
  --paper-line: rgba(15, 26, 23, 0.12);

  --teal: #038c7f;
  --teal-hi: #4fd1b3;
  --teal-deep: #02695f;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(104px, 13vw, 200px);
  --header-h: 72px;
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-hi); color: var(--ink); }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--muted); }
.paper .muted { color: var(--paper-muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-hi); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.ink { background: var(--ink); color: var(--text); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .lede { color: var(--paper-muted); }
.paper :focus-visible { outline-color: var(--teal); }

.h2 {
  font-size: clamp(36px, 5vw, 80px); line-height: 0.98; letter-spacing: -0.04em;
  font-weight: 600; font-variation-settings: "wdth" 112;
}
.ln { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted); max-width: 50ch; text-wrap: pretty; }
.code { display: inline-flex; gap: 12px; align-items: baseline; color: var(--muted); }
.code b { font-weight: 500; color: var(--teal-hi); }
.paper .code { color: var(--paper-muted); }
.paper .code b { color: var(--teal); }

.sec-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 104px); }
.sec-head .lede { margin-top: 4px; }
.sec-head--row { grid-template-columns: 3fr 9fr; align-items: start; }
.sec-head--row > .code { padding-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform 160ms var(--ease-out), color 250ms ease, border-color 250ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { /* fill that rises from the bottom on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--text)); transform: translateY(101%);
  transition: transform 450ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--teal { background: var(--teal); color: #fff; --fill: var(--teal-hi); }
.btn--glass { color: var(--text); border: 1px solid rgba(238,240,234,0.35); background: rgba(10,20,18,0.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); --fill: var(--text); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn--teal:hover { color: var(--ink); }
  .btn--glass:hover { color: var(--ink); border-color: var(--text); }
  .btn:hover .i { transform: translateX(3px); }
}

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--teal-hi); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color 300ms ease, border-color 300ms ease, transform 450ms var(--ease-drawer), color 300ms ease;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(10,20,18,0.72); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; }
.brand img { grid-area: 1 / 1; height: 28px; width: auto; transition: opacity 250ms ease; }
.brand__ink { opacity: 0; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: rgba(238,240,234,0.72); transition: color 200ms ease, background-color 200ms ease; }
.nav a[aria-current="true"] { color: var(--text); background: rgba(238,240,234,0.08); }
.header__cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; transition: border-color 300ms ease; }
.menu-btn__bars { display: grid; gap: 5px; width: 16px; }
.menu-btn__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.header.is-solid.on-paper { background: rgba(243,242,236,0.8); border-color: var(--paper-line); color: var(--paper-ink); }
.header.on-paper .brand__light { opacity: 0; }
.header.on-paper .brand__ink { opacity: 1; }
.header.on-paper .nav a { color: var(--paper-muted); }
.header.on-paper .nav a[aria-current="true"] { color: var(--paper-ink); background: rgba(15,26,23,0.06); }
.header.on-paper .menu-btn { border-color: var(--paper-line); }
body.menu-open .header { background: transparent !important; border-color: transparent !important; color: var(--text) !important; }
body.menu-open .header .brand__light { opacity: 1; }
body.menu-open .header .brand__ink { opacity: 0; }
body.menu-open .header .menu-btn { border-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text); }
  .header.on-paper .nav a:hover { color: var(--paper-ink); }
}

.drawer {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 600ms var(--ease-in-out), visibility 0s linear 600ms;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 600ms var(--ease-in-out), visibility 0s; }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 30px; letter-spacing: -0.03em; font-variation-settings: "wdth" 110; font-weight: 500; opacity: 0; transform: translateY(16px); transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; transition-delay: calc(200ms + var(--i, 0) * 45ms); }
.drawer__nav .mono { color: var(--teal-hi); }
.drawer__foot { display: grid; gap: 14px; }
.drawer__foot p { color: var(--muted); text-align: center; }

/* =========================================================
   HERO — full-bleed video that settles into a frame on scroll
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--text); overflow: clip; }
.hero__stage { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: clip-path; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,20,18,0.55) 0%, rgba(10,20,18,0) 26%),
    linear-gradient(0deg, rgba(10,20,18,0.92) 0%, rgba(10,20,18,0.55) 34%, rgba(10,20,18,0) 62%),
    linear-gradient(90deg, rgba(10,20,18,0.45) 0%, rgba(10,20,18,0) 55%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(96px, 13vh, 136px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: rgba(238,240,234,0.8); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 0 4px rgba(79,209,179,0.18); }
.hero__title {
  margin: 22px 0 0; font-size: clamp(46px, min(7vw, 12.5vh), 132px); line-height: 0.92; letter-spacing: -0.05em;
  font-weight: 600; font-variation-settings: "wdth" 114;
}
/* wide screens: exactly three lines, "que não pode falhar." kept together */
@media (min-width: 861px) { .hero__title .ln > span { white-space: nowrap; } }
.hero__title em { font-style: normal; color: var(--teal-hi); }
.hero__foot { margin-top: clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero__seals { margin-top: clamp(20px, 2.6vh, 32px); padding-top: clamp(16px, 2.2vh, 24px); border-top: 1px solid rgba(238,240,234,0.18); display: flex; align-items: center; gap: 20px; }
.hero__seals p { color: rgba(238,240,234,0.72); font-size: 10.5px; line-height: 1.35; flex: none; }
.hero__seals ul { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__seals li { height: 50px; width: 92px; display: grid; place-items: center; padding: 5px 8px; border-radius: 10px; background: rgba(255,255,255,0.94); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); }
.hero__seals img { max-height: 100%; width: auto; }
.hero__lede { max-width: 46ch; color: rgba(238,240,234,0.82); font-size: clamp(16px, 1.25vw, 19px); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 20px; }
.chapter { display: flex; align-items: baseline; gap: 14px; min-width: 220px; }
.chapter__n { color: var(--teal-hi); }
.chapter__name { font-size: 14px; color: rgba(238,240,234,0.86); }
.chapter__track { flex: 1; height: 1px; background: rgba(238,240,234,0.2); position: relative; overflow: hidden; }
.chapter__track i { position: absolute; inset: 0; background: rgba(238,240,234,0.85); transform-origin: left; transform: scaleX(0); }
.vbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238,240,234,0.35); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.vbtn:active { transform: scale(0.94); }
.vbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; }
.vbtn .vbtn__play { fill: currentColor; stroke: none; display: none; }
.vbtn.is-paused .vbtn__play { display: block; }
.vbtn.is-paused .vbtn__pause { display: none; }
@media (hover: hover) and (pointer: fine) { .vbtn:hover { background: rgba(238,240,234,0.12); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(22px, 3vw, 40px) 0; background: var(--ink); border-bottom: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; align-items: center; gap: clamp(20px, 2.4vw, 40px); padding-right: clamp(20px, 2.4vw, 40px); will-change: transform; }
.marquee__row span { font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; font-variation-settings: "wdth" 118; white-space: nowrap; }
.marquee__row span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(238,240,234,0.55); }
.marquee__row b { color: var(--teal-hi); font-size: clamp(22px, 2.6vw, 40px); font-weight: 400; }

/* ---------- Statement ---------- */
.intro { padding: var(--sec) 0; }
.statement {
  margin-top: 32px; font-size: clamp(32px, 4.6vw, 76px); line-height: 1.06; letter-spacing: -0.04em;
  font-weight: 500; font-variation-settings: "wdth" 108; max-width: 18.5em;
}
.statement mark { background: none; color: var(--teal); }
.statement .w { display: inline; }
.pill {
  display: inline-block; vertical-align: middle; position: relative; top: -0.06em;
  width: 2.1em; height: 0.86em; border-radius: 999px; overflow: hidden; margin: 0 0.08em;
  background: var(--paper-2);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 9vw, 136px); border-top: 1px solid var(--paper-line); }
.facts > div { padding: 24px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.facts dt { color: var(--paper-muted); }
.facts dd { margin: 18px 0 10px; font-size: clamp(38px, 3.8vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variation-settings: "wdth" 115; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: 0.5em; color: var(--teal); margin-left: 2px; }
.facts p { color: var(--paper-muted); font-size: 15px; max-width: 26ch; }
.seals { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: center; }
.seals__label { color: var(--paper-muted); }
.seals__row { display: flex; flex-wrap: wrap; gap: 10px; }
.seals__row li { flex: 1 1 110px; display: grid; place-items: center; height: 84px; border-radius: 12px; background: #fff; border: 1px solid var(--paper-line); }
.seals__row img { height: 56px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.78; transition: filter 300ms ease, opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) { .seals__row li:hover img { filter: none; opacity: 1; } }

/* ---------- Modalidades ---------- */
.modes { position: relative; padding: var(--sec) 0; }
.modes .h2 { max-width: 15em; }
.modes__list { border-top: 1px solid var(--line-2); }
.mode {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr) 190px; gap: 24px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line-2); cursor: default;
}
.mode__num { color: var(--dim); padding-top: 14px; transition: color 300ms ease; }
.mode__thumb { display: none; }
.mode__name { font-size: clamp(28px, 3.2vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "wdth" 112; transition: transform 500ms var(--ease-out), color 300ms ease; text-wrap: balance; }
.mode__desc { color: var(--muted); transition: color 300ms ease; }
.chips { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chips li { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 10.5px; white-space: nowrap; }
.modes__list.is-hovering .mode:not(.is-active) .mode__name { color: var(--dim); }
.mode.is-active .mode__name { transform: translateX(14px); }
.mode.is-active .mode__num { color: var(--teal-hi); }
.mode.is-active .mode__desc { color: var(--text); }

.follow { position: fixed; left: 0; top: 0; z-index: 20; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; }
.follow__in { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; transform: scale(0.9); transition: transform 500ms var(--ease-out); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7); }
.follow.is-on .follow__in { transform: none; }
.follow img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cargo: sticky story ---------- */
.cargo { padding: var(--sec) 0; }
.cargo__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cargo__media { position: sticky; top: calc(var(--header-h) + 32px); }
.cargo__frame { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.cargo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 900ms var(--ease-in-out), transform 1400ms var(--ease-out); }
.cargo__frame img.is-on { clip-path: inset(0 0 0 0); transform: none; }
.cargo__frame img.is-under { clip-path: inset(0 0 0 0); transform: none; transition: none; }
.cargo__count { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(10,20,18,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cargo__list { display: grid; gap: clamp(96px, 16vh, 180px); padding: 6vh 0 18vh; }
.cat { transition: opacity 500ms ease; }
.cargo__list.is-ready .cat:not(.is-on) { opacity: 0.28; }
.cat__thumb { display: none; }
.cat__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--paper-line); color: var(--paper-muted); font-size: 11px; }
.cat h3 { margin-top: 24px; font-size: clamp(30px, 3.2vw, 50px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "wdth" 112; text-wrap: balance; }
.cat__title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cat > p, .cat__title + p { margin-top: 18px; color: var(--paper-muted); max-width: 48ch; }
.cat__items { margin-top: 28px; counter-reset: it; }
.cat__items li { counter-increment: it; display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--paper-line); font-weight: 500; }
.cat__items li::before { content: counter(it, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--teal); }
.un { flex: none; margin-top: 22px; width: 66px; height: 66px; display: grid; place-items: center; }
.un span { width: 46px; height: 46px; display: grid; place-items: center; transform: rotate(45deg); border: 2px solid var(--paper-ink); font-size: 0; }
.un span::after { content: "UN3373"; transform: rotate(-45deg); font-family: var(--mono); font-size: 9px; font-weight: 500; }

/* ---------- Custódia ---------- */
.custody { padding: var(--sec) 0; }
.custody__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.custody__media { position: sticky; top: calc(var(--header-h) + 32px); }
.screen { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 700ms ease, transform 1200ms var(--ease-out); }
.screen video.is-on { opacity: 1; transform: none; }
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,18,0.85) 0%, rgba(10,20,18,0) 45%); pointer-events: none; }
.screen__hud { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.screen__hud .mono { display: inline-flex; align-items: center; gap: 8px; color: rgba(238,240,234,0.8); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-hi); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.3; } }
.screen__stage { margin-top: 6px; font-size: clamp(28px, 3vw, 46px); font-weight: 600; letter-spacing: -0.04em; font-variation-settings: "wdth" 114; line-height: 1.05; }
.screen__steps { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.screen__steps li { height: 3px; border-radius: 3px; background: rgba(238,240,234,0.22); transition: background-color 400ms ease; }
.screen__steps li.is-on { background: var(--teal-hi); }

.rail { position: relative; padding: 4vh 0 10vh 52px; }
.rail__line { position: absolute; left: 11px; top: calc(4vh + 14px); bottom: calc(10vh + 14px); width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rail__line i { position: absolute; inset: 0; background: var(--teal-hi); transform-origin: top; transform: scaleY(0); }
.stop { position: relative; padding-bottom: clamp(96px, 22vh, 220px); }
.stop:last-child { padding-bottom: 0; }
.stop__node { position: absolute; left: -52px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line-2); transition: border-color 300ms ease; }
.stop__node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--teal-hi); transform: scale(0.4); opacity: 0; transition: transform 400ms var(--ease-out), opacity 300ms ease; }
.stop.is-on .stop__node { border-color: var(--teal-hi); }
.stop.is-on .stop__node::after { opacity: 1; transform: none; }
.stop__k { color: var(--dim); transition: color 300ms ease; }
.stop.is-on .stop__k { color: var(--teal-hi); }
.stop h3 { margin-top: 14px; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; font-variation-settings: "wdth" 110; color: var(--dim); transition: color 400ms ease; text-wrap: balance; }
.stop p:last-child { margin-top: 14px; color: var(--dim); max-width: 44ch; transition: color 400ms ease; }
.stop.is-on h3 { color: var(--text); }
.stop.is-on p:last-child { color: var(--muted); }

/* ---------- Diferenciais: horizontal ---------- */
.why { position: relative; }
.why__pin { height: 100svh; display: flex; align-items: center; overflow: hidden; }
.why__track { display: flex; gap: 20px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); will-change: transform; }
.why__intro { flex: 0 0 clamp(320px, 34vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: 40px; }
.why__hint { display: inline-flex; align-items: center; gap: 12px; color: var(--paper-muted); }
.why__hint i { width: 48px; height: 1px; background: currentColor; }
.wcard {
  flex: 0 0 clamp(300px, 28vw, 420px); height: min(62vh, 560px); border-radius: var(--r); padding: 32px;
  background: #fff; border: 1px solid var(--paper-line); display: flex; flex-direction: column; justify-content: space-between;
}
.wcard__n { display: block; font-size: clamp(64px, 7vw, 120px); line-height: 0.8; font-weight: 700; letter-spacing: -0.06em; font-variation-settings: "wdth" 120; color: var(--paper-2); -webkit-text-stroke: 1px var(--paper-line); }
.wcard h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; font-variation-settings: "wdth" 108; }
.wcard p { margin-top: 12px; color: var(--paper-muted); font-size: 16px; }
.wcard--img { padding: 0; overflow: hidden; flex-basis: clamp(320px, 32vw, 480px); }
.wcard--img img { width: 100%; height: 48%; object-fit: cover; }
.wcard--img > div { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.wcard--img .wcard__n { font-size: clamp(40px, 4vw, 64px); }
.wcard--teal { background: var(--teal); color: #fff; border-color: transparent; }
.wcard--teal p { color: rgba(255,255,255,0.82); }
.wcard--teal .wcard__n { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.5); }
.wcard--ink { background: var(--paper-ink); color: var(--text); border-color: transparent; }
.wcard--ink p { color: var(--muted); }
.wcard--ink .wcard__n { color: transparent; -webkit-text-stroke: 1px var(--line-2); }

/* no-scrub fallback: the track scrolls natively */
.why--static .why__pin { height: auto; padding: var(--sec) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.why--static .wcard, .why--static .why__intro { scroll-snap-align: start; }

/* ---------- Sobre ---------- */
.about { padding: var(--sec) 0; overflow: clip; }
.about__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.about__year { display: flex; align-items: flex-start; gap: 0.12em; font-size: clamp(96px, 17vw, 280px); line-height: 0.78; letter-spacing: -0.065em; font-weight: 700; font-variation-settings: "wdth" 122; font-variant-numeric: tabular-nums; }
.about__year .mono { color: var(--teal-hi); margin-top: 1.2em; letter-spacing: 0.02em; font-size: 12px; font-weight: 400; }
.collage { position: relative; margin-top: clamp(40px, 5vw, 72px); height: clamp(420px, 52vw, 760px); }
.collage figure { position: absolute; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { left: 0; top: 0; width: 66%; height: 78%; }
.collage__b { right: 4%; top: 12%; width: 22%; aspect-ratio: 3 / 4.2; }
.collage__c { right: 18%; bottom: 0; width: 30%; aspect-ratio: 16 / 10; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7); }
.about__grid { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.about__text { grid-column: 1 / span 5; }
.about__text .h2 { font-size: clamp(34px, 3.7vw, 58px); }
.about__text p { margin-top: 28px; color: var(--muted); max-width: 46ch; }
.quote { grid-column: 7 / span 6; padding-top: 8px; }
.quote p { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.38; letter-spacing: -0.015em; }
.quote em { font-style: normal; color: var(--teal-hi); }
.quote footer { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.quote footer .mono { color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { padding: var(--sec) 0; overflow: clip; }
.reviews__head { display: grid; grid-template-columns: 3fr 9fr; gap: 24px 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.reviews__head .code { padding-top: 1em; }
.reviews__head .h2 { grid-column: 2; }
.reviews__meta { grid-column: 2; color: var(--paper-muted); }
.rv-rows { display: grid; gap: 16px; }
.rv-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.rv { flex: 0 0 auto; width: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--paper-line); transition: transform 300ms var(--ease-out), border-color 300ms ease; }
.rv blockquote { margin: 0; font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.rv blockquote::before { content: "“"; display: block; font-size: 44px; line-height: 0.6; height: 22px; color: var(--teal); font-weight: 600; }
.rv figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--paper-line); }
.rv figcaption .mono { color: var(--paper-muted); font-size: 10.5px; }
@media (hover: hover) and (pointer: fine) { .rv:hover { transform: translateY(-4px); border-color: rgba(3,140,127,0.4); } }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: var(--sec) 0 clamp(64px, 8vw, 120px); overflow: clip; }
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,18,0.95) 0%, rgba(10,20,18,0.5) 45%, rgba(10,20,18,0.2) 100%); }
.cta__in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta__title { font-size: clamp(44px, 7vw, 120px); line-height: 0.94; letter-spacing: -0.05em; font-weight: 600; font-variation-settings: "wdth" 114; }
.cta__title em { font-style: normal; color: var(--teal-hi); }

/* ---------- Contato ---------- */
.contact { padding: var(--sec) 0; }
.contact__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info .h2 { margin-top: 24px; }
.channels { margin-top: 48px; border-top: 1px solid var(--line-2); }
.channels li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.channels .mono { color: var(--dim); }
.channels a, .channels li > span:last-child { font-size: 19px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.channels a { justify-self: start; background: linear-gradient(var(--teal-hi), var(--teal-hi)) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .channels a:hover { background-size: 100% 1px; } }
.form { padding: clamp(24px, 3vw, 44px); border-radius: 24px; background: var(--paper); color: var(--paper-ink); display: grid; gap: 14px; }
.form__title { font-size: 30px; font-weight: 600; letter-spacing: -0.035em; font-variation-settings: "wdth" 110; }
.form__sub { color: var(--paper-muted); margin-bottom: 8px; }
.field { position: relative; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper-ink); background: #fff;
  border: 1px solid var(--paper-line); border-radius: 12px; padding: 24px 14px 10px; resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field label { position: absolute; left: 15px; top: 17px; color: var(--paper-muted); pointer-events: none; transform-origin: left top; transition: transform 250ms var(--ease-out), color 200ms ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(0.72); color: var(--teal); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(3,140,127,0.15); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { color: var(--paper-muted); margin-bottom: 10px; font-size: 11px; }
.types label { cursor: pointer; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--paper-line); background: #fff; font-size: 14px; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.types label:active span { transform: scale(0.96); }
.types input:checked + span { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.types input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form__err { color: #b3361f; font-size: 11px; }
.form__err:empty { display: none; }
.form__note { color: var(--paper-muted); font-size: 10.5px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; }
.faq__head .lede a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.acc { border-top: 1px solid var(--paper-line); }
.acc__item { border-bottom: 1px solid var(--paper-line); }
.acc button { width: 100%; display: flex; align-items: center; gap: 20px; text-align: left; padding: 26px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.015em; }
.acc__n { color: var(--teal); flex: none; width: 28px; }
.acc__ic { position: relative; flex: none; margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--paper-line); transition: background-color 250ms ease, border-color 250ms ease, transform 400ms var(--ease-out); }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; border-radius: 2px; }
.acc__ic::after { transform: rotate(90deg); transition: transform 300ms var(--ease-out); }
.acc button[aria-expanded="true"] .acc__ic { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); transform: rotate(180deg); }
.acc button[aria-expanded="true"] .acc__ic::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 56px 28px 48px; color: var(--paper-muted); max-width: 66ch; opacity: 0; transform: translateY(-6px); transition: opacity 250ms ease, transform 400ms var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel p { opacity: 1; transform: none; transition-delay: 80ms; }
@media (hover: hover) and (pointer: fine) { .acc button:hover .acc__ic { border-color: var(--paper-ink); } }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) 0 28px; overflow: clip; }
.footer__grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 24px; padding-bottom: 48px; }
.footer__lead { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 28px; font-variation-settings: "wdth" 108; }
.footer__grid > :not(:first-child) { display: grid; align-content: start; gap: 10px; }
.footer__grid .mono { color: var(--dim); margin-bottom: 6px; }
.footer__grid a, .footer__grid span { color: var(--muted); font-size: 15px; transition: color 200ms ease; overflow-wrap: anywhere; }
.footer__grid .btn, .footer__grid .btn span { color: #fff; }
@media (hover: hover) and (pointer: fine) { .footer__grid nav a:hover, .footer__grid div a:not(.btn):hover { color: var(--text); } }
.wordmark { display: flex; justify-content: space-between; font-size: clamp(48px, 13.6vw, 236px); line-height: 0.8; letter-spacing: -0.05em; font-weight: 800; font-variation-settings: "wdth" 125; margin: 0 -0.02em; padding-bottom: 0.06em; overflow: clip; }
.wordmark span { display: block; }
.wordmark .o { color: transparent; -webkit-text-stroke: 2px var(--teal-hi); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--dim); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; box-shadow: 0 12px 30px -8px rgba(3,140,127,0.6); opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; transition: opacity 250ms ease, transform 300ms var(--ease-out); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:active { transform: scale(0.95); }

/* =========================================================
   Initial states for choreographed entrances.
   Only when JS + GSAP are running and motion is allowed;
   .no-anim (set if the libraries never arrive) shows everything.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-anim) [data-split-lines] .ln > span { transform: translateY(110%); }
  .js:not(.no-anim) [data-intro],
  .js:not(.no-anim) [data-reveal],
  .js:not(.no-anim) [data-stagger] > * { opacity: 0; }
  .js:not(.no-anim) .wordmark span { transform: translateY(100%); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mode { grid-template-columns: 1fr; gap: 14px; }
  .mode__num { padding-top: 0; }
  .chips { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .mode__thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
  .mode:nth-child(1) .mode__thumb { object-position: 50% 62%; }
  .mode.is-active .mode__name { transform: none; }
  .follow { display: none; }
  .wcard { height: min(58vh, 520px); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__cta .btn { display: none; }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 24px); }
  .hero__content { position: relative; bottom: auto; padding-bottom: 88px; }
  .hero__title { font-size: clamp(42px, 11.8vw, 64px); }
  .hero__title .ln > span { text-wrap: balance; }
  .hero__seals { gap: 12px; flex-direction: column; align-items: flex-start; }
  .hero__seals p br { display: none; }
  .hero__seals ul { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .hero__seals li { flex: 1 1 0; width: auto; min-width: 0; height: 40px; padding: 4px 5px; border-radius: 8px; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .chapter { min-width: 0; }
  .chapter__name { font-size: 13px; }
  .hero__bar { bottom: 22px; gap: 14px; }
  .sec-head--row { grid-template-columns: 1fr; }
  .sec-head--row > .code { padding-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 24px 16px 28px 0; border-bottom: 1px solid var(--paper-line); }
  .facts > div + div { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--paper-line); }
  .facts dd { font-size: 38px; }
  .seals { grid-template-columns: 1fr; }
  .seals__row li { flex-basis: calc(33.333% - 7px); height: 72px; }
  .seals__row img { height: 44px; }
  .cargo__grid { grid-template-columns: 1fr; }
  .cargo__media { display: none; }
  .cargo__list { padding: 0; gap: 72px; }
  .cargo__list.is-ready .cat:not(.is-on) { opacity: 1; }
  .cat__thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 24px; }
  .custody__grid { grid-template-columns: 1fr; gap: 0; }
  .custody__media { top: calc(var(--header-h) + 8px); z-index: 3; margin: 0 calc(var(--gutter) * -0.5); }
  .screen { aspect-ratio: 16 / 10; border-radius: 16px; box-shadow: 0 24px 40px -20px rgba(0,0,0,0.8); }
  .screen__hud { left: 16px; right: 16px; bottom: 14px; }
  .screen__stage { font-size: 26px; }
  .rail { padding: 48px 0 8vh 44px; }
  .rail__line { left: 10px; top: 62px; bottom: calc(8vh + 14px); }
  .stop { padding-bottom: 38vh; }
  .stop__node { left: -44px; width: 22px; height: 22px; }
  .why__pin { height: auto; display: block; padding: var(--sec) 0; overflow: visible; }
  .why__track { flex-direction: column; padding: 0 var(--gutter); gap: 14px; }
  .why__intro { flex: none; padding: 0 0 24px; }
  .why__hint { display: none; }
  .wcard, .wcard--img { flex: none; height: auto; min-height: 260px; gap: 40px; }
  .wcard--img img { height: 220px; }
  .about__head { flex-direction: column; align-items: flex-start; gap: 32px; }
  .collage { height: 118vw; }
  .collage__a { width: 100%; height: 58%; }
  .collage__b { right: auto; left: 0; top: 62%; width: 44%; }
  .collage__c { right: 0; bottom: 4%; width: 52%; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__text, .quote { grid-column: 1; }
  .reviews__head { grid-template-columns: 1fr; }
  .reviews__head .h2, .reviews__meta { grid-column: 1; }
  .reviews__head .code { padding-top: 0; }
  .rv { width: 80vw; }
  .cta { min-height: 86svh; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .cta__title { font-size: clamp(42px, 11.4vw, 64px); }
  .contact__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .acc__panel p { padding: 0 0 26px 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero__ctas { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Reduced motion: fades only, no scrubbing, no loops
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .rec { animation: none; }
  .cargo__frame img, .screen video { transition: opacity 300ms ease; transform: none !important; }
  .cargo__frame img { clip-path: none; opacity: 0; }
  .cargo__frame img.is-on { opacity: 1; }
  .drawer, .drawer.is-open { transition: visibility 0s; }
  .drawer__nav a { opacity: 1; transform: none; transition: none; }
  .marquee__row { flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
  .rv-row { width: auto; overflow-x: auto; padding: 0 var(--gutter); }
}
