/* SW Engenharia
   Paleta 60-30-10: concreto (60), grafite (30), laranja de obra (10).
   O concreto domina as secoes de conteudo. O grafite fica no hero, no fechamento e no rodape.
   O laranja so aparece em acao. Unidades relativas (%, rem, vw, dvh, em). Nenhum valor em pixels. */

@view-transition { navigation: auto; }

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0e1113;
  --ink-2: #14191c;
  --ink-3: #1c2226;
  --bone: #e4e1da;
  --acc: #ff5a1f;
  --acc-hi: #ff7440;
  --paper: #f1efea;   /* concreto mais claro, para alternar as secoes */
  --card: #faf9f6;    /* superficie dos cartoes sobre o concreto */
  --acc-ink: #a8340a; /* laranja queimado, so para texto pequeno sobre claro (5,1 para 1 no concreto) */

  --fg: var(--bone);
  --fg-dim: rgba(228, 225, 218, 0.72);
  --line: rgba(228, 225, 218, 0.14);
  --tint: rgba(228, 225, 218, 0.06);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: min(90%, 92rem);
  --sec: clamp(3.75rem, 7.5vw, 7.5rem);
  --r: 1.9rem;
  --bz: 0.4rem;

  --fs-body: clamp(1rem, 0.94rem + 0.28vw, 1.125rem);
  --fs-h1: clamp(2.35rem, 0.9rem + 5.3vw, 5rem);
  --fs-h2: clamp(2rem, 0.9rem + 3.7vw, 4.25rem);
  --fs-h3: clamp(1.3rem, 1rem + 1.1vw, 1.9rem);

  --z-rail: 20;
  --z-float: 25;
  --z-menu: 40;
  --z-head: 50;
  --z-cookie: 60;

  color-scheme: light;
}
/* as areas escuras continuam escuras para campos, rolagem e preenchimento automatico */
.hero, .final, .foot, .head, .menu, .cookie, .prefs, .case { color-scheme: dark; }

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 var(--fs-body) / 1.6 "Archivo", system-ui, "Segoe UI", sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }

:focus-visible { outline: 0.1875rem solid var(--acc); outline-offset: 0.25rem; border-radius: 0.25rem; }

