:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f1f2f5;
  --fg: #1d2026;
  --muted: #636973;
  --line: #e3e5e9;
  --line-2: #cfd3d9;
  --graphite: #1f2124;
  --graphite-2: #2a2d32;
  --on-graphite: #eceef1;
  --on-graphite-muted: #9aa0a9;
  --brand: #b2423f;
  --brand-bright: #e5534b;
  --brand-soft: #fbecea;
  --ok: #1e7a4c;
  --ok-soft: #e2f4ea;
  --sh-2: 0 1px 3px rgba(16,24,40,.07),0 1px 2px rgba(16,24,40,.04);
  --sh-3: 0 4px 14px -2px rgba(16,24,40,.10),0 2px 4px -2px rgba(16,24,40,.06);
  --sh-4: 0 24px 48px -12px rgba(16,24,40,.28);
  --head-bg: rgba(255,255,255,.78);
  --f-body: "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-logo: "Nunito","Inter",system-ui,sans-serif;
  --f-mono: "IBM Plex Mono",ui-monospace,monospace;
  --r: 16px;
  --r-sm: 10px;
  --wrap: min(1180px,100% - 32px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111215;
  --surface: #1a1c20;
  --surface-2: #22252a;
  --fg: #eceef1;
  --muted: #9aa0a9;
  --line: #2b2e34;
  --line-2: #3a3e45;
  --graphite: #0b0c0e;
  --graphite-2: #17191c;
  --brand: #ee7d74;
  --brand-soft: #3a201e;
  --ok: #5fcf91;
  --ok-soft: #13301f;
  --sh-2: 0 1px 3px rgba(0,0,0,.35);
  --sh-3: 0 6px 16px -4px rgba(0,0,0,.5);
  --sh-4: 0 24px 48px -12px rgba(0,0,0,.7);
  --head-bg: rgba(17,18,21,.78);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.sr,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.nowrap {
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
}

.logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--graphite);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

.logo-mark::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ff9a90 0, #e5534b 45%, #b8423b 100%);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--brand-bright);
}

.logo-mark span {
  position: relative;
  font: 900 15px/1 var(--f-logo);
  color: #fff;
  letter-spacing: -.04em;
}

.logo small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.1;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--head-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.top.scrolled {
  border-bottom-color: var(--line);
}

/* Fita métrica: estica com o scroll; as marcas são centímetros e milímetros reais do CSS */
.fita {
  --p: 0;
  position: absolute;
  inset: 100% 0 auto;
  height: 15px;
  pointer-events: none;
  transition: opacity .3s;
}

.fita.vazia {
  opacity: 0;
}

.fita-fita {
  height: 11px;
  background:
    repeating-linear-gradient(90deg, #1d1d1d 0 1px, transparent 1px 1cm) top / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #1d1d1d 0 1px, transparent 1px .5cm) top / 100% 4.5px no-repeat,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .5) 0 1px, transparent 1px 1mm) top / 100% 2.5px no-repeat,
    #f5c518;
  border-bottom: 1px solid #c99a00;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}

.fita-ponta {
  position: absolute;
  top: 0;
  left: calc(var(--p) * 100%);
  width: 3px;
  height: 15px;
  margin-left: -2px;
  background: #8a8f97;
  border-radius: 0 1px 2px 0;
}

.fita-cm {
  position: absolute;
  top: 19px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f5c518;
  color: #1d1d1d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  font: 600 11px/1.4 var(--f-mono);
  white-space: nowrap;
  opacity: 0;
  translate: 0 -4px;
  transition: opacity .25s, translate .25s;
}

.fita.mexe .fita-cm {
  opacity: 1;
  translate: 0 0;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s,background .15s;
}

.nav a:hover {
  color: var(--fg);
  background: var(--surface-2);
}

.nav a.on {
  color: var(--fg);
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--line-2);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s,background .15s,border-color .15s;
}

.btn:active {
  transform: scale(.97);
}

.btn-brand {
  background: var(--brand-bright);
  color: #fff;
}

.btn-brand:hover {
  background: #d4443c;
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(127,127,127,.12);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.top .btn {
  padding: 10px 16px;
  font-size: 14px;
}

#menu-btn {
  display: none;
}

#menu {
  border: 0;
  padding: 12px;
  margin: 76px 16px auto auto;
  width: min(280px,calc(100% - 32px));
  border-radius: var(--r);
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--sh-4);
}

#menu::backdrop {
  background: rgba(0,0,0,.25);
}

#menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}

#menu a:hover {
  background: var(--surface-2);
}

@media (max-width:1240px) {
  .nav {
    display: none;
  }
  #menu-btn {
    display: grid;
  }
  .top .btn {
    display: none;
  }
}

.hero {
  position: relative;
  padding: 0;
  background: var(--graphite);
  color: var(--on-graphite);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%,#000 30%,transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: var(--brand-bright);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 88px 104px;
  min-height: min(100svh,960px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12.5px/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
}

.hero .eyebrow {
  color: #f19a93;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero-txt {
  container-type: inline-size;
  min-width: 0;
}

.marca {
  margin: 0;
  font: 900 min(34cqi, 230px)/1 var(--f-logo);
  letter-spacing: -.05em;
}

/* Monograma WT com a bola do logótipo por trás; --mx/--my (rato) dão profundidade */
.marca .mono {
  position: relative;
  display: inline-flex;
  padding: .14em .12em .1em .06em;
  isolation: isolate;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.marca .bola {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1.08em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ff9a90 0, #e5534b 38%, #b8423b 70%, #8a2e29 100%);
  box-shadow: inset -.05em -.07em .14em rgba(0, 0, 0, .45), 0 .1em .22em rgba(0, 0, 0, .4);
  translate: calc(-50% + var(--mx, 0) * 5%) calc(-50% + var(--my, 0) * 5%);
  transform-origin: 50% 100%;
  transition: translate .4s cubic-bezier(.2, .8, .2, 1);
}

.marca .mono i {
  display: inline-block;
  font-style: normal;
  color: #fff;
  text-shadow: 0 .03em .08em rgba(0, 0, 0, .35);
  translate: calc(var(--mx, 0) * -.03em) calc(var(--my, 0) * -.03em);
  transition: translate .4s cubic-bezier(.2, .8, .2, 1);
}

/* MOBILIÁRIO arrumado numa prateleira; o acento do Á é a peça vermelha */
.marca .mob {
  display: block;
  width: fit-content;
  margin-top: .12em;
  padding-bottom: .3em;
  font-size: min(15.5cqi, 104px);
  letter-spacing: -.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.marca .letras {
  display: flex;
  padding-inline: .1em;
}

.marca .mob i {
  display: inline-block;
  font-style: normal;
  color: #fff;
  transform-origin: 50% 100%;
  transition: translate .25s cubic-bezier(.2, 1.4, .4, 1);
}

.marca .mob i:hover {
  translate: 0 -.08em;
}

.marca .acento {
  position: relative;
}

.marca .acento::after {
  content: "";
  position: absolute;
  left: 60%;
  top: .02em;
  width: .1em;
  height: .2em;
  border-radius: 1em;
  background: #fff;
  translate: -50% -100%;
  rotate: 38deg;
}

.marca .prateleira {
  position: relative;
  display: block;
  height: .1em;
  margin-top: .02em;
  border-radius: .02em;
  background: linear-gradient(#e2c497, #c09a63);
  box-shadow: 0 .06em .14em rgba(0, 0, 0, .45);
  transform-origin: left;
}

.marca .prateleira::before,
.marca .prateleira::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 12%;
  width: .13em;
  height: .17em;
  background: #8a8f97;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.marca .prateleira::after {
  left: auto;
  right: 12%;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.marca-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font: 600 13px/1 var(--f-mono);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-graphite-muted);
}

.marca-sub::before {
  content: "";
  width: 72px;
  height: 5px;
  border-radius: 3px;
  background: var(--brand-bright);
  flex: none;
}

.hero .tag {
  font-size: clamp(22px,2.3vw,30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 36px 0 14px;
  max-width: 26ch;
  text-wrap: balance;
}

.hero .tag em {
  font-style: normal;
  color: #f19a93;
}

.hero p.lead {
  font-size: clamp(16px,1.4vw,18px);
  color: var(--on-graphite-muted);
  max-width: 50ch;
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-vis {
  position: relative;
  margin: 0;
  aspect-ratio: 5/4;
  border-radius: 22px;
  overflow: hidden;
  background: #17191c;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.08);
}

.hero-vis img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A marca WT está no canto inferior direito: o corte e o zoom partem desse canto, para ela ficar à vista */
  object-position: 50% 100%;
  transform-origin: 100% 100%;
}

.hero-vis .blueprint {
  position: absolute;
  left: 6%;
  top: 9%;
  width: 88%;
  height: 82%;
}

.hero-vis::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--brand-bright);
  box-shadow: 0 0 22px 3px rgba(229,83,75,.75);
  opacity: 0;
  pointer-events: none;
}

.hero-vis figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(17,18,21,.72);
  backdrop-filter: blur(8px);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.hero-vis figcaption b {
  font-weight: 600;
  color: #f19a93;
}

.hero-vis figcaption > * {
  white-space: nowrap;
}

@media (max-width:480px) {
  .hero-vis figcaption {
    flex-wrap: wrap;
    gap: 5px 10px;
    right: 14px;
  }
}

.hero-vis img.on {
  z-index: 1;
}

/* Apresentação: barras estilo "stories"; cada barra cheia passa ao projeto seguinte */
.hv-barras {
  position: absolute;
  z-index: 3;
  inset: 14px 14px auto;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity .5s;
}

.hero-vis.ciclo .hv-barras {
  opacity: 1;
}

.hv-barras span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}

