/* ==========================================================================
   FLONARE — Marcenaria de Alto Padrão
   Design system: warm near-black, bone, brass. Clash Display + Satoshi +
   Instrument Serif (italic accents).
   ========================================================================== */

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paleta navy + laranja (flyer Flonare) */
  --ink: #0e1b2d;
  --coal: #142438;
  --coal-2: #1b2e47;
  --bone: #f0ece2;
  --paper: #ece7db;
  --paper-2: #e1dbca;
  --brass: #e8842c;
  --brass-bright: #f59d4a;
  --muted-on-dark: #93a2b6;
  --muted-on-light: #5c6d82;
  --line-on-dark: rgba(240, 236, 226, 0.14);
  --line-on-light: rgba(14, 27, 45, 0.14);

  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-body: "Satoshi", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-behavior fica em "auto": a suavização é 100% do Lenis.
   O smooth nativo do navegador conflita com os pins do ScrollTrigger
   (correções de posição viram animações atrasadas e o pin trava). */
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

::selection { background: var(--brass); color: var(--ink); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader__inner { width: min(28rem, 80vw); }
.preloader__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--bone);
  display: flex;
  overflow: hidden;
}
.preloader__letter { display: inline-block; transform: translateY(110%); }
.preloader__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.preloader__count { font-family: var(--font-display); font-size: 1rem; color: var(--brass); }
.preloader__bar {
  margin-top: 0.75rem; height: 1px; background: var(--line-on-dark);
  overflow: hidden;
}
.preloader__bar-fill {
  display: block; height: 100%; width: 100%;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
}

/* ==========================================================================
   Cursor / grain / progress
   ========================================================================== */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 950;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brass-bright);
  pointer-events: none;
  display: grid; place-items: center;
  will-change: transform;
}
.cursor__label {
  position: absolute;
  font-size: 3.5px; /* scales up with cursor */
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  text-transform: uppercase;
}
.cursor.has-label .cursor__label { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

.grain {
  position: fixed; inset: -100%; z-index: 900;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 940;
  height: 2px; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
}

/* botão flutuante do Instagram (todas as páginas) */
.insta-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 3vh, 1.8rem);
  z-index: 760;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--bone);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border: 1px solid var(--brass);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.insta-fab:hover, .insta-fab:focus-visible {
  background: var(--brass);
  color: var(--ink);
  transform: scale(1.07);
}
.insta-fab svg { display: block; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: transform 0.5s var(--ease-out), background-color 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand { display: flex; align-items: baseline; gap: 0.6rem; }
.nav__brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.35rem; letter-spacing: 0.02em;
}
.nav__brand-tag {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
}

.nav__links { display: flex; gap: 2.2rem; }
.nav__link {
  position: relative;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone);
  padding: 0.25rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after {
  transform: scaleX(1); transform-origin: left;
}

.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav__cta {
  display: inline-block;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--brass);
  border-radius: 99px;
  color: var(--bone);
  overflow: hidden; position: relative;
  transition: color 0.35s var(--ease-out);
}
.nav__cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
}
.nav__cta:hover::before, .nav__cta:focus-visible::before { transform: translateY(0); }
.nav__cta:hover, .nav__cta:focus-visible { color: var(--ink); }
.nav__cta-text { position: relative; z-index: 1; }

.nav__burger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 0.6rem 0.2rem;
}
.nav__burger span {
  display: block; width: 26px; height: 2px;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   Menu overlay
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 790;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0;
  background: var(--coal);
  transform: translateY(-100%);
}
.menu__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: 7rem var(--gutter) 3rem;
  align-content: center;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  position: relative;
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 0.55rem 0;
  overflow: hidden;
}
.menu__link-idx {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); min-width: 7.5rem;
}
.menu__link-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 5.5vh, 3.2rem);
  line-height: 1.1;
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.menu__link:hover .menu__link-text, .menu__link:focus-visible .menu__link-text {
  transform: translateX(0.8rem); color: var(--brass-bright);
}
.menu__aside {
  display: flex; flex-direction: column; gap: 2rem;
  justify-content: center;
  border-left: 1px solid var(--line-on-dark);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.menu__aside-label {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 0.5rem;
}
.menu__aside-block p { font-size: 0.95rem; line-height: 1.7; }
.menu__aside-block a { border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.menu__aside-block a:hover { color: var(--brass-bright); border-color: var(--brass-bright); }

/* ==========================================================================
   Shared bits
   ========================================================================== */
.section-label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
}
.section-label::before {
  content: ""; width: 2.6rem; height: 1px; background: var(--brass);
}

.btn {
  position: relative;
  display: inline-block;
  padding: 1.05rem 2.4rem;
  border: 1px solid var(--brass);
  border-radius: 99px;
  overflow: hidden;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bone);
  will-change: transform;
}
.btn__fill {
  position: absolute; inset: -1px;
  background: var(--brass);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translateY(0); }