.sr { position: absolute; width: 0.0625rem; height: 0.0625rem; margin: -0.0625rem; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 5%; top: 0.75rem; z-index: 100; padding: 0.75rem 1.25rem; background: var(--acc); color: var(--ink); font-weight: 700; border-radius: 999rem; translate: 0 -200%; transition: translate 0.4s var(--ease); }
.skip:focus { translate: 0 0; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- marca ---------- */
/* as variaveis --mk e --gap herdam do <svg> para dentro do <use> */
.mk { --mk: var(--bone); --gap: var(--ink); }
.mk-s { fill: none; stroke: var(--mk, #e4e1da); stroke-width: 9; stroke-linejoin: miter; stroke-miterlimit: 10; }
.mk-c { fill: var(--mk, #e4e1da); }
.mk-o { fill: var(--ov, #ff5a1f); stroke: var(--gap, #0e1113); stroke-width: 1.5; paint-order: stroke; stroke-linejoin: miter; }

/* icones de linha fina */
.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

.logo { display: inline-flex; align-items: center; gap: 0.85em; line-height: 1; }
.logo svg { height: 2.35em; width: auto; flex: none; }
.logo__t { display: flex; flex-direction: column; }
.logo__t b { font-weight: 800; font-stretch: 125%; font-size: 1.12em; letter-spacing: 0.04em; text-transform: uppercase; }
.logo__t i { font-style: normal; font-weight: 500; font-size: 0.6em; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 0.55em; opacity: 0.78; }

/* ---------- botoes e chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 0.4rem 0.4rem 0.4rem 1.7rem;
  border-radius: 999rem; font-weight: 700; font-stretch: 108%; font-size: 0.98rem; letter-spacing: 0.005em;
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn__ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform 0.6s var(--ease), background-color 0.5s var(--ease); }
.btn__ico svg { width: 46%; height: 46%; }
.btn--pri { background: var(--acc); color: var(--ink); }
.btn--pri .btn__ico { background: rgba(14, 17, 19, 0.14); }
.btn--ghost { border: 0.0625rem solid rgba(228, 225, 218, 0.28); color: var(--bone); }
.btn--ghost .btn__ico { background: rgba(228, 225, 218, 0.1); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink .btn__ico { background: var(--acc); color: var(--ink); }
.btn--lg { min-height: 4rem; padding-left: 1.6rem; font-size: 1rem; }
@media (min-width: 40em) { .btn--lg { min-height: 4.25rem; padding-left: 2.1rem; font-size: 1.1rem; } }
.btn--lg .btn__ico { width: 3.1rem; height: 3.1rem; }
.btn--sm { min-height: 2.75rem; padding: 0.25rem 0.25rem 0.25rem 1.2rem; font-size: 0.88rem; gap: 0.7rem; }
.btn--sm .btn__ico { width: 2.25rem; height: 2.25rem; }
@media (hover: hover) {
  .btn:hover .btn__ico { transform: translate(10%, -8%) scale(1.07); }
  .btn--pri:hover { background: var(--acc-hi); }
  .btn--ghost:hover { border-color: var(--bone); background: rgba(228, 225, 218, 0.06); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.72rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim);
}
.eyebrow::before { content: ""; width: 0.4rem; height: 0.4rem; background: var(--acc); }

/* duplo contorno */
.bezel { padding: var(--bz); border-radius: var(--r); background: var(--tint); border: 0.0625rem solid var(--line); }
.bezel > .core { border-radius: calc(var(--r) - var(--bz)); background: var(--ink-2); box-shadow: inset 0 0.0625rem 0 rgba(255, 255, 255, 0.07); overflow: hidden; }

/* ---------- revelar ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(6%); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- cabecalho ---------- */
/* vidro liquido: o fundo atras aparece borrado e mais saturado, com brilho nas bordas.
   Sobre as secoes claras (classe .on-light, posta pelo JS) o vidro vira claro e o texto grafite. */
.head {
  --g-fg: var(--bone);
  --g-dim: rgba(228, 225, 218, 0.8);
  --g-wash: rgba(255, 255, 255, 0.13);
  --g-tint: rgba(14, 17, 19, 0.34);
  --g-gap: #1b2023;
  --g-hi: rgba(255, 255, 255, 0.5);
  --g-lo: rgba(255, 255, 255, 0.22);
  --g-drop: rgba(0, 0, 0, 0.32);
  --g-rim-a: rgba(255, 255, 255, 0.8);
  --g-rim-b: rgba(255, 255, 255, 0.45);

  position: fixed; z-index: var(--z-head); top: 1.1rem; left: 50%; translate: -50% 0;
  width: min(92%, 72rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0.5rem 0.45rem 1.2rem; border-radius: 999rem;
  color: var(--g-fg);
  background-color: var(--g-tint);
  background-image: radial-gradient(120% 260% at 14% -90%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 58%);
  -webkit-backdrop-filter: blur(0.8rem) saturate(1.9) brightness(1.08); backdrop-filter: blur(0.8rem) saturate(1.9) brightness(1.08);
  box-shadow:
    inset 0.125rem 0.125rem 0.0625rem -0.0625rem var(--g-hi),
    inset -0.125rem -0.125rem 0.0625rem -0.0625rem var(--g-lo),
    inset 0 0 1.6rem 0.2rem rgba(255, 255, 255, 0.06),
    0 0.7rem 2.2rem var(--g-drop);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
/* aro de luz: mais forte no canto superior esquerdo e no inferior direito, como uma lente */
.head::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 0.0625rem; pointer-events: none;
  background: linear-gradient(165deg, var(--g-rim-a) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, var(--g-rim-b) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.head.on-light:not(.is-menu) {
  --g-fg: var(--ink);
  --g-dim: rgba(14, 17, 19, 0.76);
  --g-wash: rgba(14, 17, 19, 0.08);
  --g-tint: rgba(244, 242, 237, 0.5);
  --g-gap: #f1efea;
  --g-hi: rgba(255, 255, 255, 0.95);
  --g-lo: rgba(14, 17, 19, 0.14);
  --g-drop: rgba(14, 17, 19, 0.16);
  --g-rim-a: rgba(255, 255, 255, 1);
  --g-rim-b: rgba(14, 17, 19, 0.16);
}
.head .mk { --mk: var(--g-fg); --gap: var(--g-gap); }
.head .logo { font-size: 0.82rem; }
.nav { display: none; }
.nav a { padding: 0.65rem 1.05rem; border-radius: 999rem; font-size: 0.9rem; font-weight: 500; color: var(--g-dim); transition: color 0.4s var(--ease), background-color 0.4s var(--ease); }
@media (hover: hover) { .nav a:hover { color: var(--g-fg); background: var(--g-wash); } }
.head__end { display: flex; align-items: center; gap: 0.5rem; }
.head__cta { display: none; }
/* sem suporte a desfoque, ou com transparencia reduzida: o vidro vira solido para manter a leitura */
@supports not ((backdrop-filter: blur(0.0625rem)) or (-webkit-backdrop-filter: blur(0.0625rem))) {
  .head { --g-tint: rgba(14, 17, 19, 0.92); }
  .head.on-light:not(.is-menu) { --g-tint: rgba(244, 242, 237, 0.95); }
}
@media (prefers-reduced-transparency: reduce) {
  .head { --g-tint: rgba(14, 17, 19, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .head.on-light:not(.is-menu) { --g-tint: rgba(244, 242, 237, 0.97); }
}

.burger { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--g-wash); position: relative; transition: background-color 0.4s var(--ease); }
.burger i { position: absolute; left: 50%; top: 50%; width: 38%; height: 0.125rem; margin-left: -19%; background: var(--g-fg); transition: transform 0.6s var(--ease), background-color 0.4s var(--ease); }
.burger i:first-child { transform: translateY(-260%); }
.burger i:last-child { transform: translateY(260%); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(0) rotate(-45deg); }

@media (min-width: 64em) {
  .nav { display: flex; gap: 0.15rem; }
  .head__cta { display: inline-flex; }
  .burger { display: none; }
  .head { padding-left: 1.5rem; }
  .head .logo { font-size: 0.88rem; }
}

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(14, 17, 19, 0.96); -webkit-backdrop-filter: blur(1.5rem); backdrop-filter: blur(1.5rem);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding: 6.5rem 8% 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__list a { display: block; overflow: hidden; padding: 0.35rem 0; font-size: clamp(2.1rem, 9vw, 3.4rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; line-height: 1.05; }
.menu__list a span { display: block; transform: translateY(110%); transition: transform 0.8s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.menu.is-open .menu__list a span { transform: none; }
.menu__foot { opacity: 0; transform: translateY(20%); transition: opacity 0.7s var(--ease) 0.5s, transform 0.7s var(--ease) 0.5s; }
.menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__foot p { color: var(--fg-dim); font-size: 0.9rem; margin-top: 1.1rem; }
body.is-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero__media video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__media video.is-on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14,17,19,0.55) 0%, rgba(14,17,19,0.72) 45%, #0e1113 100%); }
@media (min-width: 64em) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(14,17,19,0.94) 0%, rgba(14,17,19,0.78) 34%, rgba(14,17,19,0.1) 72%),
    linear-gradient(0deg, #0e1113 0%, rgba(14,17,19,0) 38%); }
  .hero__media img, .hero__media video { object-position: 50% 40%; }
}
.hero__inner { padding-top: 8.5rem; display: grid; gap: 2.4rem; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero h1 { font-size: var(--fs-h1); font-stretch: 112%; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero .eyebrow { animation: fade 1s var(--ease) both; }
.lead { max-width: 36rem; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); color: var(--fg-dim); line-height: 1.55; animation: fade 1s var(--ease) 0.5s both; }
.hero__cta { display: grid; gap: 0.7rem; width: 100%; animation: fade 1s var(--ease) 0.65s both; }
.hero__cta .btn { justify-content: space-between; }
@media (min-width: 40em) { .hero__cta { display: flex; flex-wrap: wrap; width: auto; } .hero__cta .btn { justify-content: flex-start; } }
@keyframes fade { from { opacity: 0; transform: translateY(8%); } to { opacity: 1; transform: none; } }

.hero__bar { display: grid; gap: 1.2rem; padding-bottom: 1.5rem; animation: fade 1s var(--ease) 0.8s both; }
/* quadrado em concreto: mesmas variaveis das secoes claras, borda externa um tom mais escura que o miolo */
.chooser {
  --fg: var(--ink); --fg-dim: rgba(14, 17, 19, 0.72); --line: rgba(14, 17, 19, 0.14); --tint: rgba(14, 17, 19, 0.06);
  width: 100%; color: var(--ink); background: #cfccc4; border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.38);
}
.chooser .core { padding: 1.1rem 1.1rem 1.2rem; background: var(--bone); box-shadow: inset 0 0.0625rem 0 rgba(255, 255, 255, 0.6); }
.chooser :focus-visible { outline-color: var(--ink); }
.chooser__q { font-size: 0.74rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 0.85rem; }
.chooser__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.chip {
  display: flex; align-items: center; gap: 0.65rem; min-height: 3.25rem; padding: 0.55rem 0.9rem;
  border-radius: 1.05rem; background: var(--card); border: 0.0625rem solid var(--line);
  font-weight: 600; font-size: 0.92rem; line-height: 1.15;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease), color 0.5s var(--ease);
}
.chip svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--acc-ink); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: color 0.5s var(--ease); }
.chip:active { transform: scale(0.98); }
@media (hover: hover) { .chip:hover { background: var(--acc); color: var(--ink); border-color: var(--acc); } .chip:hover svg { color: var(--ink); } }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
.stat b { display: block; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 0.45rem; font-size: 0.85rem; color: var(--fg-dim); line-height: 1.3; }

@media (min-width: 48em) {
  .chooser__list { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 64em) {
  .hero__inner { gap: 3.4rem; padding-top: 9rem; }
  .hero__bar { grid-template-columns: 52% 1fr; align-items: end; gap: 6%; padding-bottom: 2.2rem; }
  .chooser__list { grid-template-columns: 1fr 1fr; }
  .stats { gap: 1.6rem 4%; }
  .stat:nth-child(n) { padding-left: 1rem; border-left: 0.0625rem solid var(--line); }
}
@media (min-width: 80em) { .chooser__list { grid-template-columns: repeat(4, 1fr); } .chip { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 5.2rem; } }

/* ---------- secoes claras ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--light { --fg: var(--ink); --fg-dim: rgba(14, 17, 19, 0.7); --line: rgba(14, 17, 19, 0.14); --tint: rgba(14, 17, 19, 0.04); background: var(--bone); color: var(--ink); }
/* o laranja nao tem contraste sobre concreto, entao o foco fica em grafite nas secoes claras */
.sec--light :focus-visible { outline-color: var(--ink); }
.sec__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); justify-items: start; }
.sec__head p { max-width: 36rem; color: var(--fg-dim); }
.svc__side h2 { font-size: clamp(1.9rem, 1rem + 2.5vw, 3.2rem); }
.svc__side .sec__head { margin-bottom: 0; }
.next { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; font-stretch: 108%; font-size: 0.95rem; }
.next svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--acc); transition: transform 0.6s var(--ease); }
@media (hover: hover) { .next:hover svg { transform: translateY(15%); } }

/* ---------- servicos ---------- */
.svc__grid { display: grid; gap: 2.5rem; }
.svc__list { border-top: 0.0625rem solid var(--line); }
.svc { display: grid; grid-template-columns: 1fr 24%; grid-template-areas: "n img" "t img" "d img" "m m"; gap: 0.3rem 5%; padding: 1.25rem 0; border-bottom: 0.0625rem solid var(--line); position: relative; }
.svc__n { grid-area: n; font-size: 0.78rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; color: var(--acc-ink); }
.svc h3 { grid-area: t; }
.svc__d { grid-area: d; color: var(--fg-dim); font-size: 0.95rem; line-height: 1.5; max-width: 34rem; }
.svc__m { grid-area: m; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; font-stretch: 108%; }
.svc__m span:first-child { color: var(--fg-dim); font-weight: 500; }
.svc__go { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0.0625rem solid var(--line); display: grid; place-items: center; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease); }
.svc__go svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc__img { grid-area: img; align-self: start; aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden; background: var(--ink-3); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc a { position: static; }
.svc a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) {
  .svc:hover .svc__go { background: var(--acc); border-color: var(--acc); transform: translate(8%, -8%); }
  .svc:hover .svc__img img { transform: scale(1.08); }
}
@media (min-width: 64em) {
  .svc__grid { grid-template-columns: 34% 1fr; gap: 6%; align-items: start; }
  .svc__side { position: sticky; top: 7rem; }
  .svc { grid-template-columns: 4rem 1fr 15%; grid-template-areas: "n t img" "n d img" "n m img"; gap: 0.5rem 4%; padding: 1.6rem 0; align-items: start; }
  .svc__n { padding-top: 0.5rem; }
}

/* ---------- obras ---------- */
.works { background: var(--paper); overflow: hidden; }
.works__top { display: grid; gap: 1.6rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.filters { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; margin-inline: -5%; padding-inline: 5%; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 2.75rem; padding: 0 1.3rem; border-radius: 999rem; border: 0.0625rem solid var(--line); font-weight: 600; font-size: 0.9rem; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
@media (hover: hover) { .filters button:hover:not([aria-pressed="true"]) { border-color: var(--ink); } }
.ctrls { display: none; gap: 0.5rem; }
.ctrl { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0.0625rem solid var(--line); display: grid; place-items: center; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease); }
.ctrl:active { transform: scale(0.95); }
.ctrl svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ctrl:hover { background: var(--acc); color: var(--ink); border-color: var(--acc); } }
@media (min-width: 64em) {
  .works__top { grid-template-columns: 1fr auto; align-items: end; }
  .works__top .filters { grid-column: 1; margin-inline: 0; padding-inline: 0; }
  .ctrls { display: flex; grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

.track { display: flex; gap: 1.6%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-block: 0.3rem 0.5rem;
  padding-inline: 5%; scroll-padding-inline: 5%; }
.track::-webkit-scrollbar { display: none; }
@media (min-width: 100em) { .track { padding-inline: calc((100% - 92rem) / 2); scroll-padding-inline: calc((100% - 92rem) / 2); } }
.card { flex: 0 0 78%; scroll-snap-align: start; display: flex; position: relative; }
.card[hidden] { display: none; }
.card > .bezel { flex: 1; display: flex; }
.card > .bezel > .core { flex: 1; }
@media (min-width: 40em) { .card { flex-basis: 44%; } }
@media (min-width: 64em) { .card { flex-basis: 30%; } }
.card .core { background: var(--card); box-shadow: none; }
.card__fig { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--r) - var(--bz)); color: var(--bone); }
.card__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,17,19,0.92) 0%, rgba(14,17,19,0.1) 52%, rgba(14,17,19,0) 70%); }
.card__tag { position: absolute; z-index: 1; left: 1rem; top: 1rem; padding: 0.4rem 0.8rem; border-radius: 999rem; background: rgba(14, 17, 19, 0.7); -webkit-backdrop-filter: blur(0.6rem); backdrop-filter: blur(0.6rem); font-size: 0.7rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; }
.card__cap { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; }
.card__cap h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); }
.card__cap p { margin-top: 0.45rem; font-size: 0.88rem; color: rgba(228, 225, 218, 0.8); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0.9rem 0.4rem 0.8rem; margin: 0; }
.specs div { padding: 0 0.7rem; border-left: 0.0625rem solid var(--line); }
.specs div:first-child { border-left: 0; }
.specs dt { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.specs dd { margin: 0.25rem 0 0; font-weight: 700; font-stretch: 108%; font-size: 0.95rem; white-space: nowrap; }
@media (hover: hover) { .card:hover .card__fig img { transform: scale(1.06); } }

.card--cta .core { background: var(--acc); color: var(--ink); height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.6rem; min-height: 26rem; }
.card--cta h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); }
.card--cta p { margin-top: 1rem; font-size: 0.98rem; color: rgba(14, 17, 19, 0.82); }