.hv-barras i {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hv-barras .feita i {
  transform: none;
}

.hero-vis.ciclo .hv-barras .agora i {
  animation: hv-barra 5.5s linear forwards;
}

.hero-vis.pausa .hv-barras i,
.hero-vis.pausa img.on {
  animation-play-state: paused !important;
}

@media (hover:hover) {
  .hero-vis:hover .hv-barras i,
  .hero-vis:hover img.on {
    animation-play-state: paused !important;
  }
}

@keyframes hv-barra {
  to {
    transform: none;
  }
}

.hv-ant,
.hv-seg {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 40%;
  padding: 0;
  border: 0;
  background: none;
  cursor: w-resize;
}

.hv-ant {
  left: 0;
}

.hv-seg {
  right: 0;
  width: 60%;
  cursor: e-resize;
}

.hero-vis figcaption {
  z-index: 3;
}

.hero-vis figcaption a {
  color: #f19a93;
  text-decoration: none;
}

.hero-vis figcaption a:hover {
  color: #fff;
}

.hv-leg {
  transition: opacity .3s;
}

.hero-vis figcaption small {
  font-size: inherit;
  color: var(--on-graphite-muted);
  text-transform: none;
  letter-spacing: 0;
}

.blueprint {
  width: 100%;
  height: auto;
  color: #cfd3d9;
}

.blueprint .draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.blueprint .thin {
  stroke-width: 1;
  opacity: .5;
}

.blueprint .dim {
  fill: none;
  stroke: #f19a93;
  stroke-width: 1;
}

.blueprint text {
  font: 500 11px var(--f-mono);
  fill: #f19a93;
}

.blueprint .lbl {
  fill: var(--on-graphite-muted);
  font-size: 10px;
}

@media (prefers-reduced-motion:reduce) {
  .hero-vis .blueprint {
    display: none;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .marca .bola {
    animation: bola-cai 1.15s .1s cubic-bezier(.3, 0, .4, 1) both;
  }
  .marca .prateleira {
    animation: grow-x .6s .75s cubic-bezier(.6, 0, .2, 1) both;
  }
  .marca .mob i {
    animation: letra-cai .55s cubic-bezier(.3, 0, .4, 1) both;
    animation-delay: calc(var(--j) * 55ms + 1s);
  }
  .marca .acento::after {
    animation: acento-cai .6s 2s cubic-bezier(.3, 0, .3, 1) both;
  }
  .marca .mono i {
    animation: letra-pop .6s cubic-bezier(.2, 1.4, .4, 1) both;
    animation-delay: calc(var(--i) * 110ms + 560ms);
  }
  .marca-sub::before {
    transform: scaleX(0);
    transform-origin: left;
    animation: grow-x .8s .85s cubic-bezier(.6,0,.2,1) forwards;
  }
  .marca-sub span,
  .hero .tag,
  .hero p.lead,
  .hero .ctas {
    opacity: 0;
    animation: aparece .8s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .marca-sub span {
    animation-delay: 1s;
  }
  .hero .tag {
    animation-delay: 1.15s;
  }
  .hero p.lead {
    animation-delay: 1.3s;
  }
  .hero .ctas {
    animation-delay: 1.45s;
  }
  .blueprint .draw {
    stroke-dashoffset: 1;
  }
  .blueprint .fade,
  .hero-vis figcaption {
    opacity: 0;
  }
  .hero-vis img {
    clip-path: inset(0 100% 0 0);
    scale: 1.08;
  }
  .ver .blueprint .draw {
    animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards;
    animation-delay: calc(var(--d,0) * 90ms + 200ms);
  }
  .ver .blueprint .fade {
    animation: fade .6s ease forwards;
    animation-delay: calc(var(--d,0) * 90ms + 900ms);
  }
  .hero-vis.ver img.on {
    animation: revela 1.4s 2.1s cubic-bezier(.65,0,.35,1) forwards,zoom 9s 2.1s cubic-bezier(.2,.6,.3,1) forwards;
  }
  .hero-vis.ciclo img.on {
    animation: revela 1.2s cubic-bezier(.65,0,.35,1) forwards,zoom 7s cubic-bezier(.2,.6,.3,1) forwards;
  }
  .hero-vis.ciclo img.sai {
    clip-path: none;
    scale: 1;
  }
  .hero-vis.ciclo.varre::after {
    animation: leitura 1.2s cubic-bezier(.65,0,.35,1) forwards;
  }
  .hero-vis.ver::after {
    animation: leitura 1.4s 2.1s cubic-bezier(.65,0,.35,1) forwards;
  }
  .hero-vis.ver .blueprint {
    animation: fade-out .9s 2.9s ease forwards;
  }
  .hero-vis.ver figcaption {
    animation: aparece .7s 3.3s ease forwards;
  }
}

@keyframes bola-cai {
  0% {
    opacity: 0;
    transform: translateY(-170%) scale(.9, 1.1);
  }
  12% {
    opacity: 1;
  }
  42% {
    transform: translateY(0) scale(1.14, .84);
  }
  60% {
    transform: translateY(-20%) scale(.96, 1.04);
  }
  76% {
    transform: translateY(0) scale(1.06, .94);
  }
  88% {
    transform: translateY(-5%);
  }
  100% {
    transform: none;
  }
}

@keyframes letra-cai {
  0% {
    opacity: 0;
    transform: translateY(-1.1em);
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translateY(0) scale(1.08, .9);
  }
  80% {
    transform: translateY(-.07em);
  }
  100% {
    transform: none;
  }
}

@keyframes acento-cai {
  0% {
    opacity: 0;
    translate: -50% -420%;
  }
  20% {
    opacity: 1;
  }
  60% {
    translate: -50% -100%;
    scale: 1.2 .8;
  }
  80% {
    translate: -50% -140%;
    scale: .95 1.05;
  }
  100% {
    translate: -50% -100%;
  }
}

@keyframes letra-pop {
  from {
    opacity: 0;
    transform: translateY(.25em) scale(.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aparece {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revela {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes zoom {
  to {
    scale: 1;
  }
}

@keyframes leitura {
  0% {
    left: 0;
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@media (max-width:900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-block: 56px 72px;
    gap: 44px;
    min-height: 0;
  }
}

section {
  padding-block: clamp(72px,10vw,128px);
}

@property --n {
  syntax: "<integer>";
  inherits: false;
  initial-value: 0;
}

.numeros {
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.numeros .wrap {
  overflow: hidden;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: -1px 0 0 -1px;
  padding: 0;
  list-style: none;
}

.stat {
  padding: 22px 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-n {
  --n: var(--alvo);
  counter-reset: n var(--n);
  display: inline-flex;
  align-items: baseline;
  font: 900 clamp(54px, 6.4vw, 88px)/1 var(--f-logo);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.stat-n::before {
  content: counter(n);
}

.stat-n::after {
  content: attr(data-sufixo);
  margin-left: .04em;
  font-size: .62em;
  color: var(--brand-bright);
}

.stat-l {
  display: block;
  max-width: 24ch;
  margin-top: 16px;
  font: 600 12.5px/1.45 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-l::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--brand-bright);
  transform-origin: left;
}

@media (prefers-reduced-motion: no-preference) {
  .js .numeros:not(.ver) .stat-n {
    --n: 0;
  }
  .js .numeros:not(.ver) .stat-l::before {
    scale: 0 1;
  }
  .numeros.ver .stat-n {
    transition: --n 2.2s cubic-bezier(.16, 1, .3, 1) calc(var(--k) * 140ms);
  }
  .numeros.ver .stat-l::before {
    transition: scale .9s cubic-bezier(.6, 0, .2, 1) calc(var(--k) * 140ms + 300ms);
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 20px 16px;
  }
  .stat-l {
    letter-spacing: .06em;
  }
}

.sec-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}

.sec-head h2 {
  font-size: clamp(32px,4.4vw,52px);
  font-weight: 800;
}

.sec-head p {
  color: var(--muted);
  font-size: 18px;
}

@supports (animation-timeline:view()) {
  @media (prefers-reduced-motion:no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.galeria {
  display: flex;
  gap: 10px;
  height: clamp(440px,64vh,580px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.g-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--graphite);
  transition: flex-grow .7s cubic-bezier(.2,.8,.2,1);
  outline-offset: 4px;
}

.g-item.on {
  flex-grow: 5.5;
  cursor: default;
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(.7) brightness(.62);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1),filter .7s;
}

.g-item:hover img {
  filter: saturate(.85) brightness(.75);
}

.g-item.on img {
  transform: scale(1);
  filter: none;
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(10,11,13,.86) 0%,rgba(10,11,13,.35) 38%,transparent 62%);
  pointer-events: none;
}

.g-n {
  position: absolute;
  z-index: 1;
  left: 20px;
  top: 18px;
  font: 600 12.5px var(--f-mono);
  color: rgba(255,255,255,.8);
}

.g-tag {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  white-space: nowrap;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  color: #fff;
  transition: opacity .3s;
}

.g-item.on .g-tag {
  opacity: 0;
}

.g-cap {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: #fff;
  opacity: 0;
  translate: 0 14px;
  transition: opacity .35s,translate .5s;
  pointer-events: none;
}

.g-item.on .g-cap {
  opacity: 1;
  translate: 0 0;
  transition-delay: .25s;
}

.g-cap h3 {
  font-size: clamp(26px,3vw,36px);
  font-weight: 800;
}

.g-cap p {
  margin-top: 8px;
  max-width: 46ch;
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
}

.g-ilus {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 14px;
  font: 500 11px var(--f-mono);
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.85);
  opacity: 0;
  transition: opacity .3s;
}

.g-item.on .g-ilus {
  opacity: 1;
}

.g-mais {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.g-mais b {
  color: var(--fg);
  font-weight: 600;
}

@media (max-width:760px) {
  .galeria {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .galeria::-webkit-scrollbar {
    display: none;
  }
  .g-item {
    flex: 0 0 84%;
    height: 460px;
    scroll-snap-align: center;
    cursor: default;
  }
  .g-item img {
    transform: none;
    filter: none;
  }
  .g-item .g-tag {
    opacity: 0;
  }
  .g-item .g-cap,
  .g-item .g-ilus {
    opacity: 1;
    translate: 0 0;
  }
}

#processo {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: calc((100% - 72px) / 4 - 24px);
  height: 2px;
  background: var(--line);
}

.flow::after {
  background: var(--brand);
  transform-origin: left;
}

@supports (animation-timeline:view()) {
  @media (prefers-reduced-motion:no-preference) {
    .flow::after {
      animation: grow-x linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 50%;
    }
  }
}

@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.flow li {
  position: relative;
  counter-increment: s;
}

.flow .n {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font: 600 14px var(--f-mono);
  box-shadow: 0 0 0 6px var(--surface);
}

.flow .n::before {
  content: counter(s,decimal-leading-zero);
}

.flow h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 22px;
}

.flow p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15.5px;
}

/* Projetos: faixa de fotografias que anda para o lado com o scroll; num ecrã estreito, desliza-se com o dedo */
.pj {
  padding-block: clamp(72px, 10vw, 128px);
  background: var(--graphite);
  color: var(--on-graphite);
}

.pj .eyebrow {
  color: #f19a93;
}

.pj .sec-head {
  margin-bottom: 0;
}

.pj .sec-head p {
  color: var(--on-graphite-muted);
}

.pj-cab {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.pj-conta {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: none;
  font: 500 14px var(--f-mono);
  color: var(--on-graphite-muted);
}

.pj-conta b {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

.pj-barra {
  width: 160px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .15);
  overflow: hidden;
}

.pj-barra i {
  display: block;
  height: 100%;
  background: var(--brand-bright);
  transform: scaleX(0);
  transform-origin: left;
}

.pj-pista {
  --h: clamp(300px, 72vw, 440px);
  display: flex;
  gap: 20px;
  height: var(--h);
  margin: 0;
  padding: 0 max(16px, (100% - 1180px) / 2);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(16px, (100% - 1180px) / 2);
  scrollbar-width: none;
}

.pj-pista::-webkit-scrollbar {
  display: none;
}

.pj-item {
  flex: none;
  display: flex;
  flex-direction: column;
  width: calc((var(--h) - 34px) * var(--ar));
  max-width: 84vw;
  height: 100%;
  scroll-snap-align: start;
  scale: var(--s, 1);
  transition: scale .2s linear;
}

.pj-abrir {
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--graphite-2);
  cursor: zoom-in;
}

.pj-abrir img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.04;
  transition: scale .7s cubic-bezier(.2, .8, .2, 1);
}

.pj-abrir:hover img,
.pj-abrir:focus-visible img {
  scale: 1.1;
}

.pj-leg {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--on-graphite-muted);
  white-space: nowrap;
}

.pj-leg b {
  font: 600 13px var(--f-mono);
  color: #f19a93;
}

/* Ecrã largo: a secção fica presa e o scroll vertical empurra a faixa (a altura vem do JS) */
.pj.fixar {
  padding-block: 0;
}

.pj.fixar .pj-fixo {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100svh;
  padding-top: 68px;
  overflow: hidden;
}

.pj.fixar .pj-pista {
  --h: min(56vh, 560px);
  overflow: visible;
  will-change: transform;
}

.lb {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lb::backdrop {
  background: rgba(8, 9, 11, .94);
}

.lb figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 64px 88px;
}

.lb img {
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: calc(100dvh - 180px);
  border-radius: 12px;
  object-fit: contain;
}

.lb figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--on-graphite-muted);
}

.lb button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}

.lb button:hover {
  background: rgba(255, 255, 255, .24);
}

.lb button svg {
  width: 22px;
  height: 22px;
}

.lb-x {
  top: 16px;
  right: 16px;
}

.lb-ant,
.lb-seg {
  top: 50%;
  translate: 0 -50%;
}

.lb-ant {
  left: 20px;
}

.lb-seg {
  right: 20px;
}

@media (max-width:760px) {
  .pj-cab {
    flex-direction: column;
    align-items: flex-start;
  }
  .pj-conta {
    justify-items: start;
  }
  .lb figure {
    padding: 64px 12px 96px;
  }
  .lb-ant,
  .lb-seg {
    top: auto;
    bottom: 24px;
    translate: none;
  }
  .lb-ant {
    left: calc(50% - 60px);
  }
  .lb-seg {
    right: calc(50% - 60px);
  }
}

::view-transition-group(foto) {
  animation-duration: .45s;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}

html.vt-foto::view-transition-old(root),
html.vt-foto::view-transition-new(root) {
  clip-path: none;
  animation: none;
}

/* Processo: o mesmo móvel a ganhar forma, do esboço à entrega */
.flow .palco {
  --madeira: #dcc095;
  --madeira-2: #c9a571;
  --madeira-3: #b28c58;
  --interior: #5d4a36;
  margin-top: 22px;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
}

:root[data-theme="dark"] .flow .palco {
  --madeira: #b9966a;
  --madeira-2: #a58257;
  --madeira-3: #8c6c44;
  --interior: #2c241b;
}

.flow .palco svg {
  width: 100%;
  height: 100%;
}

.flow .palco + h3 {
  margin-top: 18px;
}

.palco .papel {
  fill: var(--surface);
  stroke: var(--line-2);
}

.palco .traco,
.palco .linha,
.palco .corte {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}

.palco .traco {
  stroke: var(--fg);
  stroke-width: 1.6;
}

.palco .traco.fino {
  stroke: var(--muted);
  stroke-width: 1;
}

.palco .nota {
  font: italic 600 10px var(--f-body);
  fill: var(--brand);
}

.palco .lapis-corpo {
  fill: #f2b84b;
}

.palco .lapis-ponta {
  fill: #3a2f25;
}

.palco .grelha {
  fill: none;
  stroke: var(--line);
  stroke-width: .6;
}

.palco .linha {
  stroke: var(--fg);
  stroke-width: 1.4;
}

.palco .cota path {
  fill: none;
  stroke: var(--muted);
  stroke-width: .8;
}

.palco .cota text {
  font: 500 8px var(--f-mono);
  fill: var(--muted);
  text-anchor: middle;
}

.palco .carimbo,
.palco .furo,
.palco .visto,
.palco .brilho {
  transform-box: fill-box;
  transform-origin: center;
}

.palco .carimbo :is(circle, path) {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.palco .carimbo circle + circle {
  stroke-width: .8;
}

.palco .carimbo path {
  stroke-width: 2.4;
}

.palco .mesa {
  fill: var(--graphite-2);
}

.palco .placa {
  fill: var(--madeira);
}

.palco .corte {
  stroke: var(--brand-bright);
  stroke-width: 2;
}

.palco .peca {
  transform: translate(-3px, -5px);
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, .35));
}

.palco .peca rect {
  fill: var(--madeira);
  stroke: var(--madeira-3);
  stroke-width: .8;
}

.palco .furo {
  fill: var(--interior);
}

.palco .cnc-y {
  transform: translateY(26px);
}

.palco .cnc-x {
  transform: translateX(166px);
}

.palco .portico {
  fill: #5c6066;
}

.palco .cabeca {
  fill: #8a8f97;
}

.palco .fresa {
  fill: var(--brand-bright);
  stroke: #fff;
}

.palco .po {
  fill: var(--madeira-2);
  opacity: 0;
}

.palco .janela {
  fill: var(--surface);
  stroke: var(--line-2);
  stroke-width: 1.2;
}

.palco path.janela {
  fill: none;
}

.palco .chao {
  stroke: var(--line-2);
  stroke-width: 1.5;
}

.palco .corpo {
  fill: var(--madeira-3);
}

.palco .interior,
.palco .rodape {
  fill: var(--interior);
}

.palco .prat {
  stroke: var(--madeira-3);
  stroke-width: 2;
}

.palco .gaveta,
.palco .porta rect {
  fill: var(--madeira);
}

.palco .puxador {
  stroke: #3a3d42;
  stroke-width: 2;
  stroke-linecap: round;
}

.palco .porta {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(.14);
}

.palco .folha {
  fill: #4f9a62;
}

.palco .vaso {
  fill: #c46a4a;
}

.palco .visto circle {
  fill: var(--ok);
}

.palco .visto path {
  fill: none;
  stroke: var(--surface);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.palco .brilho {
  fill: #f2b84b;
  opacity: 0;
}

/* Só anima com JavaScript e sem "reduzir movimento"; cada passo arranca ao aparecer (--d dá a ordem) */
.flow.anim li:not(.ver) * {
  animation-play-state: paused !important;
}

.flow.anim li.rep * {
  animation: none !important;
}

.flow.anim .n {
  animation: proc-acender .6s ease-out both;
  animation-delay: var(--d, 0s);
}

.flow.anim .traco {
  animation: proc-tracar .7s cubic-bezier(.3, .6, .4, 1) both;
  animation-delay: calc(var(--d, 0s) + .2s + var(--i) * .45s);
}

.flow.anim .nota {
  animation: proc-surgir .4s ease-out both;
  animation-delay: calc(var(--d, 0s) + 1.9s);
}

.flow.anim .lapis {
  animation: proc-rabiscar .2s ease-in-out 10 alternate;
  animation-delay: calc(var(--d, 0s) + .2s);
}

.flow.anim .linha {
  animation: proc-tracar .5s ease-out both;
  animation-delay: calc(var(--d, 0s) + var(--i) * .25s);
}

.flow.anim .cota {
  animation: proc-surgir .45s ease-out both;
  animation-delay: calc(var(--d, 0s) + 1.1s);
}

.flow.anim .carimbo {
  animation: proc-carimbo .45s cubic-bezier(.2, 1.5, .4, 1) both;
  animation-delay: calc(var(--d, 0s) + 1.6s);
}

/* O corte (80% do tempo) acompanha a fresa; nos últimos 20% a máquina estaciona */
.flow.anim .cnc-y {
  animation: proc-cnc-y 3s linear both;
  animation-delay: calc(var(--d, 0s) + .3s);
}

.flow.anim .cnc-x {
  animation: proc-cnc-x 3s linear both;
  animation-delay: calc(var(--d, 0s) + .3s);
}

.flow.anim .corte {
  animation: proc-tracar 2.4s linear both;
  animation-delay: calc(var(--d, 0s) + .3s);
}

.flow.anim .po {
  animation: proc-po .6s ease-out 4;
  animation-delay: calc(var(--d, 0s) + .3s + var(--i) * .2s);
}

.flow.anim .peca {
  animation: proc-mostrar .01s both, proc-levantar .6s ease-out both;
  animation-delay: calc(var(--d, 0s) + 2.7s), calc(var(--d, 0s) + 3.6s);
}

.flow.anim .furo {
  animation: proc-pop .3s cubic-bezier(.2, 1.6, .4, 1) both;
  animation-delay: calc(var(--d, 0s) + 2.8s + var(--i) * .12s);
}

.flow.anim .movel {
  animation: proc-cair .8s cubic-bezier(.3, 1.4, .5, 1) both;
  animation-delay: calc(var(--d, 0s) + .1s);
}

.flow.anim .porta {
  animation: proc-abrir .6s ease-in-out both;
  animation-delay: calc(var(--d, 0s) + 1s);
}

.flow.anim .visto {
  animation: proc-pop .4s cubic-bezier(.2, 1.6, .4, 1) both;
  animation-delay: calc(var(--d, 0s) + 1.6s);
}

.flow.anim .brilho {
  animation: proc-brilho .9s ease-in-out 2;
  animation-delay: calc(var(--d, 0s) + 1.8s + var(--i) * .3s);
}

@keyframes proc-acender {
  from {
    background: var(--line-2);
  }
  60% {
    box-shadow: 0 0 0 6px var(--surface), 0 0 0 14px color-mix(in srgb, var(--brand) 25%, transparent);
  }
}

@keyframes proc-tracar {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes proc-surgir {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes proc-rabiscar {
  to {
    transform: translate(-3px, 2px) rotate(-2deg);
  }
}

@keyframes proc-carimbo {
  from {
    opacity: 0;
    scale: 2.2;
  }
  60% {
    opacity: 1;
  }
}

@keyframes proc-cnc-y {
  0%,
  24.86% {
    transform: translateY(48px);
  }
  40%,
  64.86% {
    transform: translateY(104px);
  }
  80% {
    transform: translateY(48px);
  }
  100% {
    transform: translateY(26px);
  }
}

@keyframes proc-cnc-x {
  0% {
    transform: translateX(54px);
  }
  24.86%,
  40% {
    transform: translateX(146px);
  }
  64.86%,
  80% {
    transform: translateX(54px);
  }
  100% {
    transform: translateX(166px);
  }
}

@keyframes proc-po {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(calc((var(--i) - 1) * 7px), calc((var(--i) - 1.5) * 5px));
  }
}

@keyframes proc-mostrar {
  from {
    opacity: 0;
  }
}

@keyframes proc-levantar {
  from {
    transform: none;
    filter: none;
  }
}

@keyframes proc-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes proc-cair {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  40% {
    opacity: 1;
  }
}

@keyframes proc-abrir {
  from {
    transform: none;
  }
}

@keyframes proc-brilho {
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
  }
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@media (max-width:900px) {
  .flow {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .flow::before,
  .flow::after {
    display: none;
  }
}

@media (max-width:520px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

#onde {
  padding-bottom: 0;
}

.map-card {
  position: relative;
  height: clamp(440px,64vh,600px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  background: var(--surface-2);
}

#map {
  position: absolute;
  inset: 0;
}

#map:not(.ok) {
  background: radial-gradient(circle at 50% 50%,transparent 0 60%,var(--surface-2) 100%), linear-gradient(var(--line) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,var(--line) 1px,transparent 1px) 0 0/40px 40px;
}

.map-info {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  width: min(380px,calc(100% - 40px));
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: color-mix(in oklab,var(--surface) 80%,transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid color-mix(in oklab,var(--line) 70%,transparent);
  box-shadow: var(--sh-4);
}

.map-info .row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-info b {
  font-size: 17px;
  display: block;
  line-height: 1.25;
}

.map-info .addr {
  color: var(--muted);
  font-size: 14.5px;
  font-style: normal;
}

.go {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.go a,
.go button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13.5px var(--f-body);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
}

.go a:hover,
.go button:hover {
  border-color: var(--fg);
}

.go a.main {
  background: var(--brand-bright);
  border-color: transparent;
  color: #fff;
}

.go svg {
  width: 15px;
  height: 15px;
}

.pin {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.pin::before,
.pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-bright);
  opacity: .35;
  animation: ring 2.4s ease-out infinite;
}

.pin::after {
  animation-delay: 1.2s;
}

.pin .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff,0 8px 20px rgba(0,0,0,.35);
}

@keyframes ring {
  from {
    transform: scale(.8);
    opacity: .45;
  }
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

.maplibregl-ctrl-group {
  border-radius: 12px!important;
  overflow: hidden;
  box-shadow: var(--sh-3)!important;
  background: var(--surface)!important;
}

.maplibregl-ctrl-group button+button {
  border-top-color: var(--line)!important;
}

.maplibregl-ctrl-attrib {
  font-size: 11px;
}

:root[data-theme="dark"] .maplibregl-ctrl-group .maplibregl-ctrl-icon {
  filter: invert(1);
}

@media (max-width:600px) {
  .map-card {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  #map {
    position: relative;
    height: 360px;
    inset: auto;
  }
  .map-info {
    position: static;
    width: auto;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--line);
    box-shadow: none;
    background: var(--surface);
  }
}

/* Espaços: a mesma divisão transforma-se em casa, quarto de hotel ou loja */
#espacos {
  background: var(--bg);
}

.esp {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.esp-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--sh-2);
}

.esp-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 15px var(--f-body);
  cursor: pointer;
  transition: background .25s, color .25s;
}