.btn__text { position: relative; z-index: 1; transition: color 0.35s var(--ease-out); }
.btn:hover .btn__text, .btn:focus-visible .btn__text { color: var(--ink); }
.btn--big { padding: 1.35rem 3.2rem; font-size: 0.95rem; }

/* variante discreta: para CTA secundário ao lado do principal */
.btn--quiet { border-color: var(--line-on-dark); }
.btn--quiet:hover, .btn--quiet:focus-visible { border-color: var(--brass); }

.hero__actions {
  display: flex; align-items: center; gap: 0.9rem;
  flex-wrap: wrap;
  flex: none;
}

/* light-section buttons */
.cta .btn { color: var(--ink); border-color: var(--ink); }
.cta .btn__fill { background: var(--ink); }
.cta .btn:hover .btn__text, .cta .btn:focus-visible .btn__text { color: var(--bone); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
  pointer-events: none; /* vídeo do hero não recebe cliques/controles */
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 27, 45, 0.55) 0%, rgba(14, 27, 45, 0.25) 40%, rgba(14, 27, 45, 0.88) 100%),
    radial-gradient(120% 90% at 15% 100%, rgba(14, 27, 45, 0.85) 0%, transparent 60%);
}
.hero__dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__content { max-width: 72rem; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone);
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.hero__eyebrow-line { width: 3rem; height: 1px; background: var(--brass); display: inline-block; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, min(11.5vw, 16vh), 9.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: none;
}
.hero__title em { color: var(--brass-bright); letter-spacing: 0; }
.hero__title-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title-inner { display: inline-block; will-change: transform; }

.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(1.8rem, 4vh, 3rem);
  /* respiro à direita para o botão flutuante do Instagram */
  padding-right: clamp(3.5rem, 6vw, 6rem);
}
.hero__sub {
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: color-mix(in srgb, var(--bone) 88%, transparent);
}

.hero__scrollhint {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 5.5rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted-on-dark);
  writing-mode: vertical-rl;
}
.hero__scrollhint-line {
  width: 1px; height: 4rem;
  background: var(--line-on-dark);
  position: relative; overflow: hidden;
}
.hero__scrollhint-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--brass);
  animation: scrollhint 2.2s var(--ease-out) infinite;
}
@keyframes scrollhint {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}
@media (prefers-reduced-motion: reduce) { .hero__scrollhint-line::after { animation: none; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content;
  will-change: transform;
}
.marquee__item {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.marquee__item em { color: var(--brass-bright); text-transform: none; letter-spacing: 0; }
.marquee__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }

/* ==========================================================================
   Manifesto (light)
   ========================================================================== */
.manifesto {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 14vh, 10rem) var(--gutter);
}
.manifesto__head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.manifesto .section-label { color: var(--muted-on-light); }
.manifesto .section-label::before { background: var(--brass); }

.manifesto__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 62rem;
}
.manifesto__text .fill-word {
  color: rgba(14, 27, 45, 0.18);
  transition: color 0.3s linear;
}
.manifesto__text .fill-word.is-on { color: var(--ink); }

.manifesto__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(3.5rem, 9vh, 6.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-on-light);
}
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1;
  color: var(--brass);
  display: block;
}
.stat__num sup { font-size: 0.4em; color: var(--brass); }
.stat__label {
  display: block; margin-top: 0.7rem;
  font-size: 0.9rem; color: var(--muted-on-light);
  max-width: 16rem;
}

/* ==========================================================================
   Ambientes — horizontal scroll
   ========================================================================== */
