/* Ramac — site institucional
   Sistema: uma família tipográfica (Archivo, com eixo de largura), três raios, paleta azul da marca.
   Linguagem de forma: fundos que se encaixam em degraus arredondados (recortes com canto côncavo).
   Cada recorte é um bloco na cor do fundo vizinho + "filetes" (radial-gradient) que arredondam o encontro. */

:root {
  --ink: #0D1521;
  --ink-2: #16233A;
  --paper: #FFFFFF;
  --mist: #EDF1F6;
  --cell-light: #E8EDF4;
  --line: #DCE3EC;
  --line-strong: #C5CFDC;
  --steel: #4374AA;
  --steel-deep: #355E8C;
  --sky: #5296E2;
  --sky-soft: #6CA8EA;
  --text: #0D1521;
  --muted: #586477;
  --muted-dark: #98A6B9;

  --r-panel: 26px;
  --r-control: 12px;
  --r-pill: 999px;
  --r-shape: 34px; /* raio dos degraus entre fundos */

  --g: clamp(16px, 4.2vw, 56px);
  --W: min(1320px, 100% - 2 * var(--g)); /* largura do conteúdo, resolvida onde for usada */

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* camada de movimento (motion.js / barra flutuante) */
  --mb-surface: #FFFFFF;
  --mb-ink: #0D1521;
  --mb-muted: #586477;
  --mb-accent: #4374AA;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: clip; color: var(--text); background: var(--paper); font-family: var(--font); font-size: 17px; line-height: 1.55; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
::selection { color: #fff; background: var(--steel); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: var(--W); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: var(--r-control); color: #fff; background: var(--ink); translate: 0 -200%; transition: translate .2s var(--ease-out); }
.skip:focus { translate: 0 0; }

/* Tipografia -------------------------------------------------------------- */
.hero-title,
.h-section { font-weight: 800; text-transform: uppercase; text-wrap: balance; }
.hero-title { font-size: clamp(42px, 6.3vw + 8px, 112px); font-stretch: 112%; line-height: .94; letter-spacing: -.02em; }
.h-section { font-size: clamp(30px, 3.2vw + 6px, 52px); font-stretch: 108%; line-height: .96; letter-spacing: -.012em; }
h3 { font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: -.005em; }

/* Botões ------------------------------------------------------------------ */
.btn { display: inline-flex; height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r-control); font-size: 15px; font-weight: 620; letter-spacing: .01em; white-space: nowrap; cursor: pointer; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--steel); }
.btn-outline { height: 46px; padding: 0 22px; border-color: var(--steel); color: var(--steel); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-on-dark { border-color: rgba(255,255,255,.26); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; color: var(--sky); font-weight: 600; }
.link-arrow .icon { width: 30px; transition: translate .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--steel-deep); }
  .btn-outline:hover { color: #fff; background: var(--steel); }
  .btn-secondary:hover { border-color: var(--steel); color: var(--steel); }
  .btn-on-dark:hover { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.07); }
  .link-arrow:hover .icon { translate: 7px 0; }
}

/* Cabeçalho e hero ---------------------------------------------------------- */
.hero { position: relative; background: var(--paper); }
.site-header { position: relative; z-index: 6; display: grid; width: var(--W); height: 92px; margin-inline: auto; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand img { width: 132px; }
.nav-main { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav-main a, .header-phone { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.nav-main a { padding: 8px 0; }
.nav-main a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1.5px; background: var(--steel); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); content: ''; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 24px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; }
.header-phone .icon { width: 17px; height: 17px; color: var(--steel); }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-control); color: var(--text); background: #fff; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .nav-main a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.hero-head { padding-top: clamp(16px, 3.4vh, 48px); text-align: center; }
.hero-title { max-width: 14ch; margin-inline: auto; }
.hero-lede { max-width: 44ch; margin: clamp(18px, 2.6vh, 30px) auto 0; color: var(--muted); font-size: clamp(16px, 1.1vw + 3px, 19px); }

.hero-stage { --step-w: calc(max(var(--g), (100% - 1320px) / 2) + 784px); --lift: 96px; --r: var(--r-shape); position: relative; margin-top: clamp(26px, 4vh, 48px); padding-top: var(--lift); }
.hero-photo { position: relative; height: clamp(460px, 58vw, 940px); overflow: hidden; background: var(--mist); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Forma branca que avança sobre a foto e contorna o técnico */
.hero-step { position: absolute; z-index: 3; top: -1px; left: 0; width: var(--step-w); padding: 4px 44px 34px max(var(--g), calc((100% - 1320px) / 2)); background: var(--paper); border-bottom-right-radius: var(--r); }
.hero-step::after { position: absolute; top: var(--lift); left: 100%; width: var(--r); height: var(--r); background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .6px), var(--paper) var(--r)); content: ''; }