.esp-tabs button svg {
  width: 18px;
  height: 18px;
}

.esp-tabs button:hover {
  color: var(--fg);
}

.esp-tabs [aria-selected="true"] {
  background: var(--brand);
  color: #fff;
}

.esp-tabs [aria-selected="true"]:hover {
  color: #fff;
}

.esp-painel {
  margin-top: 32px;
}

.esp-painel h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
}

.esp-painel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.esp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.esp-chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
}

@media (prefers-reduced-motion:no-preference) {
  .esp-painel:not([hidden]) > * {
    animation: aparece .5s cubic-bezier(.2, .8, .2, 1) both;
  }
  .esp-painel:not([hidden]) > p {
    animation-delay: .06s;
  }
  .esp-painel:not([hidden]) > ul {
    animation-delay: .12s;
  }
  .esp-painel:not([hidden]) > a {
    animation-delay: .18s;
  }
}

.esp-cena {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-3);
}

.cena {
  --parede: #efe7dc;
  --chao: #d9bf98;
  --madeira: #dcc095;
  --madeira-3: #b28c58;
  --interior: #5d4a36;
  width: 100%;
  height: auto;
}

.cena[data-modo="hotel"] {
  --parede: #e1e7ec;
  --chao: #9aa3ab;
}

.cena[data-modo="loja"] {
  --parede: #f6f5f2;
  --chao: #d4d6da;
}