.ambientes { background: var(--ink); }
.ambientes__pin {
  /* altura exata da viewport: tudo precisa caber enquanto está pinado */
  height: 100svh;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: clamp(4rem, 9vh, 6.5rem) 0 clamp(1.6rem, 4.5vh, 3rem);
}
.amb-intro {
  width: clamp(16rem, 26vw, 24rem);
  flex: none;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(0.6rem, 1.6vh, 1.1rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}
.ambientes__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, min(4.6vw, 6.5vh), 3.6rem);
  line-height: 1.02;
}
.ambientes__title em { color: var(--brass-bright); }
.amb-intro__hint {
  font-size: 0.88rem;
  color: var(--muted-on-dark);
  max-width: 17rem;
}
.ambientes__progress {
  position: absolute;
  /* deslocada para não ficar sob o botão flutuante do Instagram */
  right: calc(var(--gutter) + 4.6rem); bottom: clamp(0.9rem, 2.2vh, 1.6rem);
  width: clamp(8rem, 18vw, 16rem); height: 1px;
  background: var(--line-on-dark);
  display: inline-block;
}
.ambientes__progress-fill {
  display: block; height: 100%;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
}

.ambientes__track {
  display: flex; gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}

.amb-card {
  /* --amb-w é calculado em JS a partir da altura livre da viewport */
  width: var(--amb-w, clamp(17rem, min(30vw, 44vh), 26rem));
  flex: none;
}
.amb-card__media {
  /* 3:2 = proporção nativa das fotos reais da Flonare (600×400) */
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
}
.amb-card__media img {
  width: 100%; height: 118%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}
.amb-card:hover .amb-card__media img { transform: scale(1.05); }
.amb-card__body { padding-top: clamp(0.7rem, 1.8vh, 1.3rem); }
.amb-card__idx {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
}
.amb-card__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.6vh, 1.55rem); line-height: 1.15;
  margin: 0.4rem 0 0.45rem;
}
.amb-card__desc { font-size: clamp(0.82rem, 1.7vh, 0.92rem); color: var(--muted-on-dark); max-width: 22rem; }

.amb-end {
  width: clamp(18rem, 28vw, 24rem);
  flex: none;
  display: flex; flex-direction: column; justify-content: center; gap: 1.8rem;
  padding-left: clamp(1rem, 2vw, 2rem);
}
.amb-end__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}
.amb-end__text em { color: var(--brass-bright); }

/* ==========================================================================
   Processo — pinned steps
   ========================================================================== */
.processo { background: var(--coal); }
.processo__pin {
  /* altura exata: as quatro etapas precisam caber na tela durante o pin */
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 9vh, 6.5rem) var(--gutter) clamp(2rem, 5vh, 4rem);
}
.section-label--light { color: var(--brass); }

.processo__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, min(5.5vw, 8vh), 4.6rem);
  line-height: 1.02;
  margin: clamp(0.4rem, 1.2vh, 1rem) 0 clamp(1.1rem, 3vh, 2.2rem);
}
.processo__title em { color: var(--brass-bright); }

.processo__steps { list-style: none; position: relative; }
.processo__steps::before {
  content: ""; position: absolute; left: 0.55rem; top: 0.5rem; bottom: 0.5rem;
  width: 1px; background: var(--line-on-dark);
}
.processo__line { display: none; }

.p-step {
  position: relative;
  display: flex; gap: 1.6rem;
  padding: clamp(0.55rem, 1.6vh, 1.1rem) 0 clamp(0.55rem, 1.6vh, 1.1rem) 2.4rem;
  opacity: 0.32;
  transition: opacity 0.45s var(--ease-out);
}
.p-step::before {
  content: ""; position: absolute; left: 0.3rem; top: 1.75rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--muted-on-dark);
  transition: background 0.4s, box-shadow 0.4s;
}
.p-step.is-active { opacity: 1; }
.p-step.is-active::before {
  background: var(--brass-bright);
  box-shadow: 0 0 0 5px rgba(245, 157, 74, 0.18);
}
.p-step__num {
  font-family: var(--font-display); font-weight: 400;
  font-size: 0.95rem;
  color: var(--brass);
  padding-top: 0.35rem;
  min-width: 2rem;
}
.p-step__body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 2.6vh, 1.7rem);
}
.p-step__body p {
  margin-top: 0.35rem;
  font-size: clamp(0.82rem, 1.7vh, 0.92rem); color: var(--muted-on-dark);
  max-width: 27rem;
}

