/* AC Equipamentos, prévia v3: indústria premium, padrão claro. Sem framework. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-stretch: 85% 100%; font-display: swap; src: url("../fonts/plex-sans.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-mono-400.woff2") format("woff2"); }

:root {
  --bg: #f3f4f5; --bg2: #e6e9ec; --paper: #fbfbfc; --ink: #0f1720; --mut: #4f5a64; --line: #cdd3d9;
  --blue: #1d4f7a; --blue-ink: #ffffff; --dark: #0c1014; --dark-ink: #eef1f3; --dark-mut: #a9b2ba;
  --pv: 28px; --navh: 64px; --pad: clamp(20px, 5vw, 80px); --maxw: 1440px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--pv) + var(--navh)); }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; text-transform: none; }
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.label { display: flex; gap: 16px; align-items: baseline; color: var(--mut); margin-bottom: clamp(32px, 5vw, 72px); }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* faixa da prévia + cabeçalho */
.pv { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--pv); background: var(--ink); color: #e9edf0; font: 400 13px/var(--pv) var(--sans); padding-inline: var(--pad); white-space: nowrap; overflow: hidden; }
.nav { position: fixed; inset: var(--pv) 0 auto 0; z-index: 40; height: var(--navh); background: rgba(243, 244, 245, .97); border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 17px; white-space: nowrap; }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a, .nav__lang a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.nav__links a:hover, .nav__lang a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__lang { display: flex; gap: 12px; }
.nav__lang a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { padding: 0 18px; height: 44px; }
html.js .nav.is-over { background: transparent; color: #fff; border-color: transparent; }
@media (max-width: 1023px) { .nav__links { display: none; } .nav__lang { margin-left: auto; } }
@media (max-width: 639px) { :root { --pv: 26px; --navh: 58px; } .pv { font-size: 12px; } .nav__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .nav__in { gap: 16px; } .nav .btn { padding: 0 14px; font-size: 15px; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 2px; border: 1px solid transparent; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.btn--primary { background: var(--blue); color: var(--blue-ink); }
.btn--primary:hover { background: #163e61; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; }

/* 1. abertura: tela inteira, título sobre o vídeo */
.hero { position: relative; height: 100svh; min-height: 620px; color: #fff; background: var(--dark); overflow: hidden; }
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s; }
.hero__video.is-on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 11, 14, .45) 0%, rgba(8, 11, 14, .1) 35%, rgba(8, 11, 14, .55) 72%, rgba(8, 11, 14, .82) 100%); }
.hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--pv) + var(--navh) + 24px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__meta { color: #dfe5ea; margin-bottom: clamp(16px, 2.5vh, 28px); }
.hero h1 { font-weight: 500; font-stretch: 85%; font-size: clamp(50px, 10.2vw, 176px); line-height: .9; letter-spacing: -.045em; max-width: 13ch; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(24px, 4vh, 44px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 52ch; color: #eef2f5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.pause { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; background: transparent; color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; }
.pause[hidden] { display: none; }
.pause svg { width: 14px; height: 14px; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 767px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* revelação de texto por linha */
.ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ln > span { display: block; }
html.js:not(.rm) [data-lines].is-split .ln > span { transform: translateY(130%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 110ms); }
html.js:not(.rm) [data-lines].is-split.in .ln > span { transform: none; }

/* seções */
.sec { padding-block: clamp(96px, 14vh, 180px); }
.big { font-weight: 500; font-stretch: 85%; font-size: clamp(36px, 5.6vw, 96px); line-height: 1; letter-spacing: -.035em; max-width: 20ch; }
.big em { font-style: normal; color: var(--blue); }
.h2 { font-weight: 500; font-stretch: 85%; font-size: clamp(44px, 8vw, 140px); line-height: .9; letter-spacing: -.045em; }
.sub { font-size: clamp(17px, 1.3vw, 20px); color: var(--mut); max-width: 46ch; margin-top: 28px; }

/* 2. manifesto */
.manifesto { background: var(--bg); }
.manifesto__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 8vw, 120px); }
.manifesto__row p { border-top: 1px solid var(--ink); padding-top: 16px; }
.manifesto__row .mono { display: block; color: var(--mut); margin-bottom: 8px; }
@media (max-width: 767px) { .manifesto__row { grid-template-columns: 1fr; } }

/* 3. números */
.numbers { background: var(--paper); border-block: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.num { grid-column: span 4; border-top: 1px solid var(--line); padding: 24px 0 56px; }
.num--wide { grid-column: span 12; }
.num__v { display: block; font-weight: 500; font-stretch: 85%; font-size: clamp(88px, 10.5vw, 184px); line-height: .82; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.num--wide .num__v { font-size: clamp(56px, 13.4vw, 230px); color: var(--blue); }
.num__u { font-size: .32em; letter-spacing: -.02em; margin-left: .08em; }
.num p { margin-top: 20px; max-width: 34ch; color: var(--mut); }
.num .mono { display: block; color: var(--ink); margin-bottom: 18px; }
@media (max-width: 1023px) { .num { grid-column: span 6; } }
@media (max-width: 767px) { .num { grid-column: span 12; padding-bottom: 40px; } }

/* 4. imagem que cresce até a tela cheia; a seção passa do claro ao escuro */
.grow { position: relative; height: 230vh; background: var(--bg); }
.grow__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--dark) calc(clamp(0, (var(--p, 0) - .5) * 2.5, 1) * 100%), var(--bg)); }
.grow__fig { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p, 0)) * 26%) calc((1 - var(--p, 0)) * 34%) round calc((1 - var(--p, 0)) * 6px)); }
.grow__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p, 0) * .18)); }
.grow__fig::after { content: ""; position: absolute; inset: 0; background: rgba(8, 11, 14, calc(var(--p, 0) * .45)); }
.grow__txt { position: relative; z-index: 2; color: #fff; padding: 0 var(--pad); font-weight: 500; font-stretch: 85%; font-size: clamp(40px, 7vw, 120px); line-height: .95; letter-spacing: -.04em; text-align: center; opacity: clamp(0, calc((var(--p, 0) - .62) * 4), 1); transform: translateY(calc((1 - var(--p, 0)) * 40px)); }
.grow__cap { position: absolute; left: var(--pad); top: calc(var(--pv) + var(--navh) + 24px); z-index: 3; color: color-mix(in srgb, #ffffff calc(var(--p, 0) * 100%), var(--mut)); }
html.rm .grow, html:not(.js) .grow { height: auto; }
html.rm .grow__sticky, html:not(.js) .grow__sticky { position: relative; height: 100vh; --p: 1; }

/* 5. etapas fixas: do aço à cadeira */
.steps { position: relative; height: calc(100vh + var(--n) * 75vh); background: var(--bg); }
.steps__sticky { position: sticky; top: 0; height: 100vh; padding: calc(var(--pv) + var(--navh) + 32px) 0 40px; overflow: hidden; }
.steps__grid { height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 48px; }
.steps__text { display: flex; flex-direction: column; min-height: 0; }
.steps__text .h2 { font-size: clamp(40px, 5.4vw, 92px); }
.steps__num { font-family: var(--mono); font-size: clamp(64px, 9vw, 150px); line-height: 1; letter-spacing: -.06em; color: var(--blue); margin: auto 0 16px; }
.steps__list { border-top: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--mut); transition: color .35s; }
.step h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.25; display: flex; gap: 14px; }
.step h3 .mono { padding-top: 4px; }
.step p { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s; color: var(--ink); max-width: 44ch; }
.step p > span { overflow: hidden; min-height: 0; }
.step.is-on { color: var(--ink); }
.step.is-on p { grid-template-rows: 1fr; opacity: 1; padding-top: 8px; }
.steps__media { position: relative; border-radius: 4px; overflow: hidden; background: var(--bg2); }
.steps__media figure { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), opacity .01s .99s; }
.steps__media figure.is-on { opacity: 1; clip-path: inset(0); transition: clip-path 1s var(--ease), opacity 0s; z-index: 2; }
.steps__media figure.was { opacity: 1; clip-path: inset(0); z-index: 1; transition: none; }
.steps__media img { width: 100%; height: 100%; object-fit: cover; }
.steps__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .5); z-index: 3; }
.steps__bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--blue); }
@media (max-width: 899px) {
  .steps__sticky { padding-top: calc(var(--pv) + var(--navh) + 20px); padding-bottom: 20px; }
  .steps__grid { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 12px; }
  .steps__text .label { margin-bottom: 0; }
  .steps__text { display: contents; }
  .steps__text .h2 { order: 0; }
  .steps__media { order: 1; min-height: 0; }
  .steps__num { display: none; }
  .steps__list { order: 2; }
  .step:not(.is-on) { display: none; }
  .step { padding: 10px 0; }
}
html.rm .steps, html:not(.js) .steps { height: auto; }
html.rm .steps__sticky, html:not(.js) .steps__sticky { position: relative; height: auto; padding-block: 120px; }
html.rm .steps__grid, html:not(.js) .steps__grid { height: auto; grid-template-columns: 1fr; }
html.rm .steps__num, html:not(.js) .steps__num, html.rm .steps__media, html:not(.js) .steps__media, html.rm .steps__bar, html:not(.js) .steps__bar { display: none; }
html.rm .step, html:not(.js) .step { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 8px 32px; color: var(--ink); padding: 24px 0; }
html.rm .step p, html:not(.js) .step p { grid-template-rows: 1fr; opacity: 1; }
html.rm .step .step__pic, html:not(.js) .step .step__pic { display: block; grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; max-height: 360px; }
.step__pic { display: none; }
@media (max-width: 899px) { html.rm .step, html:not(.js) .step { grid-template-columns: 1fr; } html.rm .step .step__pic, html:not(.js) .step .step__pic { grid-column: 1; grid-row: auto; } }