:root[data-theme="dark"] .cena {
  --parede: #2b2621;
  --chao: #4a3d2e;
  --madeira: #b9966a;
  --madeira-3: #8c6c44;
  --interior: #2c241b;
}

:root[data-theme="dark"] .cena[data-modo="hotel"] {
  --parede: #222a31;
  --chao: #39424a;
}

:root[data-theme="dark"] .cena[data-modo="loja"] {
  --parede: #2a2b2e;
  --chao: #3a3d42;
}

.cena .piso {
  opacity: 0;
  transition: opacity .6s ease;
}

.cena[data-modo="casa"] .piso-casa,
.cena[data-modo="hotel"] .piso-hotel,
.cena[data-modo="loja"] .piso-loja {
  opacity: 1;
}

.cena .tab-a {
  fill: #cfae80;
}

.cena .tab-j {
  fill: rgba(0, 0, 0, .14);
}

.cena .mos-a {
  fill: #e3e4e6;
}

.cena .mos-j {
  fill: none;
  stroke: rgba(0, 0, 0, .12);
  stroke-width: 1;
}

.cena .alc-a {
  fill: #8f8a83;
}

.cena .alc-p {
  fill: rgba(255, 255, 255, .08);
}

:root[data-theme="dark"] .cena .tab-a {
  fill: #5a4632;
}