/* acordeão: só a etapa ativa mostra a descrição (garante que as quatro
   etapas caibam na viewport durante o pin) */
@media (prefers-reduced-motion: no-preference) {
  .p-step__body p {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--ease-out), opacity 0.4s var(--ease-out), margin-top 0.4s var(--ease-out);
  }
  .p-step.is-active .p-step__body p {
    max-height: 10rem;
    opacity: 1;
    margin-top: 0.35rem;
  }
}

.processo__right { position: relative; height: min(70vh, 42rem); }
.processo__imgs {
  position: absolute; inset: 0;
  border-radius: 4px; overflow: hidden;
}
.processo__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-out);
}
.processo__img.is-active { opacity: 1; transform: scale(1); }
.processo__img-frame {
  position: absolute; inset: -1rem 1rem 1rem -1rem;
  border: 1px solid var(--brass);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.5;
}

/* ==========================================================================
   Materiais (light)
   ========================================================================== */
.materiais {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 14vh, 9rem) var(--gutter);
}
.materiais .section-label { color: var(--muted-on-light); }
.materiais__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  margin-top: 1rem;
}
.materiais__title em { color: var(--brass); }
.materiais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
/* variação de 3 colunas (usada na página Serviços) */
.materiais__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mat-card {
  background: color-mix(in srgb, var(--bone) 55%, white 10%);
  border: 1px solid var(--line-on-light);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
.mat-card:hover {
  box-shadow: 0 24px 48px -20px rgba(14, 27, 45, 0.35);
}
.mat-card__swatch {
  display: block;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  margin-bottom: 1.4rem;
}
.mat-card__swatch--mdf { background: linear-gradient(135deg, #8a6a45, #5f4630); }
.mat-card__swatch--ferragem { background: linear-gradient(135deg, #b9b3ab, #7d7871); }
.mat-card__swatch--aluminio { background: linear-gradient(135deg, #d9d7d2, #a5a29c); }
.mat-card__swatch--laca { background: linear-gradient(135deg, #efe9dd, #cbb98a); }
.mat-card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.25rem; line-height: 1.2;
}
.mat-card p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted-on-light); }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.depoimentos {
  background: var(--ink);
  padding: clamp(5rem, 14vh, 9rem) var(--gutter);
}
.depoimentos__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 6vh, 4rem);
}
.depoimentos__origin { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.depoimentos__google {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.55rem;
  color: var(--muted-on-dark); font-size: 0.82rem;
  border-bottom: 1px solid var(--line-on-dark); padding-bottom: 0.35rem;
  transition: color 0.3s, border-color 0.3s;
}
.depoimentos__google strong { color: var(--bone); font-size: 0.9rem; }
.depoimentos__google:hover, .depoimentos__google:focus-visible {
  color: var(--brass-bright); border-color: var(--brass);
}
.depoimentos__nav { display: flex; align-items: center; gap: 1.4rem; }
.depoimentos__count {
  font-size: 0.8rem; letter-spacing: 0.16em;
  color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
}
.depo-arrow {
  width: 3rem; height: 3rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.depo-arrow:hover, .depo-arrow:focus-visible {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
  transform: scale(1.06);
}

.depoimentos__stage {
  position: relative;
  max-width: 62rem;
  min-height: clamp(16rem, 32vh, 20rem);
}
.depoimentos__mark {
  position: absolute; top: -2.5rem; left: -0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 14vw, 11rem);
  line-height: 1;
  color: var(--brass);
  opacity: 0.25;
  pointer-events: none;
}
.depo__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--bone);
}
.depo__author {
  display: inline-flex; align-items: center; gap: 0.9rem;
  margin-top: 1.8rem;
  font-style: normal;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-bright);
}
.depo__author::before { content: ""; width: 2.4rem; height: 1px; background: var(--brass); }

/* ==========================================================================
   CTA (light)
   ========================================================================== */
.cta {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(6rem, 18vh, 12rem) var(--gutter);
  text-align: left;
}
.cta .section-label { color: var(--muted-on-light); }
.cta__inner { max-width: 72rem; }
.cta__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 1.2rem;
}
.cta__title em { color: var(--brass); }
.cta__title-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.cta__title-inner { display: inline-block; will-change: transform; }
.cta__sub {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: 1.05rem;
  color: var(--muted-on-light);
}
.cta__actions {
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.8rem;
}
.cta__alt { font-size: 0.92rem; color: var(--muted-on-light); display: flex; flex-direction: column; }
.cta__alt a {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--ink);
  border-bottom: 1px solid var(--brass);
  width: fit-content;
  transition: color 0.3s;
}
.cta__alt a:hover { color: var(--brass); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line-on-dark);
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer__logo {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}
.footer__tag { margin-top: 1rem; font-size: 0.92rem; color: var(--muted-on-dark); }
.footer__label {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.92rem; }
.footer__col a { color: var(--muted-on-dark); width: fit-content; transition: color 0.3s; }
.footer__col a:hover { color: var(--bone); }
.footer__col address { font-style: normal; color: var(--muted-on-dark); line-height: 1.7; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--muted-on-dark);
}
.footer__bottom a { transition: color 0.3s; }
.footer__bottom a:hover { color: var(--brass-bright); }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.page-hero {
  background: var(--ink);
  padding: clamp(9rem, 22vh, 14rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  border-bottom: 1px solid var(--line-on-dark);
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-top: 1.1rem;
  max-width: 60rem;
}
.page-hero__title em { color: var(--brass-bright); }
.page-hero__lead {
  margin-top: 1.6rem;
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: var(--muted-on-dark);
}

.page-section { padding: clamp(4rem, 11vh, 8rem) var(--gutter); }
.page-section--light { background: var(--paper); color: var(--ink); }
.page-section--light .section-label { color: var(--muted-on-light); }
.page-section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  margin-top: 1rem;
  max-width: 46rem;
}
.page-section__title em { color: var(--brass); }
.page-section--dark .page-section__title em { color: var(--brass-bright); }