/* ---------- obra clicavel no carrossel ---------- */
.card__hit { display: none; position: absolute; inset: 0; z-index: 2; width: 100%; border-radius: var(--r); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.js .card__hit { display: block; }
.card__hit:focus-visible { outline-offset: 0.3rem; border-radius: var(--r); }
.card__go { display: none; position: absolute; z-index: 1; right: 1rem; top: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; place-items: center;
  background: rgba(14, 17, 19, 0.7); -webkit-backdrop-filter: blur(0.6rem); backdrop-filter: blur(0.6rem); border: 0.0625rem solid rgba(228, 225, 218, 0.24);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease); }
.js .card__go { display: grid; }
.card__go svg { width: 46%; height: 46%; stroke-width: 1.8; }
.card:has(.card__hit:focus-visible) .card__go { background: var(--acc); border-color: var(--acc); color: var(--ink); }
@media (hover: hover) { .card:hover .card__go { background: var(--acc); border-color: var(--acc); color: var(--ink); transform: rotate(90deg); } }

/* ---------- janela da obra ---------- */
.case { padding: 0; border: 0; background: transparent; color: var(--bone); width: 100%; max-width: none; max-height: none; margin: auto 0 0; overflow: visible; }
.case::backdrop { background: rgba(14, 17, 19, 0.8); -webkit-backdrop-filter: blur(0.55rem); backdrop-filter: blur(0.55rem); opacity: 0; transition: opacity 0.55s cubic-bezier(0.32, 0.72, 0, 1); }
.case.is-open::backdrop { opacity: 1; }