:root[data-theme="dark"] .cena .mos-a {
  fill: #3a3d42;
}

:root[data-theme="dark"] .cena .alc-a {
  fill: #3e3a36;
}

.cena .sombra {
  fill: rgba(0, 0, 0, .35);
  filter: url(#esp-desfoca);
}

.cena .est-1 {
  stop-color: #4a6b7f;
}

.cena .est-2 {
  stop-color: #2f4757;
}

.cena .botoes {
  fill: rgba(0, 0, 0, .35);
}

.cena .led {
  stroke: #ffe2a8;
  stroke-width: 1.5;
}

.cena .led-luz {
  stroke: #ffc560;
  stroke-width: 10;
  opacity: .45;
  filter: url(#esp-desfoca-forte);
}

.cena .cone {
  fill: #ffe9b8;
  opacity: .14;
}

:root[data-theme="dark"] .cena .cone {
  opacity: .1;
}

.cena .raio {
  fill: #fff;
  opacity: .1;
}

/* À noite (tema escuro) as luzes do quarto brilham mais */
.cena .luz {
  opacity: .55;
}

:root[data-theme="dark"] .cena .luz {
  opacity: 1;
}

:root[data-theme="dark"] .cena .raio {
  opacity: .03;
}

.cena .parede,
.cena .chao {
  transition: fill .6s ease;
}

.cena .parede {
  fill: var(--parede);
}

.cena .chao {
  fill: var(--chao);
}

.cena .rodape-p {
  stroke: rgba(0, 0, 0, .15);
  stroke-width: 3;
}

.cena .mad {
  fill: var(--madeira);
}

.cena .mad-3 {
  fill: var(--madeira-3);
}

.cena .int {
  fill: var(--interior);
}

.cena .int-loja {
  fill: #f4f2ee;
}

:root[data-theme="dark"] .cena .int-loja {
  fill: #3a3631;
}

.cena .ripa {
  fill: var(--madeira);
}

.cena .ripa-fundo {
  fill: var(--interior);
}

.cena .linha-f {
  stroke: var(--madeira-3);
  stroke-width: 1.2;
}

.cena .puxa {
  stroke: #3a3d42;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.cena .estofo {
  fill: #3d5a6c;
}

.cena .tufo {
  stroke: rgba(0, 0, 0, .22);
  stroke-width: 1.5;
}

.cena .placa-q {
  fill: #1d1d1d;
}

.cena .num,
.cena .aberto {
  font: 700 10px var(--f-mono);
  fill: #f2d48b;
  text-anchor: middle;
}

.cena .aberto {
  font-size: 11px;
  letter-spacing: .12em;
  fill: #5fcf91;
}

.cena .balcao {
  fill: var(--brand);
}

/* Troca de espaço: as peças que saem caem e somem; as que entram sobem uma a uma */
.cena .peca {
  opacity: 0;
  transform: translateY(18px) scale(.94);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  pointer-events: none;
  transition: opacity .25s ease-in, transform .3s ease-in;
}

.cena[data-modo="casa"] .m-casa .peca,
.cena[data-modo="hotel"] .m-hotel .peca,
.cena[data-modo="loja"] .m-loja .peca {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease-out calc(.28s + var(--k) * .1s), transform .6s cubic-bezier(.2, 1.4, .4, 1) calc(.28s + var(--k) * .1s);
}

.cena[data-modo="loja"] .placa-aberto {
  transform-origin: 50% 0;
}

@media (prefers-reduced-motion:no-preference) {
  .cena[data-modo="loja"] .placa-aberto {
    animation: balanca 2.6s 1s ease-in-out infinite alternate;
  }
}

@keyframes balanca {
  from {
    rotate: -3deg;
  }
  to {
    rotate: 3deg;
  }
}

.cena.com-foco .peca {
  transition-delay: 0s !important;
}

.cena.com-foco[data-modo="casa"] .m-casa .peca:not(.foco),
.cena.com-foco[data-modo="hotel"] .m-hotel .peca:not(.foco),
.cena.com-foco[data-modo="loja"] .m-loja .peca:not(.foco) {
  opacity: .3;
}

.pinos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pino {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  pointer-events: auto;
  cursor: pointer;
}

.pino::before {
  content: "+";
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font: 700 18px/1 var(--f-body);
  transition: rotate .25s;
}

.pino span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font: 600 13px/1.3 var(--f-body);
  white-space: nowrap;
  opacity: 0;
  translate: -50% 4px;
  pointer-events: none;
  transition: opacity .2s, translate .2s;
}

.pino:hover,
.pino:focus-visible {
  z-index: 1;
}

.pino:hover::before,
.pino:focus-visible::before,
.pino:focus::before {
  rotate: 45deg;
}

.pino:hover span,
.pino:focus span {
  opacity: 1;
  translate: -50% 0;
}

/* Pino perto da borda: a etiqueta abre para dentro */
.pino.esq span {
  left: -4px;
  translate: 0 4px;
}

.pino.dir span {
  left: auto;
  right: -4px;
  translate: 0 4px;
}

.pino:is(.esq, .dir):is(:hover, :focus) span {
  translate: 0 0;
}

@media (prefers-reduced-motion:no-preference) {
  .pinos:not([hidden]) .pino {
    animation: pino-entra .4s cubic-bezier(.2, 1.6, .4, 1) both, pino-pulsa 2.4s 1.4s ease-out infinite;
  }
  .pinos:not([hidden]) .pino:nth-child(2) {
    animation-delay: .9s, 1.6s;
  }
  .pinos:not([hidden]) .pino:nth-child(3) {
    animation-delay: 1s, 1.8s;
  }
  .pinos:not([hidden]) .pino:first-child {
    animation-delay: .8s, 1.4s;
  }
}

@keyframes pino-entra {
  from {
    opacity: 0;
    scale: 0;
  }
}

@keyframes pino-pulsa {
  0% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 0 0 12px transparent;
  }
}