/* split: texto + imagem */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: 4px; width: 100%; height: auto; }
.split__media::before {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--brass); border-radius: 4px; opacity: 0.5;
}
.split__body p + p { margin-top: 1.1rem; }
.split__body p { color: var(--muted-on-dark); max-width: 34rem; }
.page-section--light .split__body p { color: var(--muted-on-light); }

/* filtro do portfólio */
.filtro {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: clamp(1.6rem, 4vh, 2.5rem);
}
.chip {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 99px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.chip:hover { border-color: var(--brass); color: var(--bone); transform: translateY(-2px); }
.chip.is-active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}
.serv-more {
  display: flex; justify-content: center;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

/* lightbox do portfólio */
.lightbox {
  position: fixed; inset: 0; z-index: 970;
  background: rgba(14, 27, 45, 0.95);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; text-align: center; }
.lightbox__img {
  max-width: min(86vw, 920px);
  max-height: 76vh;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
}
.lightbox__caption {
  margin-top: 1.1rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
  white-space: pre-wrap;
}
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vh, 2rem); right: var(--gutter);
  width: 3rem; height: 3rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  font-size: 1.4rem; line-height: 1;
  color: var(--bone);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.4rem; height: 3.4rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--bone);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.lightbox__arrow--prev { left: var(--gutter); }
.lightbox__arrow--next { right: var(--gutter); }
.lightbox__close:hover, .lightbox__close:focus-visible,
.lightbox__arrow:hover, .lightbox__arrow:focus-visible {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
}
.lightbox__arrow:hover { transform: translateY(-50%) scale(1.06); }
.serv-grid .amb-card__media { cursor: zoom-in; }

@media (max-width: 700px) {
  .lightbox__img { max-width: 92vw; max-height: 64vh; }
  .lightbox__arrow { top: auto; bottom: 1.4rem; transform: none; }
  .lightbox__arrow:hover { transform: scale(1.06); }
  .lightbox__arrow--prev { left: calc(50% - 4.2rem); }
  .lightbox__arrow--next { right: calc(50% - 4.2rem); }
}

/* liderança (página A Flonare) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 24rem));
  justify-content: center;      /* dupla centralizada na página */
  gap: clamp(2.5rem, 9vw, 8rem); /* respiro generoso entre os dois */
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
}
.team-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
}
.team-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__body { padding-top: 1.2rem; }
.team-card__role {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
}
.team-card__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0.45rem 0 0.5rem;
}
.team-card__desc {
  font-size: 0.94rem;
  color: var(--muted-on-dark);
  max-width: 26rem;
}

/* grade de serviços (reusa .amb-card em fluxo vertical) */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 1.8rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.serv-grid .amb-card { width: 100%; }
.serv-grid .amb-card__media { aspect-ratio: 3 / 2; }