.case__panel { width: 100%; max-height: 94dvh; display: flex; border-radius: var(--r) var(--r) 0 0; border-bottom: 0;
  transform: translateY(104%); transition: transform 0.55s var(--ease); }
.case.is-open .case__panel { transform: none; transition-duration: 0.85s; }
.case__panel > .core { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  border-radius: calc(var(--r) - var(--bz)) calc(var(--r) - var(--bz)) 0 0; scrollbar-width: thin; scrollbar-color: rgba(228, 225, 218, 0.25) transparent; }

.case__x, .cnav { display: grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 50%; color: var(--bone);
  background: rgba(14, 17, 19, 0.72); -webkit-backdrop-filter: blur(0.7rem); backdrop-filter: blur(0.7rem); border: 0.0625rem solid rgba(228, 225, 218, 0.26);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease); }
.case__x:active, .cnav:active { transform: scale(0.94); }
.case__x svg, .cnav svg { width: 42%; height: 42%; stroke-width: 1.6; transition: transform 0.7s var(--ease); }
@media (hover: hover) {
  .case__x:hover, .cnav:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); }
  .case__x:hover svg { transform: rotate(90deg); }
}
.case__x { position: sticky; top: 0.9rem; align-self: flex-end; z-index: 6; margin: 0.9rem 0.9rem -3.9rem 0; }