@media (max-width:900px) {
  .esp {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .esp-cena {
    order: -1;
  }
}

@media (max-width:420px) {
  .esp-tabs {
    display: flex;
  }
  .esp-tabs button {
    flex: 1;
    justify-content: center;
    padding-inline: 8px;
  }
}

#materiais {
  background: var(--graphite);
  color: var(--on-graphite);
}

#materiais .sec-head p {
  color: var(--on-graphite-muted);
}

#materiais .eyebrow {
  color: #f19a93;
}

.mat {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: stretch;
}

.mat-list {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 0;
  margin: 0;
  padding: 0;
}

.mat-list label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: background .15s,border-color .15s;
}

.mat-list label:hover {
  background: rgba(255,255,255,.04);
}

.mat-list label:has(input:checked) {
  border-color: #f19a93;
  background: rgba(229,83,75,.1);
}

.mat-list label:has(input:focus-visible) {
  outline: 2px solid #f19a93;
  outline-offset: 2px;
}

.mat-list input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.sw {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}

.mat-list b {
  display: block;
  font-weight: 600;
}

.mat-list small {
  color: var(--on-graphite-muted);
  font-size: 13px;
}

.mat-view {
  display: grid;
  grid-template-rows: minmax(440px,1fr) auto;
  border-radius: var(--r);
  background: var(--graphite-2);
  border: 1px solid rgba(255,255,255,.08);
  min-height: 640px;
  overflow: hidden;
}

.stage {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 40% at 50% 80%,rgba(255,255,255,.08),transparent 70%);
}

.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.stage canvas:active {
  cursor: grabbing;
}

.stage .tex {
  position: absolute;
  inset: 28px 28px 0;
  border-radius: 12px;
  opacity: 0;
  transition: opacity .35s;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.08);
}

.mat-view.gl .stage .tex {
  display: none;
}

.stage .hint {
  position: absolute;
  left: 20px;
  top: 18px;
  font: 500 11.5px var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-graphite-muted);
  pointer-events: none;
}

.mat-view:not(.gl) :is(.hint, .cab-btn, .callout) {
  display: none;
}

.cab-btn {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13.5px var(--f-body);
  color: var(--on-graphite);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(17,18,21,.55);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .2s,border-color .2s;
}

.cab-btn:hover {
  border-color: rgba(255,255,255,.35);
}