.materiais__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.materiais__action .btn {
  color: var(--ink);
  border-color: var(--ink);
}
.materiais__action .btn__fill { background: var(--ink); }
.materiais__action .btn:hover .btn__text,
.materiais__action .btn:focus-visible .btn__text { color: var(--bone); }

/* página Materiais e acabamentos */
.finish-hero {
  position: relative;
  min-height: min(78svh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #17202b;
}
.finish-hero__image,
.finish-hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.finish-hero__image { object-fit: cover; object-position: center; }
.finish-hero__veil {
  background: linear-gradient(90deg, rgba(10, 18, 29, 0.9) 0%, rgba(10, 18, 29, 0.56) 48%, rgba(10, 18, 29, 0.12) 100%),
              linear-gradient(0deg, rgba(10, 18, 29, 0.62) 0%, transparent 48%);
}
.finish-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(8rem, 19vh, 12rem) var(--gutter) clamp(4.5rem, 9vh, 6.5rem);
}
.finish-hero__title {
  max-width: 48rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}
.finish-hero__title em { color: var(--brass-bright); }
.finish-hero__lead {
  max-width: 33rem;
  margin-top: 1.6rem;
  color: rgba(242, 237, 227, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}
.finish-hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(242, 237, 227, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finish-index {
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: #e8e7e2;
  color: #17202b;
}
.finish-index__intro h2,
.hardware-section__head h2,
.finish-story__body h2,
.light-feature__copy h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.7vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.finish-index__intro h2 em,
.finish-story__body h2 em,
.light-feature__copy h2 em { color: var(--brass); }
.finish-index__list { list-style: none; border-top: 1px solid rgba(23, 32, 43, 0.18); }
.finish-index__list li {
  min-height: 4rem;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 43, 0.18);
}
.finish-index__list span { color: #8b6b43; font-size: 0.69rem; letter-spacing: 0.15em; }
.finish-index__list strong { font-family: var(--font-display); font-size: clamp(1rem, 1.45vw, 1.22rem); font-weight: 500; }

.finish-story {
  padding: clamp(4.5rem, 12vh, 9rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  background: #f4f2ed;
  color: #17202b;
}
.finish-story__media { position: relative; min-height: 34rem; overflow: hidden; }
.finish-story__media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.finish-story__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: rgba(17, 27, 39, 0.88);
  color: var(--bone);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.finish-story__number,
.hardware-item > span {
  color: var(--brass);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.finish-story__body > p { max-width: 34rem; margin-top: 1.7rem; color: #59616a; }
.finish-story__facts { list-style: none; margin-top: 2rem; border-top: 1px solid rgba(23, 32, 43, 0.16); }
.finish-story__facts li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(23, 32, 43, 0.16); font-size: 0.88rem; }
.finish-story__facts span { color: #8b6b43; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.hardware-section { padding: clamp(4.5rem, 11vh, 8rem) var(--gutter); background: #151a20; }
.hardware-section__head { display: grid; grid-template-columns: 1fr minmax(18rem, 0.55fr); gap: 3rem; align-items: end; }
.hardware-section__head h2 em { color: var(--brass-bright); }
.hardware-section__head > p { max-width: 31rem; color: var(--muted-on-dark); }
.hardware-grid { margin-top: clamp(2.8rem, 7vh, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.hardware-item__media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.4rem; }
.hardware-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease-out); }
.hardware-item:hover .hardware-item__media img { transform: scale(1.035); }
.hardware-item h3 { min-height: 3.2rem; margin-top: 0.45rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.1; }
.hardware-item p { margin-top: 0.65rem; max-width: 24rem; color: var(--muted-on-dark); font-size: 0.9rem; }

.light-feature {
  min-height: 44rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  background: #c9beb0;
  color: #17202b;
}
.light-feature__image { min-height: 38rem; overflow: hidden; }
.light-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.light-feature__copy { padding: clamp(4rem, 9vw, 8rem); align-self: center; }
.light-feature__copy > p { margin-top: 1.6rem; max-width: 32rem; color: #4f5051; }
.light-feature__details { display: flex; flex-wrap: wrap; gap: 0.65rem 1.2rem; margin-top: 2rem; }
.light-feature__details span { padding-bottom: 0.35rem; border-bottom: 1px solid rgba(23, 32, 43, 0.42); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.finish-note { padding: clamp(5rem, 13vh, 9rem) var(--gutter); background: #e8e7e2; color: #17202b; text-align: center; }
.finish-note__statement { max-width: 66rem; margin: 1.5rem auto 0; font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 500; line-height: 1.08; }
.finish-note__statement em { color: var(--brass); }
.finish-note__small { max-width: 34rem; margin: 1.6rem auto 0; color: #676c72; font-size: 0.86rem; }

/* formulário de orçamento */
.form { max-width: 52rem; margin-top: clamp(2rem, 5vh, 3.5rem); }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; }
.field > label,
.field > legend {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass);
}
.field legend { margin-bottom: 0.65rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  font: inherit;
  color: var(--bone);
  background: var(--coal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  padding: 0.9rem 1.05rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--coal);
}
.field select { appearance: none; cursor: pointer; }
.field--checks { border: 0; padding: 0; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  background: var(--coal-2);
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.check:has(input:checked) {
  border-color: var(--brass);
  background: var(--coal);
}
.check input {
  flex: none;
  width: 1rem;
  height: 1rem;
  accent-color: var(--brass);
}
.check span {
  font-size: 0.92rem;
  line-height: 1.25;
}
.form__hint { font-size: 0.85rem; color: var(--muted-on-dark); margin: 0.4rem 0 1.6rem; }
.form__hint--strong { color: var(--bone); margin-top: -0.85rem; }
.form .btn { border-color: var(--brass); }

/* página de projetos — listagem */
.proj-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.proj-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.proj-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
.proj-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.proj-card:hover .proj-card__media img { transform: scale(1.05); }
.proj-card__tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin: 0.9rem 0 1rem;
}
.proj-card__tag {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--line-on-dark);
  border-radius: 99px;
  padding: 0.32rem 0.8rem;
}
.proj-card__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}
.proj-card__desc { color: var(--muted-on-dark); font-size: 0.95rem; max-width: 28rem; margin-bottom: 1.6rem; }
.proj-note {
  margin-top: clamp(2rem, 5vh, 3rem);
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

/* página de projeto — comparador 3D × real */
.compare {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  max-width: 72rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  --pos: 50%;
}
.compare-set {
  max-width: 72rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.compare-set + .compare-set {
  margin-top: clamp(3rem, 8vh, 5.5rem);
}
.compare-set .compare {
  margin-top: 0.75rem;
}
.compare-set__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.compare-set__label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--brass);
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--brass);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare__grip {
  position: absolute; top: 50%; left: var(--pos);
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 0.95rem; letter-spacing: 0.05em;
  pointer-events: none;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
}
.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
}
.compare__tag {
  position: absolute; top: 1rem;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-on-dark);
  border-radius: 99px;
  padding: 0.4rem 0.95rem;
  color: var(--bone);
  pointer-events: none;
}
.compare__tag--3d { left: 1rem; }
.compare__tag--real { right: 1rem; }
.compare-hint {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* página de projeto — ficha técnica */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  max-width: 64rem;
}
.spec { border-left: 2px solid var(--brass); padding-left: 1.1rem; }
.spec h3 {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.45rem;
}
.spec p { font-size: 0.95rem; color: var(--bone); line-height: 1.5; }

/* FAQ — acordeão */
.faq__list {
  max-width: 52rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line-on-dark);
}
.faq__item { border-bottom: 1px solid var(--line-on-dark); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--bone);
  transition: color 0.3s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brass-bright); }
