/* ==========================================================================
   VRF 360 — Engenharia Térmica
   main.css · design system, layout e seções
   ========================================================================== */

/* ---------- Fontes (hospedadas localmente) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/jost-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/jost-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --teal: #00b191;
  --teal-hover: #1fc8a6;
  --teal-300: #9be2d9;
  --teal-200: #c9f0ea;
  --teal-600: #009e81;       /* títulos grandes sobre fundo claro (3:1) */
  --teal-700: #00866f;       /* texto pequeno sobre fundo claro (AA) */
  --teal-ink: #04241e;       /* texto sobre botão teal */

  --ink-950: #0d0f10;
  --ink-900: #141618;
  --ink-850: #1a1d20;
  --ink-800: #202428;
  --ink-700: #2b3035;
  --gray-logo: #6d6e71;
  --paper: #f3f5f4;
  --white: #ffffff;
  --heat: #ff8a4c;
  --heat-300: #ffb08a;

  --font-sans: 'Jost', 'Century Gothic', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.6vw, 64px);
  --maxw: 1440px;
  --nav-h: 64px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --section-y: clamp(96px, 13vw, 184px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 1024px) { :root { --nav-h: 76px; } }

/* Temas por seção */
[data-theme="dark"] {
  --bg: var(--ink-900);
  --fg: #eef1f0;
  --fg-strong: #ffffff;
  --fg-muted: #a7adb1;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --accent: var(--teal);
  --accent-text: #2fd3b0;
  --surface: var(--ink-850);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--white);
  --fg: #16191b;
  --fg-strong: #0d0f10;
  --fg-muted: #565c60;
  --line: rgba(13, 15, 16, .1);
  --line-strong: rgba(13, 15, 16, .22);
  --accent: var(--teal-600);
  --accent-text: var(--teal-700);
  --surface: var(--paper);
  color-scheme: light;
}
[data-theme="teal"] {
  --bg: var(--teal);
  --fg: var(--teal-ink);
  --fg-muted: rgba(4, 36, 30, .7);
  --line: rgba(4, 36, 30, .2);
  --accent: var(--teal-ink);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
html.no-js, html.reduced-motion { scroll-behavior: smooth; }
html.reduced-motion { scroll-behavior: auto; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: #16191b;
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
em { font-style: normal; }
::selection { background: var(--teal); color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.preloader__fan svg, .dial__fan, .dial-progress__fan, .menu__bg svg, .footer__fan, .marquee__group svg, .quote__spinner svg { fill: currentColor; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 10000;
  padding: 10px 16px; border-radius: 999px;
  background: var(--teal); color: var(--teal-ink); font-weight: 500;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

section, .footer, .marquee { background: var(--bg); color: var(--fg); position: relative; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.display {
  font-weight: 300;
  font-size: clamp(2.55rem, 1.25rem + 5.3vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--fg-strong);
  text-wrap: balance;
}
.display strong, .h2 strong { font-weight: 600; color: var(--accent-text); }
[data-theme="light"] .h2 strong, [data-theme="light"] .display strong { color: var(--teal-600); }
.h2 {
  font-weight: 300;
  font-size: clamp(2.15rem, 1.25rem + 3.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--fg-strong);
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Botões e links ---------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--btn-h);
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn__icon--lead { width: 20px; height: 20px; }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }
.btn--primary { background: var(--teal); color: var(--teal-ink); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--teal-hover);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost { color: var(--fg-strong); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); }
.btn--sm { --btn-h: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { --btn-h: 60px; padding: 0 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 500; color: var(--accent-text);
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding-bottom: 3px;
  transition: gap .4s var(--ease-out), border-color .3s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: .85em; border-color: currentColor; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  color: #eef1f0;
  transition: transform .55s var(--ease-out), color .4s, background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav[data-theme-nav="light"] { color: #16191b; }
.nav.is-scrolled {
  background: rgba(20, 22, 24, .62);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav[data-theme-nav="light"].is-scrolled { background: rgba(255, 255, 255, .72); border-bottom-color: rgba(13, 15, 16, .08); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__logo { position: relative; display: block; width: 138px; flex: none; }
@media (min-width: 1024px) { .nav__logo { width: 158px; } }
.nav__logo-img { width: 100%; height: auto; transition: opacity .4s; }
.nav__logo-img--on-light { position: absolute; inset: 0; opacity: 0; }
.nav[data-theme-nav="light"] .nav__logo-img--on-dark { opacity: 0; }
.nav[data-theme-nav="light"] .nav__logo-img--on-light { opacity: 1; }
.nav__links { display: none; margin-left: auto; }
.nav__links ul { display: flex; gap: clamp(14px, 2vw, 34px); }
.nav__links a {
  position: relative; display: inline-block;
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  height: 1.5em; line-height: 1.5em; overflow: hidden;
}
.nav__links a span { display: inline-block; text-shadow: 0 1.5em currentColor; transition: transform .5s var(--ease-out); }
.nav__links a:hover span { transform: translateY(-1.5em); }
.nav__links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal); transform: translate(-50%, 6px) scale(0); transition: transform .4s var(--ease-out);
}
.nav__links a.is-active::after { transform: translate(-50%, 0) scale(1); }
.nav__cta { display: none; }
.nav__burger {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
.nav__burger span { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
@media (min-width: 1100px) {
  .nav__links { display: block; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* Menu móvel */
.menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--ink-950); color: #eef1f0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.menu__bg { position: absolute; right: -22vw; top: 18vh; width: 90vw; max-width: 620px; color: var(--teal); opacity: .07; animation: spin 40s linear infinite; }
.menu__bg svg { width: 100%; height: auto; }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.15;
}
.menu__num { font-family: var(--font-mono); font-size: .75rem; color: var(--teal); letter-spacing: .1em; }
.menu__foot { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.menu__contact { display: inline-flex; align-items: center; gap: 10px; color: #a7adb1; }
.menu__contact svg { width: 20px; height: 20px; color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.show-preloader .preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--ink-900); color: #eef1f0;
}
.preloader__core { display: grid; justify-items: center; gap: 26px; }
.preloader__fan { width: 88px; color: var(--teal); }
.preloader__fan svg { width: 100%; height: auto; animation: spin 1.1s linear infinite; }
.preloader__readout { display: grid; justify-items: center; gap: 6px; }
.preloader__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #a7adb1; }
.preloader__temp { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.preloader__bar { width: 168px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }

/* ---------- HERO ---------- */
.hero { --hero-bg: #343332; background: var(--hero-bg); color: #eef1f0; }
.hero__stage { position: relative; overflow: hidden; }
.hero__canvas { display: none; }
.hero__intro { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 120px)); }
.hero__eyebrow { color: var(--teal-300); }
.hero__title { max-width: 13.5ch; color: #fff; }
.hero__title strong { color: var(--teal); }
.hero__lead { margin-top: 26px; max-width: 34ch; color: #c9cfd2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__ctas .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero__still { position: relative; z-index: 2; margin: 56px var(--gutter) 0; }
.hero__still img { width: 100%; max-width: 1180px; margin-inline: auto; border-radius: var(--radius-lg); background: #fff; }
.hero__hint, .hero__hud { display: none; }
.hero__labels {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px;
  max-width: var(--maxw); margin: 40px auto 0; padding: 0 var(--gutter) 96px;
}
.hlabel__dot, .hlabel__line { display: none; }
.hlabel__text { display: grid; gap: 2px; font-size: .9375rem; color: #c9cfd2; line-height: 1.45; }
.hlabel__text strong { color: #fff; font-weight: 500; font-size: 1rem; }

/* Modo animado (JS + movimento liberado) */
.js-ready:not(.reduced-motion) .hero__track { height: 440vh; }
.js-ready:not(.reduced-motion) .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.js-ready:not(.reduced-motion) .hero__canvas {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
}
.js-ready:not(.reduced-motion) .hero__still { display: none; }
.js-ready:not(.reduced-motion) .hero__intro {
  position: absolute; inset: 0 0 auto 0;
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 96px));
}
.js-ready:not(.reduced-motion) .hero__labels {
  position: absolute; inset: 0; z-index: 4; display: block; margin: 0; padding: 0; max-width: none; pointer-events: none;
}
.js-ready:not(.reduced-motion) .hlabel {
  position: absolute; left: 0; top: 0;
  opacity: 0; visibility: hidden;
  --tx: 0px; --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 0);
}
.js-ready:not(.reduced-motion) .hlabel__dot {
  display: block; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 5px rgba(0, 177, 145, .22), 0 0 24px rgba(0, 177, 145, .6);
}
.js-ready:not(.reduced-motion) .hlabel__dot::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(0, 177, 145, .55);
  animation: ring 2.2s var(--ease-out) infinite;
}
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.js-ready:not(.reduced-motion) .hlabel__line {
  display: block; position: absolute; top: 0; left: 0; height: 1px; width: var(--line-w, 64px);
  background: linear-gradient(90deg, rgba(13, 15, 16, .55), rgba(13, 15, 16, .2));
  transform-origin: left center;
}
.js-ready:not(.reduced-motion) .hlabel[data-side="left"] .hlabel__line { transform: translateX(-100%); transform-origin: right center; background: linear-gradient(270deg, rgba(13, 15, 16, .55), rgba(13, 15, 16, .2)); }
.js-ready:not(.reduced-motion) .hlabel__text {
  position: absolute; top: 0; left: calc(var(--line-w, 64px) + 10px);
  transform: translateY(-50%);
  width: max-content; max-width: 230px;
  padding: 10px 14px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(13, 15, 16, .12), 0 0 0 1px rgba(13, 15, 16, .06);
  color: #3b4146; font-size: .8125rem;
}
.js-ready:not(.reduced-motion) .hlabel[data-side="left"] .hlabel__text { left: auto; right: calc(var(--line-w, 64px) + 10px); }
.js-ready:not(.reduced-motion) .hlabel__text strong { color: #0d0f10; font-size: .9375rem; }
.js-ready:not(.reduced-motion) .hero__hint {
  position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(22px, 4vh, 40px);
  display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .82);
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(20, 22, 24, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.js-ready:not(.reduced-motion) .hero__hint .hero__hint-line { height: 26px; }
.hero__hint-line { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hero__hint-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--teal); animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }
.js-ready:not(.reduced-motion) .hero__hud {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--nav-h) + 14px);
  display: flex; align-items: center; gap: 12px; color: var(--hud-fg, rgba(255, 255, 255, .7));
  opacity: 0;
}
.hero__hud-bar { width: 72px; height: 2px; background: currentColor; opacity: .5; position: relative; overflow: hidden; border-radius: 2px; }
.hero__hud-bar span { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(var(--hud, 0)); }

@media (max-width: 999px), (max-aspect-ratio: 108/100) {
  .js-ready:not(.reduced-motion) .hero__track { height: 400vh; }
  .js-ready:not(.reduced-motion) .hlabel { display: none; }
  .js-ready:not(.reduced-motion) .hlabel.is-current { display: block; }
  .js-ready:not(.reduced-motion) .hlabel__line,
  .js-ready:not(.reduced-motion) .hlabel[data-side="left"] .hlabel__line {
    width: 1px; height: calc(var(--cap-dy, 56px) - 10px); transform: none;
    background: linear-gradient(180deg, rgba(0, 177, 145, .8), rgba(13, 15, 16, .14));
  }
  .js-ready:not(.reduced-motion) .hlabel__text,
  .js-ready:not(.reduced-motion) .hlabel[data-side="left"] .hlabel__text {
    left: var(--cap-dx, 0px); right: auto; top: var(--cap-dy, 56px); transform: translateX(-50%);
    width: min(320px, 84vw); max-width: none; text-align: center; font-size: .9375rem;
  }
}
@media (max-width: 767px) {
  .js-ready:not(.reduced-motion) .hero__hud span:first-child { display: none; }
}

/* Sem quadros disponíveis: volta à imagem estática */
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__track { height: auto; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__stage { position: relative; height: auto; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__canvas,
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__hint,
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__hud { display: none; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__still { display: block; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__intro { position: relative; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hero__labels { position: relative; display: grid; margin: 40px auto 0; padding: 0 var(--gutter) 96px; max-width: var(--maxw); }
.js-ready:not(.reduced-motion) .hero.is-fallback .hlabel { position: static; opacity: 1; visibility: visible; transform: none; display: block; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hlabel__dot,
.js-ready:not(.reduced-motion) .hero.is-fallback .hlabel__line { display: none; }
.js-ready:not(.reduced-motion) .hero.is-fallback .hlabel__text { position: static; transform: none; background: none; box-shadow: none; padding: 0; color: #c9cfd2; max-width: none; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(110px, 17vw, 240px) 0; }
.manifesto__inner { max-width: 1240px; }
.manifesto__text {
  font-size: clamp(1.85rem, .95rem + 3.4vw, 4.1rem);
  font-weight: 300; line-height: 1.14; letter-spacing: -.025em;
  color: var(--fg-strong); text-wrap: balance;
}
.manifesto__text strong { font-weight: 500; color: var(--teal-600); }
.word { display: inline-block; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(14px, 2.2vw, 26px) 0; display: grid; gap: clamp(2px, .6vw, 8px); }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 5.4rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1.12;
  white-space: nowrap; color: var(--teal-ink);
}
.marquee__group svg { width: .9em; height: .9em; margin: 0 .45em; font-size: clamp(2.1rem, 1.2rem + 4.2vw, 5.4rem); color: var(--teal-ink); flex: none; }
.marquee__row--outline span { color: transparent; -webkit-text-stroke: 1.3px var(--teal-ink); font-weight: 400; }
.marquee__row--outline svg { fill: none; stroke: var(--teal-ink); stroke-width: 2.2; }

/* ---------- SERVIÇOS ---------- */
.services { padding: var(--section-y) 0; overflow: clip; }
.services__air { display: none; }
.services__head { position: relative; z-index: 2; margin-bottom: 56px; }
.services__head .h2 { max-width: 16ch; }
.dial, .services__nav { display: none; }
.services__list {
  position: relative; z-index: 2;
  display: grid; gap: 16px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
@media (min-width: 700px) { .services__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services__list { grid-template-columns: repeat(3, 1fr); } }
.service article {
  height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.service__top { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-muted); }
.service__num { color: var(--accent-text); }
.service__tag { text-align: right; }
.service__icon { width: 52px; height: 52px; color: var(--teal); margin: 14px 0 4px; }
.service__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; color: var(--fg-strong); }
.service__text { color: var(--fg-muted); max-width: 44ch; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }

/* Modo dial */
.js-ready:not(.reduced-motion) .services { padding: 0; }
.js-ready:not(.reduced-motion) .services__track { height: calc(100svh + 6 * 72vh); }
.js-ready:not(.reduced-motion) .services__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid;
}
.js-ready:not(.reduced-motion) .services__air { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.js-ready:not(.reduced-motion) .services__head {
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); margin: 0;
}
.js-ready:not(.reduced-motion) .services__head .h2 { font-size: clamp(1.7rem, 1rem + 2.4vw, 3.3rem); max-width: 18ch; }
.js-ready:not(.reduced-motion) .dial {
  --dial: min(64vw, 40vh);
  display: block; position: absolute; z-index: 2;
  width: var(--dial); height: var(--dial);
  left: 50%; top: 48%;
  transform: translate(-50%, -50%);
}
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__core { position: absolute; inset: 32%; display: grid; place-items: center; }
.dial__fan { width: 72%; height: auto; color: var(--teal); filter: drop-shadow(0 0 28px rgba(0, 177, 145, .35)); }
.dial__deg { position: absolute; bottom: -18%; color: var(--fg-muted); font-size: .68rem; }
.dial .tick { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.dial .tick--major { stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.dial .ring-base { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.dial .ring-inner { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; stroke-dasharray: 2 6; }
.dial .sector { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
.dial .sector.is-active { stroke: var(--teal); filter: drop-shadow(0 0 10px rgba(0, 177, 145, .7)); }
.dial .sector-label { fill: rgba(255, 255, 255, .5); font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-anchor: middle; dominant-baseline: middle; }
.dial .sector-label.is-active { fill: #fff; }
.dial .pointer { fill: var(--teal); }

.js-ready:not(.reduced-motion) .services__list { position: absolute; z-index: 3; inset: auto 0 0 0; display: block; padding: 0; max-width: none; height: 100%; pointer-events: none; }
.js-ready:not(.reduced-motion) .service {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(76px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(26px);
  transition: opacity .22s ease-out, transform .4s var(--ease-out), visibility 0s .4s;
}
.js-ready:not(.reduced-motion) .service.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .6s var(--ease-out) .24s, transform .9s var(--ease-out) .24s, visibility 0s; }
.js-ready:not(.reduced-motion) .service article {
  padding: 0; border: 0; background: none; gap: 8px;
}
.js-ready:not(.reduced-motion) .service__top { order: -1; }
.js-ready:not(.reduced-motion) .service__icon { display: none; }
.js-ready:not(.reduced-motion) .service__text { font-size: 1rem; }
.js-ready:not(.reduced-motion) .services__nav {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; gap: 6px;
}
@media (max-width: 899px) {
  .js-ready:not(.reduced-motion) .services__nav { display: none; }
  .js-ready:not(.reduced-motion) .service { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
.services__nav button {
  flex: 1; height: 34px; border-radius: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--fg-muted);
  position: relative;
}
.services__nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; }
.services__nav button.is-active { color: #fff; }
.services__nav button.is-active::after { background: var(--teal); }

@media (min-width: 900px) {
  .js-ready:not(.reduced-motion) .dial { --dial: min(58vh, 42vw); left: 29%; top: 60%; }
  .js-ready:not(.reduced-motion) .service { left: 58%; right: var(--gutter); top: 50%; bottom: auto; transform: translateY(calc(-50% + 30px)); max-width: 520px; }
  .js-ready:not(.reduced-motion) .service.is-active { transform: translateY(-50%); }
  .js-ready:not(.reduced-motion) .service__icon { display: block; width: 64px; height: 64px; margin: 18px 0 6px; }
  .js-ready:not(.reduced-motion) .service__title { font-size: clamp(2.4rem, 1.4rem + 2.4vw, 4rem); }
  .js-ready:not(.reduced-motion) .service__text { font-size: 1.125rem; }
  .js-ready:not(.reduced-motion) .service article { gap: 16px; }
  .js-ready:not(.reduced-motion) .services__nav { left: 58%; right: auto; width: min(520px, calc(42% - var(--gutter))); bottom: clamp(28px, 6vh, 64px); }
}
.service__icon { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-ready:not(.reduced-motion) .service__icon { stroke-dashoffset: 1; }

/* ---------- ESCALA ---------- */
.scale { min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.scale__media { position: absolute; inset: 0; overflow: hidden; }
.scale__media picture, .scale__media img { width: 100%; height: 100%; }
.scale__media img { object-fit: cover; transform-origin: 50% 60%; }
.scale__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 12, 13, .92) 0%, rgba(10, 12, 13, .62) 38%, rgba(10, 12, 13, .14) 72%, rgba(10, 12, 13, .3) 100%);
}
.scale__content { position: relative; z-index: 2; padding-top: 30vh; padding-bottom: clamp(56px, 9vh, 110px); }
.scale__title { max-width: 15ch; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; margin-top: clamp(40px, 7vh, 80px); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 28px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__value { display: flex; align-items: baseline; gap: 8px; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__value small { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); }
.stat dd { margin-top: 10px; color: #bfc5c8; font-size: .9375rem; max-width: 22ch; }

/* ---------- Cabeçalhos de seção ---------- */
.section-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 860px; }
.section-head__lead { margin-top: 24px; color: var(--fg-muted); max-width: 52ch; font-size: 1.125rem; }
.section-head__lead a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 1024px) { .section-head--split { grid-template-columns: 1fr 1fr; gap: 64px; } .section-head--split .section-head__lead { margin-top: 0; } }

/* ---------- ETAPAS ---------- */
.process { padding: var(--section-y) 0; overflow: clip; }
.process__body { position: relative; }
.process__pipe { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.pipe__insulation { fill: none; stroke: #1d2124; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.pipe__copper { fill: none; stroke: url(#copper); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.pipe__flow { fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.process__steps { position: relative; z-index: 1; display: grid; gap: 34px; }
@media (max-width: 1023px) { .pipe__insulation { stroke-width: 12; } .pipe__copper { stroke-width: 5; } }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.step__node {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--line-strong);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500; color: var(--fg-muted);
  transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s;
}
.step.is-on .step__node { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); box-shadow: 0 0 0 8px rgba(0, 177, 145, .14); }
.step__card { padding-top: 4px; }
.step__icon { width: 40px; height: 40px; color: var(--teal-600); margin-bottom: 14px; }
.step__title { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; margin-bottom: 8px; color: var(--fg-strong); }
.step p { color: var(--fg-muted); max-width: 34ch; }
@media (min-width: 1024px) {
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 10px; }
  .step { grid-template-columns: 1fr; gap: 26px; }
  .step:nth-child(even) { margin-top: 150px; }
}

/* ---------- PORTFÓLIO ---------- */
.portfolio { background: var(--paper); padding: var(--section-y) 0; }
.project { display: grid; gap: 28px; margin-bottom: clamp(80px, 11vw, 160px); }
.project:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .project { grid-template-columns: repeat(12, 1fr); gap: 0 56px; align-items: center; }
  .project__media { grid-column: 1 / span 7; }
  .project__info { grid-column: 8 / span 5; }
  .project--reverse .project__media { grid-column: 6 / span 7; grid-row: 1; }
  .project--reverse .project__info { grid-column: 1 / span 5; grid-row: 1; }
}
.project__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2; background: #dfe4e2;
  isolation: isolate;
}
.project__frame picture, .project__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.project__img { object-fit: cover; }
.project__thermal {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  -webkit-mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #000 calc(var(--r, 0px) - 1px), transparent var(--r, 0px));
  mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #000 calc(var(--r, 0px) - 1px), transparent var(--r, 0px));
  pointer-events: none;
}
.is-touch .project__thermal {
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--scan, -30%) - 14%), #000 calc(var(--scan, -30%) - 13%), #000 calc(var(--scan, -30%) + 13%), transparent calc(var(--scan, -30%) + 14%));
  mask-image: linear-gradient(180deg, transparent calc(var(--scan, -30%) - 14%), #000 calc(var(--scan, -30%) - 13%), #000 calc(var(--scan, -30%) + 13%), transparent calc(var(--scan, -30%) + 14%));
}
.project__frame::after {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  left: calc(var(--x, 50%) - var(--r, 0px)); top: calc(var(--y, 50%) - var(--r, 0px));
  width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  opacity: var(--lens, 0);
}
.project__louvers { display: none; }
.js-ready:not(.reduced-motion) .project__louvers { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: repeat(8, 1fr); pointer-events: none; }
.project__louvers i { display: block; background: var(--paper); transform-origin: 50% 0; }
.project__credit { margin-top: 10px; color: var(--fg-muted); font-size: .64rem; }
.project__meta { display: flex; align-items: center; gap: 14px; color: var(--fg-muted); margin-bottom: 18px; }
.project__meta span:first-child { color: var(--teal-700); }
.project__meta span + span::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--line-strong); vertical-align: middle; margin-right: 14px; }
.project__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; color: var(--fg-strong); text-wrap: balance; }
.project__tag { margin-top: 14px; color: var(--teal-700); }
.project__text { margin-top: 18px; color: var(--fg-muted); max-width: 46ch; }
.project__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 34px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.project__stats dt { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); font-weight: 300; letter-spacing: -.03em; color: var(--fg-strong); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.project__stats dd { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); margin-top: 6px; max-width: 18ch; }
@media (max-width: 520px) { .project__stats { grid-template-columns: repeat(2, auto); } }

/* ---------- SOBRE ---------- */
.about { padding: var(--section-y) 0; background: var(--ink-900); }
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .about__portrait { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.about__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #0f3a33; max-width: 520px; }
.about__frame picture, .about__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__color { z-index: 1; }
.js-ready:not(.reduced-motion) .about__color { clip-path: inset(calc(100% - var(--reveal, 0) * 100%) 0 0 0); }
.about__role { margin-top: 20px; display: grid; gap: 6px; color: var(--fg-muted); max-width: 40ch; font-size: .9375rem; }
.about__role .mono { color: var(--accent-text); }
.about__quote { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.6rem); font-weight: 300; line-height: 1.22; letter-spacing: -.02em; color: #fff; margin-bottom: 40px; text-wrap: balance; }
.about__quote strong { color: var(--teal); font-weight: 500; }
.about__text p:not(.about__quote) { color: #b9bfc3; margin-bottom: 20px; max-width: 62ch; }
.timeline { position: relative; display: grid; gap: 0; margin-top: clamp(72px, 10vw, 140px); padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .14); }
.timeline::after { content: ''; position: absolute; left: 5px; top: 8px; width: 1px; height: calc((100% - 16px) * var(--tl, 0)); background: var(--teal); }
.tl { position: relative; display: grid; gap: 4px; padding: 0 0 34px; }
.tl::before { content: ''; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-900); border: 1.5px solid rgba(255, 255, 255, .35); }
.tl.is-on::before, .tl--now::before { border-color: var(--teal); background: var(--teal); }
.tl__when { color: var(--accent-text); }
.tl__title { font-size: 1.25rem; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.tl__text { color: var(--fg-muted); font-size: .9375rem; max-width: 34ch; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(6, 1fr); gap: 28px; padding-left: 0; padding-top: 34px; }
  .timeline::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .timeline::after { left: 0; top: 5px; height: 1px; width: calc(100% * var(--tl, 0)); }
  .tl { padding: 0; }
  .tl::before { left: 0; top: -34px; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
}
.faq__list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.4rem); font-weight: 400; letter-spacing: -.01em; color: var(--fg-strong);
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal-700); }
.qa summary svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.qa[open] summary svg { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.qa__body { overflow: hidden; }
.qa__body p { padding-bottom: 28px; color: var(--fg-muted); max-width: 62ch; }

/* ---------- CONTATO / ORÇAMENTO ---------- */
.contact { padding: var(--section-y) 0; background: var(--ink-950); overflow: hidden; }
.contact__air { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; display: none; }
.js-ready:not(.reduced-motion) .contact__air { display: block; }
.contact__grid { position: relative; z-index: 1; display: grid; gap: 56px; }
@media (min-width: 1100px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.contact__intro .lead { margin-top: 24px; max-width: 40ch; }
.contact__cards { display: grid; gap: 12px; margin-top: 40px; max-width: 480px; }
.ccard {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  transition: border-color .35s, background-color .35s, transform .45s var(--ease-out);
}
.ccard:hover { border-color: color-mix(in srgb, var(--teal) 70%, transparent); background: rgba(0, 177, 145, .06); }
.ccard__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--teal-ink); flex: none; }
.ccard__icon svg { width: 21px; height: 21px; }
.ccard__body { display: grid; gap: 2px; min-width: 0; }
.ccard__label { color: var(--fg-muted); font-size: .64rem; }
.ccard__value { font-size: 1.0625rem; color: #fff; overflow-wrap: anywhere; }
.ccard__arrow { width: 20px; height: 20px; margin-left: auto; color: var(--fg-muted); transition: transform .45s var(--ease-out), color .3s; }
.ccard:hover .ccard__arrow { transform: translate(3px, -3px); color: var(--teal); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: #fff; transition: background-color .3s, border-color .3s, color .3s; }
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.social svg { width: 19px; height: 19px; }

.quote {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(32, 36, 40, .92), rgba(22, 25, 28, .92));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.quote__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 400; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.quote__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--teal-300); white-space: nowrap; }
.quote__chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s var(--ease-out) infinite; color: var(--teal); }
.quote__note { margin-top: 10px; color: var(--fg-muted); font-size: .875rem; }
.quote__fields { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 640px) { .quote__fields { grid-template-columns: 1fr 1fr; gap: 20px 18px; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: .9375rem; font-weight: 500; color: #dfe3e5; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 11, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 14px 16px; min-height: 128px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239be2d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: #1a1d20; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f777c; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .22); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 177, 145, .18); background: rgba(8, 10, 11, .75); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--heat); box-shadow: 0 0 0 4px rgba(255, 138, 76, .14); }
.field__error { min-height: 0; color: var(--heat-300); font-size: .8125rem; }
.field__error:empty { display: none; }
.chips { border: 0; }
.chips legend { margin-bottom: 10px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); color: #cfd4d7; font-size: .9375rem;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-spring);
}
.chip:hover span { border-color: rgba(255, 255, 255, .32); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }
.chip input:checked + span { transform: scale(1.02); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.quote__legal { margin-top: 22px; font-size: .8125rem; color: var(--fg-muted); max-width: 64ch; }
.quote__legal a { color: var(--teal-300); border-bottom: 1px solid currentColor; }
.quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.quote__submit { min-width: 260px; }
.quote__spinner { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.quote__spinner svg { width: 26px; height: 26px; animation: spin .9s linear infinite; }
.quote.is-loading .quote__submit-text, .quote.is-loading .quote__submit .btn__icon { opacity: 0; }
.quote.is-loading .quote__spinner { opacity: 1; }
.quote__alt { display: inline-flex; align-items: center; gap: 8px; color: #cfd4d7; font-size: .9375rem; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.quote__alt svg { width: 18px; height: 18px; color: var(--teal); }
.quote__alt:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.quote__status { margin-top: 16px; font-size: .9375rem; color: #dfe3e5; }
.quote__status:empty { display: none; }
.quote__status.is-error { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 138, 76, .35); background: rgba(255, 138, 76, .07); color: #ffd9c6; }
.quote__fallback { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.quote__fallback .btn { --btn-h: 44px; font-size: .9375rem; }
.quote__done { text-align: left; display: grid; gap: 14px; justify-items: start; padding: 12px 0 4px; }
.quote__done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--teal-ink); }
.quote__done-icon svg { width: 30px; height: 30px; }
.quote__done p { color: #c9cfd2; max-width: 44ch; }
.quote.is-done .quote__note, .quote.is-done .quote__fields, .quote.is-done .quote__legal, .quote.is-done .quote__actions, .quote.is-done .quote__status, .quote.is-done .quote__head { display: none; }

/* ---------- RODAPÉ ---------- */
.footer { background: var(--ink-950); color: var(--fg-muted); padding: clamp(96px, 12vw, 160px) 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__big {
  font-size: clamp(2.9rem, 1rem + 8.6vw, 10.5rem);
  font-weight: 300; line-height: .95; letter-spacing: -.045em; color: #fff;
  display: flex; flex-wrap: wrap; gap: 0 .25em;
}
.footer__big-accent { display: inline-flex; align-items: center; gap: .12em; color: var(--teal); font-weight: 500; }
.footer__fan { width: .72em; height: .72em; color: var(--teal); }
.footer__grid { display: grid; gap: 40px; margin-top: clamp(64px, 9vw, 120px); padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; } }
.footer__brand img { width: 170px; height: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: .9375rem; }
.footer__h { color: #fff; margin-bottom: 16px; font-size: .7rem; font-weight: 500; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .3s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--teal-300); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; }
.footer__bottom a:hover { color: var(--teal-300); }
.footer__credits { flex-basis: 100%; color: #6c7378; font-size: .75rem; }

/* ---------- Elementos fixos ---------- */
.wa-float {
  position: fixed; z-index: 800; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: var(--teal-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28), 0 0 0 6px rgba(0, 177, 145, .14);
  transition: transform .45s var(--ease-out), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 27px; height: 27px; }

.dial-progress {
  position: fixed; z-index: 800; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20, 22, 24, .58);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.dial-progress.is-visible { opacity: 1; transform: none; }
.dial-progress__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-progress__track { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.dial-progress__bar { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; }
.dial-progress__fan { width: 22px; height: 22px; color: var(--teal); }
.dial-progress__deg {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  padding: 5px 9px; border-radius: 999px; background: rgba(20, 22, 24, .7); color: #fff; font-size: .62rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap;
}
.dial-progress:hover .dial-progress__deg, .dial-progress:focus-visible .dial-progress__deg { opacity: 1; }
@media (min-width: 1024px) { .dial-progress { width: 62px; height: 62px; } }
@media (max-width: 767px) {
  .dial-progress { width: 46px; height: 46px; }
  .dial-progress__fan { width: 18px; height: 18px; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 25px; height: 25px; }
}

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 9990; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(0, 177, 145, .65);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(0, 177, 145, .1); }
.cursor.has-label .cursor__ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: rgba(13, 15, 16, .72); border-color: transparent; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cursor__label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; text-align: center; line-height: 1.3; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed; z-index: 950;
  left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  width: min(720px, calc(100% - 32px));
  transform: translate(-50%, 24px); opacity: 0;
  display: flex; align-items: center; gap: 16px 24px;
  padding: 18px 20px; border-radius: 20px;
  background: rgba(20, 22, 24, .94); color: #dfe3e5;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  font-family: var(--font-sans); font-size: .9rem; line-height: 1.5;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.cookie.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie__text strong { display: block; color: #fff; font-weight: 500; font-size: 1rem; margin-bottom: 2px; }
.cookie__text a { color: var(--teal-300); border-bottom: 1px solid currentColor; }
.cookie__actions { display: flex; gap: 8px; flex: none; }
.cookie__btn { height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: .9375rem; transition: background-color .3s, border-color .3s; }
.cookie__btn--primary { background: var(--teal); color: var(--teal-ink); }
.cookie__btn--primary:hover { background: var(--teal-hover); }
.cookie__btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.cookie__btn--ghost:hover { border-color: var(--teal); }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions .cookie__btn { flex: 1; }
}
.footer__bottom button { color: inherit; font-size: inherit; text-decoration: none; }
.footer__bottom button:hover { color: var(--teal-300); }

/* ---------- Páginas simples (política, obrigado, 404) ---------- */
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); }
.page-top { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-top img { width: 150px; height: auto; }
.page-top .link-arrow { font-size: .9375rem; }
.page-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: clamp(40px, 8vw, 100px) var(--gutter) clamp(72px, 10vw, 120px); }
.page-main .h2 { margin-bottom: 24px; }
.page-main--center { display: grid; align-content: center; gap: 18px; max-width: 760px; }
.page-main--center .lead { max-width: 44ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.legal { margin-top: 12px; }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; margin: 44px 0 12px; color: var(--fg-strong); }
.legal p, .legal li { color: var(--fg-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 10px 0; display: grid; gap: 4px; }
.legal a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
.legal .updated { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; }
.page-foot { border-top: 1px solid var(--line); padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom)); font-size: .8125rem; color: var(--fg-muted); text-align: center; }
.page-fan { width: 84px; height: 84px; color: var(--teal); fill: currentColor; margin-bottom: 8px; animation: spin 6s linear infinite; }

/* ---------- Estados iniciais de animação (só com JS ativo) ---------- */
.js .hero__intro > * { opacity: 0; animation: show-fallback 0s 2.6s forwards; }
.js-ready .hero__intro > * { animation: none; }
@keyframes show-fallback { to { opacity: 1; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.reduced-motion .hero__intro > * { opacity: 1 !important; animation: none !important; }

/* ---------- Ajustes finos de telas pequenas ---------- */
@media (max-width: 480px) {
  .btn { --btn-h: 50px; padding: 0 22px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .quote__submit { min-width: 0; width: 100%; }
}