.cab-btn i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f19a93;
  box-shadow: 0 0 0 3px rgba(229,83,75,.25);
}

.cab-btn[aria-pressed="true"] {
  background: var(--brand-bright);
  border-color: transparent;
  color: #fff;
}

.cab-btn[aria-pressed="true"] i {
  background: #fff;
}

.callout {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.callout.on {
  opacity: 1;
}

.callout::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand-bright);
}

.callout::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,.7);
  transform-origin: 0 0;
  transform: rotate(-38deg);
}

.callout div {
  position: absolute;
  left: 44px;
  top: -64px;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(17,18,21,.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  color: var(--on-graphite-muted);
}

.callout b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.callout.esq::after {
  transform: rotate(-142deg);
}

.callout.esq div {
  left: auto;
  right: 44px;
}

.infos {
  display: grid;
  border-top: 1px solid rgba(255,255,255,.06);
}

.panel {
  grid-area: 1/1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s,visibility .35s;
}

.panel .info {
  padding: 22px 28px 26px;
  display: grid;
  gap: 8px;
}

.panel h3 {
  font-size: 26px;
  font-weight: 800;
}

.panel p {
  color: var(--on-graphite-muted);
  max-width: 60ch;
}

.panel .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.panel .tags span {
  font: 500 12.5px var(--f-mono);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.mat:has(#m-mdf:checked) :is(.p-mdf, .stage .t-mdf),
.mat:has(#m-folh:checked) :is(.p-folh, .stage .t-folh),
.mat:has(#m-cont:checked) :is(.p-cont, .stage .t-cont),
.mat:has(#m-mel:checked) :is(.p-mel, .stage .t-mel),
.mat:has(#m-term:checked) :is(.p-term, .stage .t-term) {
  opacity: 1;
  visibility: visible;
}

.t-mdf {
  background: linear-gradient(135deg,#9aa697,#7f8c7d);
}

.t-folh {
  background: repeating-linear-gradient(92deg,#b07a4a 0 3px,#a26d40 3px 5px,#bb8655 5px 11px,#9c663a 11px 12px,#b47d4c 12px 19px),linear-gradient(#a8703f,#a8703f);
  background-blend-mode: multiply;
}

.t-cont {
  background: repeating-linear-gradient(0deg,#d9b98a 0 14px,#c9a571 14px 16px,#e2c497 16px 30px,#c09a63 30px 32px);
}

.t-mel {
  background: linear-gradient(135deg,#f3f2ef,#e6e4df);
}

.t-term {
  background: linear-gradient(160deg,#4a4f57,#2f3338 60%,#3b4047);
}

.sw.t-folh,
.sw.t-cont {
  background-size: auto;
}

.hw-title {
  margin-top: 64px;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width:900px) {
  .mat {
    grid-template-columns: 1fr;
  }
  .mat-list {
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  }
  .mat-view {
    min-height: 0;
    grid-template-rows: 340px auto;
  }
}

.machines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.machines span {
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}

.track {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.track h2 {
  font-size: clamp(32px,4.4vw,52px);
  font-weight: 800;
  margin-top: 16px;
}

.track .lead {
  color: var(--muted);
  font-size: 18px;
  margin-top: 16px;
}

.feats {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.feat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.feat .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.feat .ic svg {
  width: 22px;
  height: 22px;
}

.feat h3 {
  font-size: 17px;
  font-weight: 700;
}

.feat p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-4);
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.card-head b {
  font-size: 16px;
}

.card-head small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.pill {
  font: 600 12px var(--f-mono);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}

.pill.live {
  background: var(--ok-soft);
  color: var(--ok);
}

.pill.live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: .25;
  }
}

.phases {
  list-style: none;
  margin: 0;
  padding: 10px 12px 14px;
}

.phase {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  transition: background .3s;
}

.phase .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: all .3s;
}

.phase .dot svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
}

.phase .t {
  font: 500 12px var(--f-mono);
  color: var(--muted);
}

.phase.done .dot {
  background: var(--ok);
  border-color: var(--ok);
}

.phase.done .dot svg {
  opacity: 1;
}

.phase.now {
  background: var(--brand-soft);
}

.phase.now .dot {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklab,var(--brand) 22%,transparent);
}

.phase.now span:nth-child(2) {
  font-weight: 600;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.qr {
  width: 64px;
  height: 64px;
  flex: none;
  background: #fff;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.card-foot p {
  font-size: 13.5px;
  color: var(--muted);
}

.card-foot b {
  color: var(--fg);
}

.progress {
  height: 4px;
  background: var(--line);
}

.progress i {
  display: block;
  height: 100%;
  width: var(--p,0%);
  background: var(--brand);
  transition: width .5s;
}

@media (max-width:900px) {
  .track {
    grid-template-columns: 1fr;
  }
}

#contacto {
  padding-bottom: clamp(64px,8vw,96px);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px,4vw,48px);
  box-shadow: var(--sh-3);
}

.contact h2 {
  font-size: clamp(30px,4vw,44px);
  font-weight: 800;
  margin-top: 16px;
}

.contact .lead {
  color: var(--muted);
  margin-top: 14px;
}

.c-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.c-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
}

.c-list .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}

.c-list svg {
  width: 18px;
  height: 18px;
}

.c-list small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.c-list a {
  display: inline-block;
  padding-block: 6px;
  margin-block: -4px;
  text-decoration: none;
  font-weight: 500;
}

.c-list a:hover {
  color: var(--brand);
}

form {
  display: grid;
  gap: 14px;
}

form[hidden] {
  display: none;
}

form .btn {
  justify-self: start;
}

.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13.5px;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
  field-sizing: content;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 0;
  border-color: transparent;
}

.hint {
  font-size: 13px;
  color: var(--muted);
}

.opc {
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.foto-add,
.foto {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: var(--r-sm);
  flex: none;
}

.foto-add {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  border: 1.5px dashed var(--line-2);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s,color .15s;
}

.foto-add:hover,
.foto-add:focus-within {
  border-color: var(--brand);
  color: var(--brand);
}

.foto-add svg {
  width: 22px;
  height: 22px;
}

.foto-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  padding: 0;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid var(--line);
}

.foto button {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--fg);
  color: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.foto button svg {
  width: 12px;
  height: 12px;
}

.fotos.cheio .foto-add {
  display: none;
}

.f-estado:empty {
  display: none;
}

.f-estado {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--fg);
}

.f-estado a {
  font-weight: 600;
  color: var(--brand);
}

#enviar[aria-busy="true"] {
  opacity: .7;
  pointer-events: none;
}

.f-ok {
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 8px 0;
}

.f-ok[hidden] {
  display: none;
}

.f-ok:focus {
  outline: none;
}

.f-ok-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
}

.f-ok-ic svg {
  width: 26px;
  height: 26px;
}

.f-ok h3 {
  font-size: 26px;
  font-weight: 800;
}

.f-ok p {
  color: var(--muted);
  max-width: 380px;
}

@media (max-width:900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .f2 {
    grid-template-columns: 1fr;
  }
}

.foot {
  position: relative;
  background: var(--graphite);
  color: var(--on-graphite-muted);
  font-size: 15px;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: 32px 32px;
}

.foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand-bright);
}

.foot a {
  text-decoration: none;
  transition: color .15s;
}

.foot a:hover {
  color: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-block: 64px 48px;
}

.foot .logo {
  color: #fff;
}

.foot .logo small {
  color: var(--on-graphite-muted);
}

.foot .logo-mark {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

/* Logótipos de cofinanciamento: cores originais (regras dos fundos), numa pastilha clara discreta dentro do rodapé */
.apoios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 40px;
  padding: 14px 14px 14px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
}

.apoios-t {
  font: 600 12px/1.4 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-graphite-muted);
}