/* Início de orçamento (abas + campos) */
.quote { width: min(732px, 100%); }
.quote-tabs { position: relative; display: flex; width: max-content; gap: 30px; border-bottom: 1px solid var(--line); }
.quote-tabs button { padding: 0 0 14px; border: 0; color: #7A8596; background: none; font-size: 14.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .25s ease; }
.quote-tabs [aria-selected="true"] { color: var(--text); }
.quote-ink { position: absolute; bottom: -1.5px; left: 0; width: var(--ink-w, 168px); height: 3px; border-radius: 3px; background: var(--steel); transform: translateX(var(--ink-x, 0)); transition: transform 420ms var(--ease-out), width 420ms var(--ease-out); }
.quote-hint { margin: 18px 0 14px; color: var(--text); font-size: 16px; font-weight: 550; }
.quote-row { display: flex; align-items: stretch; gap: 14px; }
.quote-fields { display: grid; flex: 1; min-width: 0; grid-template-columns: 1fr 1fr; border: 1.5px solid #B9C6D6; border-radius: var(--r-control); background: #fff; box-shadow: 0 22px 44px -26px rgba(13,21,33,.45); transition: border-color .2s ease, box-shadow .2s ease; }
.quote-fields:focus-within { border-color: var(--steel); box-shadow: 0 0 0 4px rgba(67,116,170,.14), 0 22px 44px -26px rgba(13,21,33,.45); }
.qfield { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 13px 18px; cursor: text; }
.qfield + .qfield { border-left: 1px solid var(--line); }
.qfield .icon { width: 22px; height: 22px; color: var(--steel); }
.qfield-text { display: grid; min-width: 0; flex: 1; }
.qfield-label { color: var(--muted); font-size: 12.5px; font-weight: 550; letter-spacing: .02em; }
.qfield input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; font: inherit; font-size: 16.5px; text-overflow: ellipsis; }
.qfield input::placeholder { color: #7A8596; opacity: 1; }
.btn-quote { height: auto; min-height: 74px; padding: 0 30px; gap: 12px; font-size: 16.5px; box-shadow: 0 22px 44px -22px rgba(67,116,170,.75); }
.btn-quote .icon { width: 22px; transition: translate .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn-quote:hover .icon { translate: 5px 0; } }

/* Seção 2 — painel escuro --------------------------------------------------- */
.ramac { position: relative; z-index: 2; padding-top: clamp(72px, 9vw, 132px); }
.panel { --notch-w: calc(36% + 40px); --notch-h: 128px; --r: var(--r-shape); position: relative; display: grid; min-height: 560px; padding: clamp(28px, 3.6vw, 52px); padding-bottom: calc(var(--notch-h) + 34px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, .8fr); gap: clamp(24px, 3vw, 48px); color: #fff; background: var(--ink); border-radius: var(--r); isolation: isolate; }
.panel-clip { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.panel-gear { position: absolute; top: -170px; right: -150px; width: 440px; height: 440px; fill: rgba(255,255,255,.04); }
.panel-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.panel-copy p { max-width: 30ch; color: var(--muted-dark); }
.panel-copy .link-arrow { margin-top: 6px; }
.panel-photo { position: relative; margin: calc(-1 * clamp(28px, 3.6vw, 52px)) 0; margin-bottom: calc(-1 * (var(--notch-h) + 34px)); overflow: hidden; border-radius: 0; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.panel-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, transparent 22%, transparent 78%, var(--ink) 100%); pointer-events: none; content: ''; }
.stats { display: grid; align-content: start; }
.stat { padding: 16px 0 18px; border-top: 1px solid rgba(255,255,255,.14); }
.stat:first-child { padding-top: 0; border-top: 0; }
.stat dt { display: flex; align-items: baseline; gap: 8px; font-size: clamp(30px, 2.6vw, 42px); font-weight: 760; font-stretch: 108%; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.stat dt small { color: var(--sky); font-size: .46em; font-weight: 650; letter-spacing: .02em; }
.stat dd { margin-top: 8px; color: var(--muted-dark); font-size: 14px; line-height: 1.4; }
/* Recorte branco no canto inferior esquerdo do painel */
.panel-notch { position: absolute; z-index: 3; bottom: -1px; left: -1px; width: calc(var(--notch-w) + 1px); height: calc(var(--notch-h) + 1px); background: var(--paper); border-top-right-radius: var(--r); }
.panel-notch::before,
.panel-notch::after { position: absolute; width: var(--r); height: var(--r); background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - .6px), var(--paper) var(--r)); content: ''; }
.panel-notch::before { bottom: 100%; left: 0; }
.panel-notch::after { bottom: 0; }
.panel-notch::after { bottom: 0; left: 100%; }

/* Seção 2 — serviços -------------------------------------------------------- */
.servicos { display: grid; margin-top: 26px; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.servicos-copy { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: calc(-1 * (var(--notch-h, 128px) + 26px) + 44px); padding-right: 12px; }
.servicos-copy p { max-width: 34ch; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; min-height: 440px; flex-direction: column; padding: 26px 24px; overflow: hidden; border-radius: var(--r-panel); background: var(--mist); isolation: isolate; transition: opacity .35s ease; }
.card-copy { position: relative; z-index: 2; }
.card h3 { max-width: 14ch; font-size: 20px; }
.card p { max-width: 24ch; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card-go { position: absolute; z-index: 3; bottom: 18px; left: 18px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: var(--r-pill); color: var(--text); background: #fff; transition: color .25s ease, background-color .25s ease; }
.card-go .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.card-media { position: absolute; right: 0; bottom: 0; left: 0; height: 54%; mix-blend-mode: multiply; }
.card-media img { position: absolute; right: -14%; bottom: -6%; width: 106%; max-width: none; transition: transform .7s var(--ease-out); }
.card-media--eixo img { right: -12%; bottom: -2%; width: 104%; }
.card-media--tampas img { right: -8%; bottom: -6%; width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .cards:hover .card:not(:hover) { opacity: .6; }
  .card:hover .card-media img { transform: translateY(-10px) rotate(-1.5deg); }
  .card:hover .card-go { color: #fff; background: var(--steel); }
  .card:hover .card-go .icon { transform: translateX(3px); }
}

/* Seção 3 — estrutura (bento) ------------------------------------------------ */
.estrutura { --overlap: 116px; --nb-h: 128px; --r: var(--r-shape); position: relative; z-index: 1; margin-top: calc(-1 * var(--overlap)); }
.band { position: relative; padding: calc(var(--overlap) + clamp(72px, 8vw, 116px)) 0 calc(var(--nb-h) + clamp(72px, 8vw, 112px)); color: #fff; background: var(--ink); border-top-left-radius: 48px; border-bottom-right-radius: 48px; }
/* Recorte branco no topo, por baixo dos cards de serviço */
.band-notch-top { position: absolute; top: 0; right: 0; width: calc((100% - var(--W)) / 2 + var(--W) * .62 - 4px); height: var(--overlap); background: var(--paper); border-bottom-left-radius: var(--r); }
.band-notch-top::before { position: absolute; top: 0; right: 100%; width: var(--r); height: var(--r); background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - .6px), var(--paper) var(--r)); content: ''; }
/* Recorte branco na base, onde começa o título do processo */
.band-notch-bottom { position: absolute; bottom: 0; left: 0; width: calc((100% - var(--W)) / 2 + var(--W) * .36 + 48px); height: var(--nb-h); background: var(--paper); border-top-right-radius: var(--r); }
.band-notch-bottom::before,
.band-notch-bottom::after { position: absolute; width: var(--r); height: var(--r); background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - .6px), var(--paper) var(--r)); content: ''; }
.band-notch-bottom::before { bottom: 100%; left: 0; }
.band-notch-bottom::after { bottom: 0; left: 100%; }

.estrutura-head { display: grid; margin-bottom: clamp(36px, 4.4vw, 60px); grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.estrutura-head .h-section { max-width: 19ch; }
.estrutura-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.estrutura-lead { max-width: 27ch; color: #fff; font-size: clamp(19px, 1.2vw + 5px, 24px); font-weight: 500; line-height: 1.3; }
.estrutura-side p:not(.estrutura-lead) { max-width: 40ch; color: var(--muted-dark); font-size: 16px; }
.estrutura-side .btn { margin-top: 8px; }
.estrutura-side .btn .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

.bento-wrap { container-type: inline-size; }
.bento { --gap: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 5 * var(--gap)) / 6 * .78); gap: var(--gap);
  grid-template-areas:
    "dec dec tst iso fab fab"
    "mul ero nsh nsh fab fab"
    "mul rev nsh nsh buc buc"
    "usi usi eng eng bal are"; }
.c-dec { grid-area: dec; } .c-tst { grid-area: tst; } .c-iso { grid-area: iso; } .c-fab { grid-area: fab; }
.c-mul { grid-area: mul; } .c-ero { grid-area: ero; } .c-nsh { grid-area: nsh; } .c-rev { grid-area: rev; }
.c-buc { grid-area: buc; } .c-usi { grid-area: usi; } .c-eng { grid-area: eng; } .c-bal { grid-area: bal; } .c-are { grid-area: are; }
.cell { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 10px; padding: 20px; overflow: hidden; border-radius: var(--r-panel); isolation: isolate; }
.cell h3 { font-size: 18px; }
.cell p { font-size: 14px; line-height: 1.45; }
.cell--light { color: var(--text); background: var(--cell-light); }
.cell--light p { color: var(--muted); }
.cell--ink { color: #fff; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.cell--ink p { color: var(--muted-dark); }
.cell--steel { color: #fff; background: var(--steel); }
.cell--sky { color: var(--ink); background: var(--sky); }
.cell--photo { padding: 0; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; transition: scale .9s var(--ease-out); }
.cell-tag { position: absolute; bottom: 14px; left: 14px; padding: 8px 12px; border-radius: var(--r-control); color: #fff; background: rgba(13,21,33,.8); font-size: 13px !important; font-weight: 550; }
.cell-icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--sky); }
.cell--steel .cell-icon { color: #fff; }
.cell--sky .cell-icon { color: var(--ink); }
.cell-text { font-size: 16px !important; font-weight: 560; line-height: 1.3 !important; }
.cell--ink .cell-text, .cell--steel .cell-text { color: #fff !important; }
.cell-text strong { display: block; margin-bottom: 4px; font-size: 20px; font-weight: 760; font-stretch: 106%; }
.c-iso .cell-text { font-size: 13.5px !important; font-weight: 450; }
.cell-obj { position: absolute; z-index: -1; max-width: none; mix-blend-mode: multiply; pointer-events: none; transition: scale .8s var(--ease-out); }
.c-dec .cell-obj { right: 5%; bottom: 9%; width: 60%; }
.c-mul .cell-obj { right: -10%; bottom: -4%; width: 104%; }
.c-nsh .cell-obj { top: 50%; left: 50%; width: 86%; translate: -50% -50%; }
.c-buc .cell-obj { right: 6%; bottom: 10%; width: 42%; }
.c-buc .cell-copy { max-width: 52%; }
.cell-caption { color: var(--muted) !important; font-size: 13px !important; margin-top: auto; }
.c-nsh { justify-content: flex-end; }
.cell-big { color: var(--steel); font-size: 22px !important; font-weight: 800; font-stretch: 104%; letter-spacing: -.015em; }
.ticker { position: relative; height: 1.4em; margin-top: 6px; overflow: hidden; color: var(--text) !important; font-size: 17px !important; font-weight: 650; }
.ticker-track { display: block; transition: transform .5s var(--ease-out), opacity .4s ease; }
.ticker-track.is-out { opacity: 0; transform: translateY(-100%); }
.ticker-track.is-pre { opacity: 0; transform: translateY(100%); transition: none; }
.c-rev h3, .c-usi h3 { font-size: 19px; }
.c-rev { justify-content: flex-end; }
.cell-num { color: #fff; font-size: clamp(24px, 6.6cqw, 34px) !important; font-weight: 760; font-stretch: 108%; line-height: 1 !important; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) {
  .cell--light:hover .cell-obj { scale: 1.05; }
  .cell--photo:hover img { scale: 1.04; }
}

/* Seção 4 — processo ---------------------------------------------------------- */
.processo { position: relative; padding-bottom: clamp(88px, 9vw, 140px); }
.processo-head { position: relative; z-index: 2; display: grid; margin-top: calc(-1 * var(--nb-h, 128px) + 44px); grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.processo-head .h-section { max-width: 9.5em; }
.processo-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; align-self: start; margin-top: calc(var(--nb-h, 128px) - 44px + 14px); }
.processo-side p { max-width: 46ch; color: var(--muted); }
.processo-side .btn .icon { width: 18px; height: 18px; }
.steps-wrap { position: relative; margin-top: clamp(56px, 6vw, 84px); }
.steps-rail { position: absolute; top: 0; right: 0; left: 0; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.steps-fill { position: absolute; inset: 0; background: var(--steel); transform: scaleX(var(--p, 1)); transform-origin: left; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 40px 28px 6px; border-left: 1px solid var(--line); }
.step::before { position: absolute; top: -6px; left: -7px; width: 14px; height: 14px; border: 2px solid var(--steel); border-radius: 50%; background: var(--steel); transition: background-color .4s ease, border-color .4s ease; content: ''; }
.step-num { display: block; color: var(--steel); font-size: clamp(48px, 4.2vw, 68px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; }
.step h3 { margin-top: 24px; font-size: 19px; }
.step p { max-width: 30ch; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.js .step:not(.is-on)::before { border-color: var(--line-strong); background: var(--paper); }

/* Seção 5 — clientes ---------------------------------------------------------- */
.clientes { --tab-h: 124px; --r: var(--r-shape); padding-top: calc(var(--tab-h) + clamp(16px, 3vw, 40px)); }
.mist { position: relative; display: flow-root; padding-bottom: clamp(80px, 8vw, 120px); background: var(--mist); border-bottom-right-radius: 48px; }
/* Aba central que sobe do fundo cinza e recebe o título */
.mist-tab { position: absolute; bottom: 100%; left: 50%; width: min(740px, 100% - 2 * var(--g) - 2 * var(--r)); height: var(--tab-h); background: var(--mist); border-radius: var(--r) var(--r) 0 0; translate: -50% 0; }
.mist-tab::before,
.mist-tab::after { position: absolute; bottom: 0; width: var(--r); height: var(--r); content: ''; }
.mist-tab::before { right: 100%; background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .6px), var(--mist) var(--r)); }
.mist-tab::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - .6px), var(--mist) var(--r)); }
.clientes-head { position: relative; margin-top: calc(-1 * var(--tab-h) + 42px); text-align: center; }
.clientes-head .h-section { max-width: 20ch; margin-inline: auto; }
.clientes-head p { max-width: 48ch; margin: 30px auto 0; color: var(--muted); }
.marquee { display: grid; margin-top: clamp(40px, 4.4vw, 60px); gap: 16px; }
.logo-row { overflow: hidden; }
.logo-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.logo-track[data-marquee-dir="-1"] { animation-direction: reverse; }
.logo-group { display: flex; flex: none; gap: 16px; padding-right: 16px; }
.logo-tile { display: grid; width: 220px; height: 118px; flex: none; place-items: center; border-radius: var(--r-panel); background: #fff; box-shadow: inset 0 0 0 1px rgba(13,21,33,.05); }
.logo-tile img { max-width: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Seção 6 — contato ------------------------------------------------------------ */
.contato { position: relative; padding: clamp(88px, 9vw, 140px) 0; }
.contato-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.contato-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contato-copy > p { max-width: 36ch; color: var(--muted); }
.contatos { display: grid; margin-top: 10px; gap: 18px; }
.contatos li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.45; }
.contatos .icon { margin-top: 2px; color: var(--steel); }
.contatos small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.contatos a { font-weight: 600; }
.form-panel { position: relative; padding: clamp(28px, 3.4vw, 48px); color: #fff; background: var(--ink); border-radius: var(--r-panel); }
.form-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; min-width: 0; align-content: start; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { color: #CDD6E2; font-size: 13px; font-weight: 600; }
.field .opt { color: var(--muted-dark); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--r-control); color: #fff; background: var(--ink-2); font: inherit; font-size: 15px; line-height: 1.4; transition: border-color .2s ease, box-shadow .2s ease; appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: #7F8CA0; opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky); outline: 0; box-shadow: 0 0 0 4px rgba(82,150,226,.2); }
.field textarea { min-height: 128px; resize: vertical; }
.select { position: relative; }
.select select { padding-right: 46px; cursor: pointer; }
.select select.is-empty { color: #7F8CA0; }
.select option { color: var(--ink); background: #fff; }
.select .icon { position: absolute; top: 50%; right: 14px; color: var(--muted-dark); pointer-events: none; translate: 0 -50%; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #EE8E8E; }
.field-error { color: #FFB4B4; font-size: 13px; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; margin-top: 26px; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn-send { color: var(--ink); background: var(--sky); }
.btn-send[disabled] { opacity: .7; cursor: progress; }
.form-note { max-width: 30ch; color: var(--muted-dark); font-size: 13px; line-height: 1.45; }
.form-status { margin-top: 18px; font-size: 15px; line-height: 1.45; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #A6E3BC; }
.form-status.is-error { color: #FFB4B4; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn-send:hover { background: var(--sky-soft); }
}

/* Rodapé ------------------------------------------------------------------------ */
.rodape { position: relative; padding-top: clamp(56px, 6vw, 90px); overflow: hidden; color: #CDD6E2; background: var(--ink); border-radius: 48px 48px 0 0; }
.rodape-gear { position: absolute; top: -150px; right: -150px; width: 420px; height: 420px; fill: rgba(255,255,255,.03); }
.rodape-top { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(36px, 5vw, 80px); }
.rodape-marca img { width: 150px; }
.rodape-marca p { max-width: 36ch; margin-top: 20px; color: var(--muted-dark); font-size: 15px; }
.redes { display: flex; margin-top: 24px; flex-wrap: wrap; gap: 8px; }
.redes a { display: inline-flex; height: 42px; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-control); color: #fff; background: rgba(255,255,255,.05); font-size: 14px; transition: background-color .25s ease, border-color .25s ease; }
.redes .icon { width: 17px; height: 17px; }
.rodape-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rodape-cols h3 { color: #fff; font-size: 15px; font-weight: 650; }
.rodape-cols ul { display: grid; margin-top: 16px; gap: 10px; color: var(--muted-dark); font-size: 14.5px; line-height: 1.4; }
.rodape-cols a { transition: color .2s ease; }
.rodape-base { position: relative; z-index: 1; display: flex; margin-top: clamp(48px, 6vw, 84px); padding: 22px 0; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); color: var(--muted-dark); font-size: 13px; }
.watermark { position: relative; display: flex; height: clamp(40px, 7.8vw, 144px); justify-content: center; overflow: hidden; color: rgba(255,255,255,.1); font-size: clamp(96px, 20.5vw, 380px); font-weight: 800; font-stretch: 116%; line-height: .74; letter-spacing: -.01em; user-select: none; }
.watermark span { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .rodape-cols a:hover { color: #fff; }
  .redes a:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
}

/* Barra flutuante --------------------------------------------------------------- */
.float-nav { position: fixed; z-index: 40; top: 14px; left: 50%; display: flex; align-items: center; gap: 8px; translate: -50% 0; filter: drop-shadow(0 14px 30px rgba(13,21,33,.16)); transform: translateY(calc(-100% - 30px)); opacity: 0; pointer-events: none; transition: transform 380ms var(--ease-out), opacity 260ms ease; }
.float-nav.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.float-brand { display: inline-flex; height: 48px; align-items: center; padding: 0 18px; border-radius: var(--r-pill); background: var(--mb-surface); }
.float-brand img { width: 64px; }
.split-nav { display: flex; }
.split-nav a { position: relative; display: inline-flex; height: 48px; align-items: center; padding: 0 16px; color: var(--mb-muted); background: var(--mb-surface); font-size: 13px; font-weight: 550; transition: transform 280ms var(--ease-in-out), border-radius 280ms var(--ease-in-out), color 150ms ease; }
.split-nav a + a { margin-left: -1px; }
.split-nav a:first-child { padding-left: 22px; border-radius: 999px 0 0 999px; }
.split-nav a:last-child { padding-right: 22px; border-radius: 0 999px 999px 0; }
.split-nav a.is-active { border-radius: 999px; color: var(--mb-ink); }
.split-nav a.is-prev { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.split-nav a.is-next { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.split-nav a.is-before { transform: translateX(-6px); }
.split-nav a.is-after { transform: translateX(6px); }
.split-nav a::after { position: absolute; bottom: 10px; left: 50%; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--mb-accent); transform: scaleX(0); transition: transform 220ms var(--ease-out); content: ''; }
.split-nav a.is-active::after { transform: scaleX(1); }
.float-cta { display: inline-flex; height: 48px; align-items: center; padding: 0 22px; border-radius: var(--r-pill); color: #fff; background: var(--steel); font-size: 14px; font-weight: 620; transition: background-color .25s ease, transform 160ms var(--ease-out); }
.float-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .split-nav a:hover { color: var(--mb-ink); }
  .float-cta:hover { background: var(--steel-deep); }
}

/* Menu do celular ---------------------------------------------------------------- */
.menu-sheet { position: fixed; z-index: 70; inset: 0; display: flex; flex-direction: column; padding: 18px var(--g) 28px; overflow-y: auto; color: #fff; background: var(--ink); }
.menu-sheet[hidden] { display: none; }
.menu-sheet-top { display: flex; align-items: center; justify-content: space-between; }
.menu-close { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-control); color: #fff; background: transparent; cursor: pointer; }
.menu-links { display: grid; margin-top: 36px; }
.menu-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 28px; font-weight: 780; font-stretch: 108%; text-transform: uppercase; }
.menu-foot { display: grid; margin-top: auto; padding-top: 28px; gap: 14px; }
.menu-foot > a:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-dark); }
@media (prefers-reduced-motion: no-preference) {
  .menu-sheet.is-open { animation: sheet-in 360ms var(--ease-out); }
  .menu-sheet.is-open .menu-links a { animation: link-in 600ms var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 45ms); }
}
@keyframes sheet-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes link-in { from { opacity: 0; transform: translateY(18px); } }
html.is-locked { overflow: hidden; }

/* Vídeo --------------------------------------------------------------------------- */
.video-modal { width: min(1120px, 92vw); max-width: none; padding: 0; overflow: visible; border: 0; background: transparent; }
.video-modal::backdrop { background: rgba(8,12,20,.9); }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-panel); background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -58px; right: 0; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-pill); color: #fff; background: rgba(255,255,255,.06); cursor: pointer; }

/* Responsivo ------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .8fr); }
}

@media (max-width: 1023px) {
  .panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "copy stats" "photo photo"; min-height: 0; }
  .panel-copy { grid-area: copy; }
  .stats { grid-area: stats; }
  .panel-photo { grid-area: photo; height: 340px; margin: 0 calc(-1 * clamp(28px, 3.6vw, 52px)); margin-bottom: calc(-1 * (var(--notch-h) + 34px)); }
  .panel-photo::after { background: linear-gradient(180deg, var(--ink) 0, transparent 30%); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps-rail { display: none; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 3 * var(--gap)) / 4 * .9);
    grid-template-areas:
      "nsh nsh fab fab"
      "nsh nsh fab fab"
      "dec dec mul tst"
      "buc buc mul iso"
      "usi usi ero rev"
      "eng eng bal are"; }
  .estrutura-head { grid-template-columns: 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { height: 76px; grid-template-columns: 1fr auto; }
  .brand img { width: 112px; }
  .nav-main, .header-actions .btn-outline { display: none; }
  .menu-toggle { display: grid; }

  .hero-head { padding-top: 20px; }
  .hero-stage { --lift: 0px; display: flex; flex-direction: column; margin-top: 28px; }
  .hero-step { position: relative; order: -1; width: auto; padding: 0 var(--g) 30px; border-radius: 0; }
  .hero-step::after { display: none; }
  .quote { width: 100%; }
  .quote-tabs { width: 100%; gap: 22px; }
  .quote-row { flex-direction: column; }
  .quote-fields { grid-template-columns: 1fr; }
  .qfield + .qfield { border-top: 1px solid var(--line); border-left: 0; }
  .qfield { padding: 12px 16px; }
  .btn-quote { min-height: 56px; }
  .hero-photo { height: clamp(320px, 92vw, 560px); }
  .hero-photo img { object-position: 64% 40%; }
  .hero-photo::before, .hero-photo::after { position: absolute; z-index: 2; top: -1px; content: ''; }
  .hero-photo::before { left: 0; width: 46%; height: 34px; background: var(--paper); border-bottom-right-radius: 22px; }
  .hero-photo::after { left: 46%; width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21.4px, var(--paper) 22px); }

  .servicos { grid-template-columns: 1fr; }
  .panel { --notch-w: 88%; --notch-h: 86px; }
  .servicos-copy { margin-top: calc(-1 * (var(--notch-h, 86px) + 26px) + 30px); }
  .servicos-copy .h-section { max-width: 72%; text-wrap: wrap; }
  .card { min-height: 400px; }

  .estrutura { --overlap: 0px; --nb-h: 92px; margin-top: 56px; }
  .band { padding-top: clamp(64px, 12vw, 96px); border-top-right-radius: 40px; border-top-left-radius: 0; }
  .band-notch-top { top: -1px; right: auto; left: 0; width: 46%; height: 36px; border-radius: 0 0 22px 0; }
  .band-notch-top::before { right: auto; left: 100%; width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21.4px, var(--paper) 22px); }
  .band-notch-bottom { width: 88%; }

  .processo-head { grid-template-columns: 1fr; gap: 22px; margin-top: calc(-1 * var(--nb-h, 92px) + 30px); }
  .processo-head .h-section { max-width: 72%; }
  .processo-side { margin-top: 0; }

  .clientes { --tab-h: 112px; }
  .clientes-head { margin-top: calc(-1 * var(--tab-h) + 28px); }
  .clientes-head p { margin-top: 24px; }
  .contato-grid { grid-template-columns: 1fr; }
  .rodape { border-radius: 32px 32px 0 0; }
  .rodape-top { grid-template-columns: 1fr; }
  .float-nav { right: 12px; left: 12px; justify-content: space-between; translate: none; }
  .split-nav { display: none; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }
  .hero-lede { max-width: 32ch; }
  .quote-tabs button { font-size: 12px; letter-spacing: .05em; }
  .panel { padding-bottom: calc(var(--notch-h) + 26px); grid-template-columns: 1fr; grid-template-areas: "copy" "stats" "photo"; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .stat:nth-child(2) { padding-top: 0; border-top: 0; }
  .panel-photo { height: 240px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 380px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - var(--gap)) / 2 * .92);
    grid-template-areas:
      "nsh nsh"
      "nsh nsh"
      "dec dec"
      "mul tst"
      "mul ero"
      "fab fab"
      "fab fab"
      "iso iso"
      "rev bal"
      "buc buc"
      "usi usi"
      "eng are"; }
  .cell { padding: 16px; }
  .cell h3, .c-rev h3, .c-usi h3 { font-size: 17px; }
  .cell-text { font-size: 15px !important; }
  .cell-big { font-size: 22px !important; }
  .steps { grid-template-columns: 1fr; row-gap: 34px; }
  .steps-wrap { margin-top: 40px; }
  .step { padding: 0 0 0 26px; border-left: 2px solid var(--line); }
  .step::before { top: 2px; left: -8px; }
  .step.is-on { border-left-color: var(--steel); }
  .logo-tile { width: 168px; height: 96px; }
  .logo-tile img { scale: .82; }
  .form-grid { grid-template-columns: 1fr; }
  .rodape-cols { grid-template-columns: 1fr 1fr; }
  .rodape-cols > div:last-child { grid-column: 1 / -1; }
  .rodape-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-track { animation: none; }
  .logo-row { overflow-x: auto; scrollbar-width: none; }
  .logo-row::-webkit-scrollbar { display: none; }
  .logo-group[aria-hidden="true"] { display: none; }
  .ticker-track { transition: none; }
}

/* Faixa: o motion.js assume o movimento; sem script, a animação CSS continua */
[data-marquee].is-scripted { animation: none; will-change: transform; }


/* ---- Camada de movimento (de motion-base.css) ---- */
/* Botões: resposta ao clique para todos; texto rolando só com mouse */
[data-roll] { transition: transform 160ms var(--ease-out), background-color .25s ease; }
[data-roll]:active { transform: scale(.97); }
.roll { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.roll-inner { display: block; transition: transform 300ms var(--ease-out); }
.roll-inner::after { display: block; content: attr(data-text); content: attr(data-text) / ""; }
@media (hover: hover) and (pointer: fine) {
  [data-roll]:hover .roll-inner { transform: translateY(-50%); }
}

/* Luz que segue o cursor (o elemento precisa de position: relative e overflow: hidden) */
[data-spotlight] { isolation: isolate; }
[data-spotlight]::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(560px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.7), transparent 62%); opacity: 0; transition: opacity 600ms ease; pointer-events: none; content: ''; }
@media (hover: hover) and (pointer: fine) {
  [data-spotlight]:hover::before { opacity: 1; }
}

/* Entradas.
   :not(.is-in) guarda o estado inicial; :not(.is-done) guarda o tempo da entrada.
   Depois da entrada, as transições normais do componente (hover etc.) voltam a valer. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js [data-reveal="fade"]:not(.is-in) { opacity: 0; transform: translateY(-10px); }
  .js [data-reveal="up"]:not(.is-done), .js [data-reveal="fade"]:not(.is-done) { transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 1100ms var(--ease-out) var(--d, 0ms); }

  /* clip-path não interpola até "none": o fim da entrada é um inset explícito */
  .js [data-reveal="mask"]:not(.is-done) { clip-path: inset(0 0 0 0); transition: clip-path 1300ms var(--ease-in-out) var(--d, 0ms); }
  .js [data-reveal="mask"]:not(.is-in) { clip-path: inset(100% 0 0 0); }
  .js [data-reveal="mask"]:not(.is-in) > img { scale: 1.22; }
  .js [data-reveal="mask"]:not(.is-done) > img { transition: scale 1800ms var(--ease-out) var(--d, 0ms); }

  .js [data-reveal="card"]:not(.is-done) [data-reveal-media] { clip-path: inset(0 0 0 0); transition: clip-path 1200ms var(--ease-in-out) var(--d, 0ms); }
  .js [data-reveal="card"]:not(.is-in) [data-reveal-media] { clip-path: inset(100% 0 0 0); }
  .js [data-reveal="card"]:not(.is-in) [data-reveal-media] img { scale: 1.2; }
  .js [data-reveal="card"]:not(.is-done) [data-reveal-media] img { transition: scale 1700ms var(--ease-out) var(--d, 0ms); }
  .js [data-reveal="card"]:not(.is-in) [data-reveal-copy] { opacity: 0; transform: translateY(18px); }
  .js [data-reveal="card"]:not(.is-done) [data-reveal-copy] { transition: opacity 800ms var(--ease-out) calc(var(--d, 0ms) + 280ms), transform 1000ms var(--ease-out) calc(var(--d, 0ms) + 280ms); }

  .js [data-reveal="tile"]:not(.is-in) { opacity: 0; transform: scale(.94); }
  .js [data-reveal="tile"]:not(.is-done) { transition: opacity 800ms var(--ease-out) var(--d, 0ms), transform 1100ms var(--ease-out) var(--d, 0ms); }

  /* Títulos: escondidos até a divisão em palavras, para não piscar */
  .js [data-split]:not(.is-split) { opacity: 0; }
  .js [data-split] .word { display: inline-block; margin: -.22em -.08em -.16em; padding: .22em .08em .16em; overflow: hidden; vertical-align: top; }
  .js [data-split] .word-inner { display: inline-block; transition: transform 1100ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 45ms); }
  .js [data-split]:not(.is-in) .word-inner { transform: translateY(112%); }
  .js [data-split="blur"] .word { overflow: visible; }
  .js [data-split="blur"] .word-inner { transition: opacity 800ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms), filter 1000ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms), transform 1100ms var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 60ms); }
  .js [data-split="blur"]:not(.is-in) .word-inner { opacity: 0; filter: blur(12px); transform: translateY(28%); }

  /* Folga para o parallax não mostrar a borda da moldura */
  .js [data-parallax] { scale: 1.08; will-change: translate; }

  /* Se o script não rodar, tudo aparece sozinho */
  .js:not(.motion-ready) [data-reveal], .js:not(.motion-ready) [data-reveal] > img, .js:not(.motion-ready) [data-reveal] [data-reveal-media], .js:not(.motion-ready) [data-reveal] [data-reveal-copy], .js:not(.motion-ready) [data-split] { animation: reveal-failsafe 0s 2.5s forwards; }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; clip-path: none; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-in), .js [data-split]:not(.is-in) { opacity: 0; }
  .js:not(.motion-ready) [data-reveal], .js:not(.motion-ready) [data-split] { animation: reveal-failsafe 0s 2.5s forwards; }
  .js [data-reveal]:not(.is-done), .js [data-split] { transition: opacity 400ms ease var(--d, 0ms); }
  .roll-inner::after { display: none; }
  [data-roll]:active { transform: none; }
}

/* Marca d'água do rodapé: letras sobem uma a uma (só com JS e sem movimento reduzido) */
.watermark.is-armed span { transform: translateY(72%); transition: transform 1200ms var(--ease-out) calc(var(--i, 0) * 80ms); }
.watermark.is-armed.is-in span { transform: none; }