/* 6. linhas, sobre aço escovado */
.lines { background:
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .35) 0 1px, rgba(0, 0, 0, .025) 1px 2px, transparent 2px 3px),
  linear-gradient(100deg, #dfe3e7 0%, #f4f6f7 28%, #d5dae0 52%, #eef1f3 74%, #d9dee3 100%); }
.lines__list { border-top: 1px solid var(--ink); }
.lines__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 22ch); gap: 8px 24px; align-items: baseline; padding: clamp(14px, 2vw, 26px) 0; border-bottom: 1px solid rgba(15, 23, 32, .25); }
.lines__t { font-weight: 500; font-stretch: 85%; font-size: clamp(34px, 6.4vw, 108px); line-height: .95; letter-spacing: -.04em; transition: transform .5s var(--ease), color .3s; }
.lines__list li:hover .lines__t { transform: translateX(14px); color: var(--blue); }
.lines__d { color: var(--mut); font-size: 16px; }
@media (max-width: 767px) { .lines__list li { grid-template-columns: 40px minmax(0, 1fr); } .lines__d { grid-column: 2; } }

/* 7. marcas */
.brands__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.brands__pic { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.brands__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brands__pic:hover img { transform: scale(1.03); }
.facts { margin-top: 48px; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, 14ch) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--mut); padding-top: 4px; }
@media (max-width: 899px) { .brands__grid { grid-template-columns: 1fr; } .brands__pic { aspect-ratio: 4 / 3; } }
@media (max-width: 639px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* 8. orçamento (demonstração) */
.quote { background: var(--paper); border-top: 1px solid var(--line); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input { width: 100%; height: 52px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--ink); background: var(--bg); font: 400 16px var(--sans); color: var(--ink); border-radius: 2px 2px 0 0; }
.field input:focus { outline: none; background: #fff; border-bottom: 2px solid var(--blue); }
.field__error { color: #b3261e; font-size: 14px; margin-top: 6px; }
.field__error[hidden] { display: none; }
.form__full { grid-column: 1 / -1; }
.form__status { min-height: 1.5em; font-size: 15px; }
.form__note { font-size: 14px; color: var(--mut); }
@media (max-width: 899px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } }

/* 9. endereço e dúvidas */
.place__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
.place__addr { font-style: normal; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; margin-top: 32px; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin-top: 28px; }
.hours dt { color: var(--mut); }
.place__note { margin-top: 20px; color: var(--mut); max-width: 48ch; }
.link { font-weight: 500; text-underline-offset: 5px; display: inline-block; margin-top: 20px; padding: 10px 0; }
.map { position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: var(--bg2); filter: grayscale(.2); }
.map img, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map .btn { position: absolute; left: 20px; bottom: 20px; background: #fff; color: var(--ink); border-color: var(--ink); }
.faq { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.faq div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; }
.faq p { color: var(--mut); }
@media (max-width: 899px) { .place__grid, .faq { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* rodapé claro */
.foot { background: var(--bg2); padding: clamp(80px, 10vw, 140px) 0 32px; border-top: 1px solid var(--line); }
.foot__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.foot__mark { display: block; width: min(100%, 980px); height: auto; margin: clamp(56px, 8vw, 110px) 0 48px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--ink); padding-top: 24px; }
.foot__cols h3 { font: 400 13px var(--mono); color: var(--mut); margin-bottom: 10px; }
.foot__cols a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 48px; font-size: 14px; color: var(--mut); }
@media (max-width: 767px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* menos movimento: tudo parado e visível */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