.apoios-logos {
  display: block;
  flex: 0 1 560px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
}

.apoios img {
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .apoios {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }
  .apoios-logos {
    flex: none;
    width: 100%;
    padding: 8px 10px;
  }
}

.foot-brand p {
  margin-top: 18px;
  max-width: 300px;
  line-height: 1.6;
}

.foot-col h3 {
  font: 600 12px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 16px;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.foot-col li a,
.foot-col li span {
  display: inline-block;
  padding-block: 5px;
}

.foot-col small {
  display: block;
  font-size: 12px;
  color: #6f757e;
  margin-top: 6px;
}

.foot-col small:first-child {
  margin-top: 0;
}

.foot .lr {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.foot .lr:hover {
  border-color: rgba(255,255,255,.35);
}

.foot .lr svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--brand-bright);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

.foot-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.foot-top svg {
  width: 16px;
  height: 16px;
}

@media (max-width:900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}

@media (max-width:560px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 52px 36px;
  }
  .foot-contactos {
    order: 0;
  }
  .foot-col ul {
    grid-template-columns: 1fr 1fr;
    gap: 2px 20px;
  }
  .foot-contactos ul {
    gap: 6px 20px;
  }
  .foot-contactos li:nth-child(n+3) {
    grid-column: 1/-1;
  }
}

.wa-ic {
  color: #1fa855;
}

.wa-fab {
  position: fixed;
  z-index: 40;
  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: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35);
  transition: opacity .3s,translate .3s,scale .15s;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

.wa-fab:active {
  scale: .94;
}

.wa-fab.off {
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
}

@media (min-width:761px) {
  .wa-fab {
    display: none;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  clip-path: circle(0 at var(--vx,100%) var(--vy,0));
  animation: reveal .55s cubic-bezier(.6,0,.2,1) forwards;
}

@keyframes reveal {
  to {
    clip-path: circle(150% at var(--vx,100%) var(--vy,0));
  }
}

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
  }
  html {
    scroll-behavior: auto;
  }
}

.hw {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hw-card {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 70%);
  transition: border-color .2s;
}

.hw-card:hover {
  border-color: rgba(255, 255, 255, .22);
}

.hw-card--destaque {
  border-color: rgba(229, 83, 75, .35);
  background: linear-gradient(180deg, rgba(229, 83, 75, .08), transparent 70%);
}

.hw-fig {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse 70% 55% at 50% 62%, rgba(255, 255, 255, .07), transparent 72%);
}

.hw-svg {
  position: absolute;
  inset: 8% 7%;
  width: 86%;
  height: 84%;
  overflow: visible;
}

.hw-card h4 {
  font-size: 16px;
  font-weight: 650;
}

.hw-card p {
  font-size: 13.5px;
  color: var(--on-graphite-muted);
}

.hw-svg polygon,
.hw-svg path,
.hw-svg ellipse {
  stroke: rgba(255, 255, 255, .45);
  stroke-width: 1;
  stroke-linejoin: round;
}

.hw-svg .ft {
  fill: #42464e;
}

.hw-svg .ff {
  fill: #32363c;
}

.hw-svg .fs {
  fill: #272a2f;
}

.hw-svg .fi {
  fill: #1b1d21;
}

.hw-svg .fl {
  fill: none;
  stroke: rgba(255, 255, 255, .3);
}

.hw-svg .ft.pt {
  fill: #4a4f57;
}

.hw-svg .ff.pt {
  fill: #3a3e45;
}

.hw-svg .ft.gv {
  fill: #dcd8d0;
}

.hw-svg .fs.gv {
  fill: #b9b4aa;
}

.hw-svg .ft.pl {
  fill: #ebe8e2;
}

.hw-svg .ff.pl {
  fill: #cfcac1;
}

.hw-svg .fs.pl {
  fill: #bab4aa;
}

.hw-svg .pl {
  stroke: rgba(0, 0, 0, .25);
}

.hw-svg .pe {
  fill: #5b6068;
  stroke: none;
}

.hw-svg .ac {
  fill: #e5534b;
  stroke: rgba(0, 0, 0, .2);
}

.hw-svg .ft.ac {
  fill: #f07b73;
}

.hw-svg .fs.ac {
  fill: #b8423b;
}

.hw-svg .calha {
  stroke: #e5534b;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.hw-svg .varao {
  stroke: #e5534b;
  stroke-width: 3;
  stroke-linecap: round;
}

.hw-svg .cab {
  fill: none;
  stroke: #cfd3d9;
  stroke-width: 1.4;
}

.hw-svg .roupa {
  fill: rgba(255, 255, 255, .12);
  stroke: rgba(255, 255, 255, .35);
}

.hw-svg .roupa.r1 {
  fill: rgba(229, 83, 75, .8);
}

.hw-svg .roupa.r2 {
  fill: rgba(235, 232, 226, .75);
}

.hw-svg .paraf {
  stroke: #9aa0a9;
  stroke-width: 2;
  stroke-linecap: round;
}

.hw-svg .gaveta,
.hw-svg .correr,
.hw-svg .elevar {
  translate: var(--dx) var(--dy);
}

.hw-svg .ft.tp {
  fill: #6b7079;
}

.hw-svg .ff.tp {
  fill: #555a62;
}

.hw-svg .fs.tp {
  fill: #474b52;
}

.hw-svg .gola {
  fill: #121315;
  stroke: none;
}

.hw-svg .vidro {
  fill: rgba(24, 27, 31, .72);
  stroke: rgba(255, 255, 255, .35);
}

.hw-svg .perfil {
  fill: #c9ced6;
  stroke: rgba(0, 0, 0, .25);
}

.hw-svg .ft.prat {
  fill: #3a3e45;
}

.hw-svg .cabide {
  transform-box: fill-box;
  transform-origin: 50% 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hw-svg * {
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.6, 0, .25, 1);
    animation-play-state: paused;
  }
  .hw.ver .hw-svg * {
    animation-play-state: running;
  }
  .hw-svg .orla {
    animation-name: hw-orla;
  }
  .hw-svg .gaveta,
  .hw-svg .correr,
  .hw-svg .elevar {
    animation-name: hw-sai;
  }
  .hw-svg .rodape,
  .hw-svg .lateral {
    animation-name: hw-entra;
  }
  .hw-svg .con {
    animation-name: hw-acende;
  }
  .hw-svg .cabide {
    animation: hw-balanca 2.8s ease-in-out infinite;
    animation-delay: calc(var(--k) * -.9s);
    animation-play-state: paused;
  }
  .hw.ver .hw-svg .cabide {
    animation-play-state: running;
  }
}

@keyframes hw-orla {
  0%,
  10% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  50%,
  88% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}

@keyframes hw-sai {
  0%,
  12% {
    translate: 0 0;
  }
  40%,
  72% {
    translate: var(--dx) var(--dy);
  }
  95%,
  100% {
    translate: 0 0;
  }
}

@keyframes hw-entra {
  0%,
  8% {
    translate: var(--dx) var(--dy);
    opacity: 0;
  }
  38%,
  84% {
    translate: 0 0;
    opacity: 1;
  }
  100% {
    translate: var(--dx) var(--dy);
    opacity: 0;
  }
}

@keyframes hw-acende {
  0%,
  38% {
    opacity: .25;
  }
  50%,
  86% {
    opacity: 1;
  }
  100% {
    opacity: .25;
  }
}

@keyframes hw-balanca {
  0%,
  100% {
    rotate: -6deg;
  }
  50% {
    rotate: 6deg;
  }
}

@media (max-width: 900px) {
  .hw {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hw {
    gap: 10px;
  }
  .hw-card {
    padding: 12px 12px 16px;
  }
  .hw-card h4 {
    font-size: 15px;
  }
  .hw-card p {
    font-size: 12.5px;
  }
}