.case__fig { position: relative; flex: none; aspect-ratio: 16 / 11; max-height: 46dvh; overflow: hidden; background: var(--ink-3); }
.case__fig::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(14, 17, 19, 0.82) 0%, rgba(14, 17, 19, 0) 48%); }
.case__pic { position: absolute; inset: 0; opacity: 0; }
.case__pic.is-in { animation: case-pic 0.8s var(--ease) both; }
.case__pic picture, .case__pic img { width: 100%; height: 100%; }
.case__pic img { object-fit: cover; }
.case__pic.is-in img { animation: case-zoom 1.9s var(--ease) both; }
.case__nav { position: absolute; z-index: 3; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.case__nav[hidden] { display: none; }
.case__count { order: -1; margin-right: auto; padding: 0.5rem 0.95rem; border-radius: 999rem; background: rgba(14, 17, 19, 0.72); -webkit-backdrop-filter: blur(0.7rem); backdrop-filter: blur(0.7rem);
  border: 0.0625rem solid rgba(228, 225, 218, 0.2); font-size: 0.74rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.case__main { flex: none; display: flex; flex-direction: column; min-width: 0; }
.case__page { display: grid; align-content: start; gap: 1.5rem; padding: 1.4rem 1.2rem 1.6rem; }
.case__page > * { opacity: 0; }
.case__page.is-in > * { animation: case-rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 220ms); }
.case__page[data-dir="next"].is-in > * { animation-name: case-next; animation-duration: 0.7s; animation-delay: calc(var(--i, 0) * 55ms); }
.case__page[data-dir="prev"].is-in > * { animation-name: case-prev; animation-duration: 0.7s; animation-delay: calc(var(--i, 0) * 55ms); }

.case__head { display: grid; gap: 0.8rem; justify-items: start; }
.case__head h2 { font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.7rem); font-stretch: 112%; }
.case__loc { display: flex; align-items: center; gap: 0.5rem; color: var(--fg-dim); font-size: 0.95rem; }
.case__loc svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--acc); stroke-width: 1.6; }
.case__lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.5; color: var(--bone); max-width: 38rem; }

.case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.0625rem; margin: 0; border-radius: 1.2rem; overflow: hidden; background: var(--line); border: 0.0625rem solid var(--line); }
.case__stats > div { background: var(--ink-2); padding: 1rem 1.1rem 1.1rem; }
.case__stats dt { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.case__stats dd { margin: 0.45rem 0 0; }
.case__stats b { display: block; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 1.95rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

.case__badge { display: inline-flex; align-items: center; justify-self: start; gap: 0.6rem; padding: 0.6rem 1.1rem 0.6rem 0.85rem; border-radius: 999rem; background: rgba(255, 90, 31, 0.1); border: 0.0625rem solid rgba(255, 90, 31, 0.42); font-weight: 600; font-size: 0.92rem; }
.case__badge svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--acc); stroke-width: 2; }
.case__sub { font-size: 0.74rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: -0.6rem; }

.case__phases li { display: grid; grid-template-columns: 6.3rem 1fr 4rem; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-top: 0.0625rem solid var(--line); }
.case__phases li:last-child { border-bottom: 0.0625rem solid var(--line); }
.case__phases span { font-weight: 700; font-stretch: 108%; font-size: 0.9rem; }
.case__phases em { font-style: normal; font-size: 0.8rem; color: var(--fg-dim); text-align: right; }
.case__phases i { position: relative; height: 0.5rem; border-radius: 999rem; background: rgba(228, 225, 218, 0.1); }
.case__phases i::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--s) / var(--t) * 100%); width: calc(var(--m) / var(--t) * 100%); border-radius: 999rem; background: var(--acc); transform-origin: left; transform: scaleX(0); }
.case__page.is-in .case__phases i::after { animation: case-fill 1s var(--ease) both; animation-delay: calc(var(--k, 0) * 150ms + 750ms); }
.case__page[data-dir].is-in .case__phases i::after { animation-delay: calc(var(--k, 0) * 120ms + 350ms); }
.case__phases li:nth-child(2) { --k: 1; }
.case__phases li:nth-child(3) { --k: 2; }
.case__phases li:nth-child(4) { --k: 3; }

.case__scope { display: grid; gap: 0.8rem; }
.case__scope li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 500; font-size: 0.98rem; line-height: 1.45; }
.case__scope svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.1rem; color: var(--acc); stroke-width: 1.8; }

.case__quote { margin: 0; padding: 1.2rem 1.3rem 1.3rem; border-radius: 1.2rem; background: var(--tint); border: 0.0625rem solid var(--line); }
.case__quote .qm { width: 1.7rem; height: 1.3rem; color: var(--acc); fill: currentColor; margin-bottom: 0.8rem; }
.case__quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; font-weight: 500; font-stretch: 104%; }
.case__quote figcaption { margin-top: 1rem; display: flex; flex-direction: column; font-size: 0.86rem; color: var(--fg-dim); }
.case__quote figcaption b { color: var(--bone); font-weight: 700; }