.faq__q:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 4px; border-radius: 2px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 0.9rem; height: 1.5px;
  background: var(--brass);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out), background 0.35s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brass); border-color: var(--brass); transform: rotate(45deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ink); }
.faq__a { overflow: hidden; }
.faq__a p {
  padding: 0 0.25rem 1.5rem;
  max-width: 44rem;
  color: var(--muted-on-dark);
}

/* contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.contact-card {
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  transition: border-color 0.35s, transform 0.45s var(--ease-out);
}
.contact-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.contact-card h3 {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.contact-card a, .contact-card p {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--bone);
}
.contact-card a { transition: color 0.3s; width: fit-content; }
.contact-card a:hover { color: var(--brass-bright); }
.contact-card .contact-card__small { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted-on-dark); margin-top: 0.5rem; }

.map-embed {
  width: 100%; height: clamp(20rem, 50vh, 28rem);
  border: 0; border-radius: 4px;
  display: block;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .menu__inner { grid-template-columns: 1fr; align-content: start; overflow-y: auto; gap: 3rem; padding-top: 6rem; }
  .menu__aside { border-left: 0; border-top: 1px solid var(--line-on-dark); padding: 2rem 0 0; }
  .menu__link { flex-direction: column; align-items: flex-start; gap: 0.1rem; padding: 0.7rem 0; }
  .menu__link-idx { min-width: 0; }
  .menu__link-text { font-size: clamp(1.6rem, 7vw, 2.6rem); }

  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.8rem; }
  .hero__scrollhint { display: none; }

  .manifesto__stats { grid-template-columns: 1fr; gap: 2.2rem; }

  /* horizontal section falls back to vertical cards */
  .ambientes__pin { height: auto; }
  .ambientes__track {
    width: auto;
    flex-direction: column;
    gap: 3rem;
  }
  .amb-card, .amb-end, .amb-intro { width: 100%; }
  .amb-card__media { aspect-ratio: 3 / 2; }
  .ambientes__progress { display: none; }

  .processo__pin {
    grid-template-columns: 1fr;
    height: auto;
    gap: 2.5rem;
  }
  .processo__right { height: 46vh; order: -1; }
  .p-step { opacity: 1; }

  .materiais__grid,
  .materiais__grid--3 { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .team-grid { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .proj-card { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .finish-index,
  .finish-story,
  .hardware-section__head { grid-template-columns: 1fr; }
  .finish-story__media { min-height: 28rem; }
  .light-feature { grid-template-columns: 1fr; }
  .light-feature__image { min-height: 30rem; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .materiais__grid,
  .materiais__grid--3 { grid-template-columns: 1fr; gap: 0.9rem; }
  /* no celular o card fica deitado: cor à esquerda, texto à direita.
     grade porque a cor, o título e o texto são irmãos diretos */
  .mat-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    align-items: start;
    padding: 1.25rem 1.2rem;
    border-radius: 8px;
  }
  .mat-card__swatch {
    width: 2.6rem; height: 2.6rem;
    margin-bottom: 0;
    grid-row: 1 / span 2;
  }
  .mat-card h3,
  .mat-card p { grid-column: 2; }
  /* mais respiro entre os cards e o botão */
  .materiais__action { margin-top: 3rem; }
  .mat-card h3 { font-size: 1.1rem; }
  .mat-card p { margin-top: 0.35rem; font-size: 0.88rem; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__actions { align-items: flex-start; flex-direction: column; }
  .serv-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .finish-hero { min-height: 86svh; }
  .finish-hero__image { object-position: 57% center; }
  .finish-hero__veil { background: linear-gradient(0deg, rgba(10, 18, 29, 0.9) 0%, rgba(10, 18, 29, 0.3) 80%); }
  .finish-hero__content { padding-bottom: 6.5rem; }
  .finish-hero__scroll { left: var(--gutter); right: auto; }
  .finish-index__list li { grid-template-columns: 2.5rem 1fr; }
  .finish-story__media { min-height: 22rem; }
  .finish-story__facts li { grid-template-columns: 1fr; gap: 0.25rem; }
  .hardware-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hardware-item__media { aspect-ratio: 4 / 3; }
  .hardware-item h3 { min-height: 0; }
  .light-feature__image { min-height: 24rem; }
  .light-feature__copy { padding: 3.5rem var(--gutter); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .p-step { opacity: 1; }
}

/* Fallback acessível: conteúdo completo sem depender de animação/GSAP. */
.motion-static .hero__img { transform: scale(1); }
.motion-static .ambientes__pin {
  height: auto;
  overflow: visible;
  padding: clamp(5rem, 10vh, 7rem) 0;
}
.motion-static .ambientes__track {
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.motion-static .amb-intro,
.motion-static .amb-card,
.motion-static .amb-end { width: 100%; }
.motion-static .ambientes__progress { display: none; }
.motion-static .processo__pin { height: auto; }
.motion-static .p-step { opacity: 1; }

@media (max-width: 960px) {
  .motion-static .ambientes__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .motion-static .ambientes__track { grid-template-columns: 1fr; }
}