.case__foot { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 1.4rem; padding: 0.9rem 1.2rem calc(0.9rem + env(safe-area-inset-bottom));
  background: rgba(20, 25, 28, 0.94); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); border-top: 0.0625rem solid var(--line); }
.case__foot .btn { flex: 1; justify-content: space-between; }
.case__note { display: none; font-size: 0.86rem; line-height: 1.4; color: var(--fg-dim); max-width: 15rem; }

@keyframes case-rise { from { opacity: 0; transform: translateY(6%); } to { opacity: 1; transform: none; } }
@keyframes case-next { from { opacity: 0; transform: translateX(7%); } to { opacity: 1; transform: none; } }
@keyframes case-prev { from { opacity: 0; transform: translateX(-7%); } to { opacity: 1; transform: none; } }
@keyframes case-pic { from { opacity: 0; } to { opacity: 1; } }
@keyframes case-zoom { from { transform: scale(1.18); } to { transform: none; } }
@keyframes case-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 40em) {
  .case__page { padding: 1.8rem 2rem 2rem; }
  .case__foot { padding-inline: 2rem; }
  .case__foot .btn { flex: none; }
  .case__note { display: block; }
  .case__fig { aspect-ratio: 16 / 9; }
}
@media (min-width: 64em) {
  .case { width: min(92%, 72rem); margin: auto; }
  .case__panel { max-height: 92dvh; border-radius: var(--r); border-bottom: 0.0625rem solid var(--line); opacity: 0; transform: scale(0.5); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform 0.55s var(--ease), opacity 0.4s var(--ease); }
  .case.is-open .case__panel { opacity: 1; transform: none; transition-duration: 0.85s, 0.5s; }
  .case__panel > .core { display: grid; grid-template-columns: 46% 1fr; height: min(48rem, 90dvh); overflow: hidden; border-radius: calc(var(--r) - var(--bz)); }
  .case__x { position: absolute; top: 1.1rem; right: 1.1rem; margin: 0; align-self: auto; }
  .case__fig { aspect-ratio: auto; max-height: none; height: 100%; }
  .case__main { min-height: 0; }
  .case__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(228, 225, 218, 0.25) transparent; }
  .case__page { padding: 2rem 2.4rem 2rem; gap: 1.35rem; }
  .case__head { padding-right: 3.4rem; }
  .case__foot { padding-inline: 2.4rem; }
}

/* ---------- metodo ---------- */
.how__grid { display: grid; gap: 2.8rem; }
.steps { position: relative; display: grid; gap: 1.6rem; padding-left: 4.2rem; }
.steps::before, .steps::after { content: ""; position: absolute; left: 1.2rem; top: 1.3rem; bottom: 1.3rem; width: 0.125rem; }
.steps::before { background: var(--line); }
.steps::after { background: var(--acc); transform-origin: top; transform: scaleY(0); transition: transform 2s var(--ease) 0.2s; }
.steps.is-in::after { transform: scaleY(1); }
.step { position: relative; }
.step__n { position: absolute; left: -4.2rem; top: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: var(--ink); color: var(--bone); border-radius: 0.7rem; font-size: 0.8rem; font-weight: 700; font-stretch: 112%; transition: background-color 0.6s var(--ease), color 0.6s var(--ease); transition-delay: calc(var(--i) * 0.38s); }
.steps.is-in .step__n { background: var(--acc); color: var(--ink); }
.step h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); margin-bottom: 0.5rem; }
.step p { color: var(--fg-dim); max-width: 32rem; }
.step__tag { display: none; margin-top: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999rem; background: rgba(14, 17, 19, 0.07); font-size: 0.78rem; font-weight: 600; }

@media (min-width: 48em) { .step__tag { display: inline-block; } .steps { gap: 2rem; } }
.proof { position: relative; display: grid; }
.proof__fig { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink-3); }
.proof__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; }
.quote { margin: -3.2rem 0.8rem 0; position: relative; z-index: 1; --fg: var(--bone); --fg-dim: rgba(228,225,218,0.72); --line: rgba(228,225,218,0.14); --tint: rgba(228,225,218,0.06); color: var(--bone); }
.quote .core { padding: clamp(1.3rem, 3vw, 2rem); background: var(--ink); }
.quote blockquote { margin: 0; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.45; font-weight: 500; font-stretch: 104%; }
.quote figcaption { margin-top: 1.2rem; display: flex; flex-direction: column; font-size: 0.88rem; color: var(--fg-dim); }
.quote figcaption b { color: var(--bone); font-weight: 700; }
.quote .qm { display: block; width: 2rem; height: 1.6rem; color: var(--acc); margin-bottom: 1rem; fill: currentColor; }
@media (min-width: 64em) {
  .how__grid { grid-template-columns: 46% 1fr; gap: 6%; align-items: stretch; }
  .proof { align-content: stretch; }
  .proof__fig { aspect-ratio: auto; height: 100%; min-height: 36rem; }
  .proof__fig, .proof { position: relative; }
  .quote { position: absolute; left: -9%; right: 8%; bottom: 8%; margin: 0; }
}

/* ---------- cta final ---------- */
.final { position: relative; isolation: isolate; background: var(--ink); overflow: hidden; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,17,19,0.96) 0%, rgba(14,17,19,0.86) 55%, rgba(14,17,19,0.7) 100%); }
.final__grid { display: grid; gap: 2.8rem; }
.final h2 { font-size: clamp(2rem, 0.9rem + 3.6vw, 4rem); font-stretch: 112%; }
.final__copy { display: grid; gap: 1.5rem; justify-items: start; align-content: start; }
.final__copy .lead { animation: none; max-width: 32rem; }
.promises { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.promises li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.98rem; }
.promises svg { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form .core { padding: clamp(1.3rem, 3vw, 2rem); background: rgba(20, 25, 28, 0.9); }
.form h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.form > .core > p { color: var(--fg-dim); font-size: 0.92rem; margin-bottom: 1.3rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 0.95rem; }
.field label { font-size: 0.75rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.field input, .field select { width: 100%; min-height: 3.4rem; padding: 0 1.1rem; border-radius: 1rem; border: 0.0625rem solid var(--line); background: rgba(228, 225, 218, 0.05); color: var(--bone); font: inherit; font-size: 1rem; transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%); background-position: calc(100% - 1.5rem) 52%, calc(100% - 1.15rem) 52%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 3rem; }
.field select option { color: var(--ink); background: var(--bone); }
.field input::placeholder { color: rgba(228, 225, 218, 0.38); }
.field input:focus, .field select:focus { outline: none; border-color: var(--acc); background-color: rgba(255, 90, 31, 0.06); }
.form .btn { width: 100%; justify-content: space-between; margin-top: 0.4rem; }
.form small { display: block; margin-top: 1rem; font-size: 0.78rem; line-height: 1.5; color: var(--fg-dim); }
.form small a { text-decoration: underline; text-underline-offset: 0.2em; color: var(--bone); }
@media (min-width: 64em) { .final__grid { grid-template-columns: 1fr 40%; gap: 8%; align-items: center; } }

/* ---------- rodape ---------- */
.foot { background: var(--ink); border-top: 0.0625rem solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; font-size: 0.92rem; }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
.foot__grid > :first-child, .foot__grid > :last-child { grid-column: 1 / -1; }
.foot .logo { font-size: 1rem; }
.foot__blurb { margin-top: 1.2rem; max-width: 24rem; color: var(--fg-dim); }
.foot h4 { font-size: 0.74rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 0.9rem; }
.foot li { margin-bottom: 0.5rem; }
.foot li a, .foot li button { color: var(--bone); transition: color 0.4s var(--ease); text-align: left; }
@media (hover: hover) { .foot li a:hover, .foot li button:hover { color: var(--acc); } }
.foot address { font-style: normal; color: var(--fg-dim); line-height: 1.7; }
.foot__base { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 0.0625rem solid var(--line); display: grid; gap: 1.1rem; color: var(--fg-dim); font-size: 0.82rem; }
.foot__base p { max-width: 44rem; }
.by { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.4rem 1rem 0.4rem 0.5rem; border-radius: 999rem; border: 0.0625rem solid var(--line); color: var(--bone); font-size: 0.84rem; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease); width: max-content; }
.by img { width: 2rem; height: 1.8rem; object-fit: contain; }
.by b { font-weight: 700; }
@media (hover: hover) { .by:hover { background: rgba(228, 225, 218, 0.07); border-color: var(--bone); } }
@media (min-width: 48em) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 4%; } .foot__grid > :first-child, .foot__grid > :last-child { grid-column: auto; } .foot__base { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- elementos fixos ---------- */
.rail { display: none; }
@media (min-width: 80em) {
  .rail { display: block; position: fixed; z-index: var(--z-rail); left: 1.5rem; top: 50%; translate: 0 -50%; height: 30dvh; }
  .rail::before, .rail__fill { content: ""; position: absolute; left: 0.3rem; top: 0; bottom: 0; width: 0.125rem; }
  .rail::before { background: rgba(228, 225, 218, 0.22); }
  .rail.on-light::before { background: rgba(14, 17, 19, 0.2); }
  .rail__fill { background: var(--acc); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 1s var(--ease); }
  .rail ol { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
  .rail li { position: relative; width: 0.75rem; height: 0.75rem; margin-left: -0.075rem; }
  .rail li::before { content: ""; position: absolute; inset: 0; background: var(--ink); border: 0.125rem solid rgba(228, 225, 218, 0.4); transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease); }
  .rail.on-light li::before { background: var(--bone); border-color: rgba(14, 17, 19, 0.35); }
  .rail li.is-done::before, .rail.on-light li.is-done::before { background: var(--acc); border-color: var(--acc); }
  .rail li.is-now::before { transform: scale(1.25); }
  .rail li span { position: absolute; left: 1.35rem; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; white-space: nowrap; font-size: 0.66rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: transparent; transition: color 0.6s var(--ease); }
  .rail li.is-now span { color: var(--bone); }
  .rail.on-light li.is-now span { color: var(--ink); }
}

.wa { position: fixed; z-index: var(--z-float); right: 1rem; bottom: 1rem; transform: translateY(160%); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s var(--ease), bottom 0.6s var(--ease); }
.wa.is-on { transform: none; opacity: 1; }
.wa .btn { padding: 0.4rem; box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.35); }
.wa .btn__ico { background: transparent; width: 2.9rem; height: 2.9rem; }
.wa .btn__ico svg { width: 62%; height: 62%; fill: currentColor; }
.wa__t { display: none; }
@media (min-width: 40em) { .wa { right: 1.6rem; bottom: 1.6rem; } .wa__t { display: inline; } .wa .btn { padding: 0.4rem 0.4rem 0.4rem 1.5rem; } .wa .btn__ico { background: rgba(14, 17, 19, 0.14); width: 2.6rem; height: 2.6rem; } .wa .btn__ico svg { width: 52%; height: 52%; } }
body.has-cookie .wa { opacity: 0; pointer-events: none; transform: translateY(160%); }

/* ---------- cookies ---------- */
.cookie { position: fixed; z-index: var(--z-cookie); left: 0; right: 0; bottom: 0; transform: translateY(110%); transition: transform 0.9s var(--ease); }
.cookie.is-open { transform: none; }
.cookie .bezel { border-radius: 1.7rem 1.7rem 0 0; border-bottom: 0; background: rgba(228, 225, 218, 0.08); }
.cookie .core { padding: 1.1rem 1.1rem 1.2rem; background: rgba(14, 17, 19, 0.96); -webkit-backdrop-filter: blur(1.2rem); backdrop-filter: blur(1.2rem); border-radius: 1.3rem 1.3rem 0 0; }
.cookie h2 { font-size: 1.05rem; font-stretch: 112%; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.cookie p { font-size: 0.84rem; line-height: 1.5; color: var(--fg-dim); }
.cookie p a { color: var(--bone); text-decoration: underline; text-underline-offset: 0.2em; }
.cookie__act { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.9rem; }
.cookie__act .cbtn:last-child { grid-column: 1 / -1; }
.cbtn { min-height: 2.9rem; padding: 0 0.8rem; line-height: 1.15; border-radius: 999rem; font-weight: 700; font-size: 0.9rem; border: 0.0625rem solid rgba(228, 225, 218, 0.3); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.cbtn:active { transform: scale(0.98); }
.cbtn--pri { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cbtn--link { border-color: transparent; color: var(--fg-dim); text-decoration: underline; text-underline-offset: 0.25em; min-height: 2.5rem; }
@media (hover: hover) { .cbtn:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); } .cbtn--link:hover { background: none; color: var(--bone); border-color: transparent; } }
@media (min-width: 48em) {
  .cookie { left: auto; right: 1.6rem; bottom: 1.6rem; width: 30rem; }
  .cookie .bezel { border-radius: var(--r); border-bottom: 0.0625rem solid var(--line); }
  .cookie .core { border-radius: calc(var(--r) - var(--bz)); }
}

.prefs { padding: 0; border: 0; background: transparent; color: var(--bone); width: min(92%, 36rem); max-height: 90dvh; margin: auto; overflow: visible; }
.prefs::backdrop { background: rgba(14, 17, 19, 0.78); }
.prefs[open] { animation: fade 0.6s var(--ease); }
.prefs .core { padding: clamp(1.3rem, 3vw, 2rem); max-height: 88dvh; overflow-y: auto; background: var(--ink-2); }
.prefs h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.prefs .intro { color: var(--fg-dim); font-size: 0.92rem; margin-bottom: 1.3rem; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; align-items: center; padding: 1.05rem 0; border-top: 0.0625rem solid var(--line); }
.opt h3 { font-size: 1rem; font-stretch: 108%; letter-spacing: 0; }
.opt p { grid-column: 1 / -1; font-size: 0.86rem; color: var(--fg-dim); line-height: 1.5; }
.opt em { font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--acc); }
.sw { position: relative; width: 3.2rem; height: 1.85rem; }
.sw input { appearance: none; -webkit-appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 999rem; background: rgba(228, 225, 218, 0.18); cursor: pointer; transition: background-color 0.5s var(--ease); }
.sw input::before { content: ""; position: absolute; left: 0.25rem; top: 0.25rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--bone); transition: transform 0.6s var(--ease); }
.sw input:checked { background: var(--acc); }
.sw input:checked::before { transform: translateX(98%); background: var(--ink); }
.sw input:disabled { opacity: 0.55; cursor: not-allowed; }
.prefs__act { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.2rem; }
.prefs__act .cbtn--pri { grid-column: 1 / -1; }

/* ---------- pagina legal ---------- */
.legal { padding: 9rem 0 var(--sec); }
.legal__in { width: min(90%, 52rem); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1rem + 4vw, 3.8rem); margin: 1.2rem 0 1rem; }
.legal .upd { color: var(--fg-dim); font-size: 0.92rem; }
.legal .sum { margin: 2rem 0 0; padding: 1.4rem 1.5rem; border-radius: 1.3rem; background: var(--tint); border: 0.0625rem solid var(--line); }
.legal .sum p { color: var(--fg); font-size: 1rem; }
.toc { margin: 2.2rem 0 0; display: grid; gap: 0.1rem; counter-reset: t; }
.toc a { display: flex; gap: 0.9rem; padding: 0.6rem 0; border-bottom: 0.0625rem solid var(--line); color: var(--fg-dim); font-size: 0.95rem; transition: color 0.4s var(--ease); counter-increment: t; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--acc-ink); font-weight: 600; font-stretch: 112%; font-size: 0.78rem; padding-top: 0.15rem; }
@media (hover: hover) { .toc a:hover { color: var(--fg); } }
.legal section { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.legal h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 1rem; scroll-margin-top: 6rem; }
.legal h3 { font-size: 1.1rem; font-stretch: 108%; letter-spacing: 0; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: rgba(14, 17, 19, 0.84); margin-bottom: 0.9rem; }
.legal ul { list-style: none; margin: 0 0 1rem; }
.legal ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 0.4rem; background: var(--acc); }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--acc); }
.legal strong { color: var(--fg); font-weight: 700; }
.tbl { overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: 1.1rem; border: 0.0625rem solid var(--line); }
.tbl table { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: 0.88rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 0.0625rem solid var(--line); color: rgba(14, 17, 19, 0.84); }
.tbl th { background: var(--tint); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.tbl tr:last-child td { border-bottom: 0; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- rolagem guiada (progressivo) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__media img { animation: drift linear both; animation-timeline: scroll(root block); animation-range: 0 100dvh; }
    @keyframes drift { to { transform: scale(1.12) translateY(4%); } }
  }
}

code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; padding: 0.1em 0.4em; border-radius: 0.3rem; background: var(--tint); }
.legal .toc a { text-decoration: none; }
