/* ============================================
   SIMONI LOBATO DESIGN | Interiores e Neuroarquitetura
   Premium One Page | Apple Premium + Lenis
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --primary:   #070707;
  --secondary: #f4f4f2;
  --accent:    #c8a45d;
  --gold:      #c8a45d;
  --gold-dark: #8c6a2f;
  --gold-light:#f1d99a;
  --white:     #ffffff;
  --soft-bg:   #eeeeec;
  --text:      #121212;
  --muted:     #6f6f6a;
  --card:      #ffffff;
  --border:    rgba(7,7,7,.14);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Manrope', system-ui, sans-serif;
  --shadow:    0 2px 12px rgba(7,7,7,.08);
  --shadow-md: 0 8px 32px rgba(7,7,7,.14);
  --warm-grad: linear-gradient(145deg, #070707 0%, #2b2b29 48%, #c8a45d 130%);
  --warm-soft-grad: radial-gradient(circle at 16% 14%, rgba(200,164,93,.18), transparent 32%), linear-gradient(150deg, #151515 0%, #343431 58%, #c8a45d 125%);
  --dark-grad: linear-gradient(135deg, #050505 0%, #232321 54%, #090909 100%);
  --card-grad: linear-gradient(145deg, #ffffff 0%, #f4f4f2 52%, #ddddda 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--soft-bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────── */
.label {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--primary);
}
h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
p { font-size: .93rem; line-height: 1.78; color: var(--muted); }

/* ─── Layout ─────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem,5vw,4rem); }
.section-pad { padding: clamp(5rem,8vw,8rem) 0; }

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 100px;
  transition: background .3s, color .3s, transform .2s, box-shadow .3s;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark-grad);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,16,12,.35);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,.45);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  background: rgba(200,164,93,.12);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── LOADING SCREEN ─────────────────────── */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background:
    var(--warm-grad);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .5s;
}
.loading-logo-img {
  width: 200px; opacity: .95;
  filter: brightness(0) invert(1) drop-shadow(0 2px 20px rgba(200,164,93,.5));
}
.loading-bar-track {
  width: 160px; height: 1px;
  background: rgba(200,164,93,.2);
  position: relative; overflow: hidden;
}
.loading-bar-fill {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0%;
  background: var(--gold); transition: width .08s;
}
.loading-pct { font-size: .68rem; color: rgba(200,164,93,.75); letter-spacing: .1em; }

/* ─── REVEAL OVERLAY ─────────────────────── */
#reveal-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background:
    var(--warm-grad);
  clip-path: circle(150% at 50% 50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
#reveal-overlay img {
  width: 200px; opacity: 0;
  filter: brightness(0) invert(1) drop-shadow(0 2px 20px rgba(200,164,93,.5));
}

/* ─── HEADER ─────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: background .4s, padding .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(7,7,7,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .85rem 0;
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(27,16,12,.07);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.logo-light {
  height: 36px; width: auto; display: block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.5));
}
.logo-dark  { height: 36px; width: auto; display: none; }
#header.scrolled .logo-light { display: none; }
#header.scrolled .logo-dark  { display: block; filter: none; }

nav.header-nav { display: flex; align-items: center; gap: 1.6rem; }
nav.header-nav a {
  font-size: .74rem; font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.88);
  transition: color .3s;
}
nav.header-nav a:hover { color: var(--gold-light); }
#header .btn-primary { white-space: nowrap; }
#header.scrolled nav.header-nav a { color: rgba(255,255,255,.78); }
#header.scrolled nav.header-nav a:hover { color: var(--gold-light); }
#header.scrolled .btn-primary { background: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.hamburger span { display: block; height: 1.5px; background: var(--white); transition: all .3s; transform-origin: center; }
#header.scrolled .hamburger span { background: var(--gold-light); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background:
    var(--warm-grad);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(1.8rem,5vw,2.6rem);
  font-weight: 300; color: var(--white); transition: color .3s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mobile-cta {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--primary); color: var(--white);
  padding: .85rem 2.2rem; border-radius: 100px; margin-top: 1rem;
  transition: background .3s;
}
.mobile-nav .mobile-cta:hover { background: var(--dark-grad); }

/* ─── HERO ───────────────────────────────── */
.hero-sequence { position: relative; height: 250vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-mobile-editorial { display: none; }

@media (max-width: 767px) {
  .hero-sequence { height: 360vh; height: 360svh; }

  .hero-mobile-editorial { display: none !important; }
}

.hero-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.56) 34%, rgba(0,0,0,.20) 62%, rgba(0,0,0,.04) 100%),
    linear-gradient(to top, rgba(0,0,0,.68) 0%, rgba(0,0,0,.24) 46%, rgba(0,0,0,.06) 100%);
}

.hero-content {
  position: absolute;
  bottom: clamp(5rem, 10vh, 9rem);
  left: clamp(1.8rem, 5vw, 5rem);
  max-width: min(42vw, 540px);
  z-index: 10;
}

.hero-label {
  display: flex; align-items: center; gap: .6rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.4rem;
}
.hero-label::before {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: 0;
  color: var(--white); margin-bottom: 1rem;
  text-shadow: 0 3px 24px rgba(0,0,0,.82), 0 1px 8px rgba(0,0,0,.72);
}
.hero-h1 em { font-style: italic; display: block; color: var(--gold-light); }

.hero-label { text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.hero-sub {
  font-size: .9rem; line-height: 1.75;
  color: rgba(255,255,255,.94); margin-bottom: 1.8rem;
  max-width: 380px;
  text-shadow: 0 2px 12px rgba(0,0,0,.74);
}

.hero-actions {
  display: flex; align-items: center;
  gap: .75rem; flex-wrap: nowrap;
}
.hero-actions .btn {
  padding: .72rem 1.5rem;
  font-size: .7rem; letter-spacing: .1em;
  white-space: nowrap;
}

.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.35); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; z-index: 10;
}
.scroll-line { width: 1px; height: 36px; background: rgba(200,164,93,.22); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown { 0%{top:-100%} 100%{top:100%} }

/* ─── QUEM SOMOS ─────────────────────────── */
.quem-section { background: var(--white); }
.sobre-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(200,164,93,.24), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(255,255,255,.10), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(200,164,93,.16), transparent 34%),
    linear-gradient(135deg, #050505 0%, #161614 42%, #2c2b27 70%, #0a0a09 100%);
  position: relative; overflow: hidden;
}
.sobre-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200,164,93,.10), transparent 34%, rgba(255,255,255,.04) 68%, rgba(200,164,93,.08)),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
  opacity: .55;
  pointer-events: none;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.proc-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(200,164,93,.34);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,244,242,.94));
  box-shadow: 0 18px 48px rgba(7,7,7,.10), 0 0 0 1px rgba(200,164,93,.10);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.proc-card:hover { transform: translateY(-5px); border-color: rgba(200,164,93,.78); box-shadow: 0 24px 58px rgba(7,7,7,.14), 0 0 0 1px rgba(200,164,93,.22); }
.proc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(200,164,93,.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.proc-card h3 { margin-bottom: .1rem; color: var(--primary); }
.proc-card p  { font-size: .83rem; flex: 1; color: rgba(27,16,12,.72); }


/* ─── MARQUEE ───────────────────────────── */
.marquee-section {
  background:
    linear-gradient(135deg, #f1d99a 0%, #c8a45d 42%, #9c772f 100%);
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(7,7,7,.16);
  border-bottom: 1px solid rgba(7,7,7,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18);
}
.marquee-outer { display: flex; overflow: hidden; }
.marquee-content {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding-right: 2.5rem; flex-shrink: 0;
  animation: marqueeScroll 50s linear infinite; white-space: nowrap;
}
.marquee-content.rev { animation-name: marqueeScrollRev; }
.marquee-content span {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #070707;
}
.marquee-content .dot { color: #070707; font-size: .45rem; opacity: .72; }
@keyframes marqueeScroll    { 0%{transform:translateX(0)}    100%{transform:translateX(-50%)} }
@keyframes marqueeScrollRev { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)}    }
/* ─── PROJETOS ───────────────────────────── */
.projetos-section {
  background:
    var(--warm-grad);
  position: relative;
  overflow: hidden;
}
.projetos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: .12;
  pointer-events: none;
}
.projetos-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,93,.5), transparent);
}
.projetos-section > .container {
  position: relative;
  z-index: 2;
}
.projetos-dot-grid {
  z-index: 1;
  opacity: .42;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 48% 54%, rgba(0,0,0,.86) 0%, rgba(0,0,0,.58) 58%, transparent 100%);
  mask-image: radial-gradient(ellipse at 48% 54%, rgba(0,0,0,.86) 0%, rgba(0,0,0,.58) 58%, transparent 100%);
}
.projetos-section .label { color: var(--gold); margin-bottom: 1rem; }
.projetos-section h2 { color: var(--white); max-width: 640px; margin-bottom: 1rem; }
.projetos-intro { color: rgba(255,255,255,.72); max-width: 600px; margin-bottom: 2rem; }

.projetos-filter-bar {
  display: flex;
  align-items: center;
  gap: .3rem;
  width: min(100%, 880px);
  min-height: 54px;
  padding: .32rem;
  margin-bottom: 2.6rem;
  border: 1px solid rgba(200,164,93,.28);
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 52px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-x: auto;
  scrollbar-width: none;
}
.projetos-filter-bar::-webkit-scrollbar { display: none; }

.project-filter {
  position: relative;
  flex: 1 0 auto;
  min-height: 42px;
  padding: .72rem 1rem;
  border-radius: 100px;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .25s, background .25s, box-shadow .25s, transform .25s;
  isolation: isolate;
}
.project-filter::before,
.project-filter::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200,164,93,.95);
  box-shadow: 0 0 8px rgba(200,164,93,.9), 0 0 16px rgba(244,236,231,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s, transform .36s;
}
.project-filter::before { top: 12px; right: 22%; }
.project-filter::after  { left: 18%; bottom: 10px; transform: scale(.7); }
.project-filter:hover,
.project-filter.is-active {
  color: var(--white);
  background: rgba(27,16,12,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.project-filter:hover { transform: translateY(-1px); }
.project-filter:hover::before,
.project-filter:hover::after,
.project-filter.is-active::before,
.project-filter.is-active::after {
  opacity: .9;
}
.project-filter:hover::before { transform: translate(8px, -8px); }
.project-filter:hover::after  { transform: translate(-8px, 7px) scale(1); }

.carousel-nav-bar {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-bottom: 1.2rem;
}
.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .15s;
}
.carousel-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); }
.carousel-arrow:disabled { opacity: .3; cursor: default; transform: none; }

.espaco-grid.project-carousel {
  display: block;
  width: calc(100vw - 12px);
  margin: 0 calc(50% - 50vw + 6px) 3rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.espaco-grid.project-carousel::-webkit-scrollbar { display: none; }
.espaco-grid.project-carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.espaco-grid.project-carousel.is-auto-playing { scroll-snap-type: none; scroll-behavior: auto; }

.project-track {
  display: flex;
  gap: clamp(1.1rem, 2vw, 1.5rem);
  padding: 0 clamp(1.1rem, 2vw, 1.5rem) 1.15rem;
  width: max-content;
}

.espaco-card {
  position: relative;
  flex: 0 0 clamp(270px, 28vw, 420px);
  height: clamp(420px, 48vw, 580px);
  scroll-snap-align: start;
  border: 3px solid #c8a45d;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: auto;
  background: var(--card-grad);
  cursor: default;
  box-shadow: 0 24px 70px rgba(0,0,0,.32), 0 0 0 5px rgba(200,164,93,.26);
  transform: translateZ(0);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s, opacity .3s;
}
.espaco-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: #f1d99a;
  box-shadow: 0 32px 88px rgba(0,0,0,.36), 0 0 0 6px rgba(200,164,93,.34);
}
.espaco-card.is-filtered-out {
  display: none;
}

.espaco-img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.espaco-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(58,37,24,.18) 0%, rgba(58,37,24,.08) 28%, rgba(47,33,24,.92) 100%),
    radial-gradient(circle at 50% 38%, transparent 0%, rgba(0,0,0,.14) 78%);
  pointer-events: none;
}
.espaco-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .45s;
}
.espaco-card:hover .espaco-img img {
  transform: scale(1.12);
  filter: saturate(1.04) contrast(1.03);
}

.espaco-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 2rem 1.45rem 1.6rem;
  background: linear-gradient(to top, rgba(47,33,24,.97) 0%, rgba(47,33,24,.58) 60%, transparent 100%);
  transition: background .35s;
}
.espaco-card:hover .espaco-overlay {
  background: linear-gradient(to top, rgba(47,33,24,.99) 0%, rgba(47,33,24,.65) 68%, transparent 100%);
}
.project-category {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .55rem;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.project-category::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(200,164,93,.65);
}
.espaco-overlay h3 {
  max-width: 92%;
  font-family: var(--sans);
  font-size: clamp(.92rem, 1.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #ffffff;
  margin-bottom: .45rem;
}

/* ─── Project text + button ───────────────── */
.tour-price {
  font-size: .74rem;
  color: rgba(255,255,255,.8);
  font-weight: 400;
  margin-bottom: .7rem;
  line-height: 1.4;
}
.tour-price strong {
  color: var(--gold-light);
  font-weight: 700;
}
.tour-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.15rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .25s, transform .2s, box-shadow .25s;
  pointer-events: all;
  cursor: pointer;
}
.tour-btn:hover {
  background: var(--dark-grad);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,16,12,.45);
  color: #fff;
}

.projetos-cta { text-align: center; }


@media(max-width:768px){
  .projetos-filter-bar {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  .project-filter {
    flex: 0 0 auto;
    padding: .66rem .95rem;
    font-size: .7rem;
  }
  .espaco-grid.project-carousel {
    width: calc(100vw - 2rem);
    margin-inline: calc(50% - 50vw + 1rem);
  }
  .espaco-card {
    flex-basis: min(78vw, 330px);
    height: min(128vw, 480px);
    border-radius: 22px;
  }
}

/* ─── COMO FUNCIONA ──────────────────────── */
.processo-section {
  background: var(--card-grad);
  position: relative;
}
.processo-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.processo-section .label { margin-bottom: 1rem; }
.processo-section h2 { max-width: 600px; margin-bottom: 1rem; }
.processo-intro { max-width: 560px; margin-bottom: 3rem; }

.passos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.passo-card {
  background: var(--card-grad);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.passo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,164,93,.5);
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}

.passo-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(27,16,12,.16);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.passo-body h3 { color: var(--primary); font-size: .95rem; margin-bottom: .3rem; }
.passo-body p  { font-size: .82rem; color: rgba(27,16,12,.72); }

/* ─── SOBRE (dark section) ───────────────── */
.sobre-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(200,164,93,.24), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(255,255,255,.10), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(200,164,93,.16), transparent 34%),
    linear-gradient(135deg, #050505 0%, #161614 42%, #2c2b27 70%, #0a0a09 100%);
  position: relative; overflow: hidden;
}
.sobre-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200,164,93,.10), transparent 34%, rgba(255,255,255,.04) 68%, rgba(200,164,93,.08)),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
  opacity: .55;
  pointer-events: none;
}
.sobre-section > .container {
  position: relative;
  z-index: 2;
}
.sobre-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,93,.35), transparent);
}

.quem-dot-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .56;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.55) 52%, rgba(0,0,0,.18) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.55) 52%, rgba(0,0,0,.18) 100%);
}
.quem-dot-grid__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sobre-text .label { color: var(--gold); margin-bottom: 1rem; }
.sobre-text h2 { color: var(--white); max-width: 420px; margin-bottom: 1.5rem; }
.sobre-text p { color: rgba(255,255,255,.78); max-width: 420px; margin-bottom: 1.2rem; }
.sobre-text p:last-of-type { margin-bottom: 2rem; }

.sobre-frase {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-style: italic;
  color: var(--gold-light);
  display: block;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.sobre-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sobre-photo > img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 22px 70px rgba(0,0,0,.58), 0 0 0 1px rgba(200,164,93,.26);
  filter: none;
  opacity: 1;
}
.sobre-photo-deco {
  position: absolute;
  bottom: -1.8rem;
  right: -1.8rem;
  width: 90px;
  opacity: .22;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.4));
  pointer-events: none;
}

/* ─── CTA FINAL ──────────────────────────── */
/* ─ seção externa: fundo escuro, espaço ao redor do card ─ */
.cta-final {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 7vw, 6rem);
  text-align: center;
}
.cta-final > .container { max-width: 1200px; }

/* ─ card com foto, bordas arredondadas ─ */
.cta-final-inner {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background-color: var(--gold);
  background-image: var(--warm-grad);
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  padding: clamp(3.5rem, 6vw, 5rem) 2rem;
  border: 1px solid rgba(255,255,255,.08);
}
.cta-final-inner::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to right,  rgba(47,33,24,.80) 0%, rgba(27,16,12,.48) 50%, rgba(47,33,24,.80) 100%),
    linear-gradient(to bottom, rgba(47,33,24,.60)  0%, rgba(27,16,12,.35) 52%, rgba(47,33,24,.70)  100%);
}
.cta-final-inner > * { position: relative; z-index: 1; }
.cta-final .label { color: var(--gold); margin-bottom: 1rem; }
.cta-final h2 { color: var(--white); max-width: 620px; margin: 0 auto 1.4rem; }
.cta-final-inner > p { color: rgba(255,255,255,.84); max-width: 480px; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cta-contact-info {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 2rem;
}
.cta-contact-line {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.72);
}
.cta-contact-line svg { color: var(--gold); flex-shrink: 0; }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(200,164,93,.20), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(255,255,255,.07), transparent 28%),
    linear-gradient(145deg, #040404 0%, #141413 44%, #26241f 72%, #070707 100%);
  border-top: 1px solid rgba(200,164,93,.28);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo-img {
  height: 40px; width: auto;
  margin-bottom: 1rem;
  filter: none;
  opacity: .95;
}
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.78); max-width: 240px; line-height: 1.75; margin-bottom: 1.2rem; }
.footer-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: #070707;
  padding: .6rem 1.3rem; border-radius: 100px; font-size: .75rem; font-weight: 600;
  transition: background .3s;
}
.footer-wa:hover { background: var(--gold-light); color: #070707; }
.footer-col h4 {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.footer-col a, .footer-col address, .footer-col p {
  font-size: .8rem; color: rgba(255,255,255,.76);
  display: block; line-height: 1.85; font-style: normal;
  transition: color .25s;
}
.footer-col a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-col .footer-contact-line {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.76);
  line-height: 1.6; margin-bottom: .4rem;
}
.footer-col .footer-contact-line svg { flex-shrink: 0; margin-top: .15rem; color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,164,93,.18);
  font-size: .7rem; color: rgba(255,255,255,.64); flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.72); transition: color .25s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── BOTÃO FLUTUANTE BOT ────────────────── */
#float-bot {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: transparent;
  border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#float-bot.vis  { opacity: 1; transform: translateY(0); pointer-events: all; }
#float-bot.footer-hidden { opacity: 0 !important; transform: translateY(16px) !important; pointer-events: none !important; }
#float-bot:hover { transform: translateY(-3px) !important; }
.bot-avatar {
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  border-radius: 50%; object-fit: cover; object-position: center 18%;
  display: block; pointer-events: none; position: relative; z-index: 2;
  border: 2px solid rgba(200,164,93,.6);
  box-shadow: 0 4px 20px rgba(27,16,12,.35);
}
#float-bot::before, #float-bot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: sim-radar 2.6s ease-out infinite; pointer-events: none; z-index: 1;
}
#float-bot::after { animation-delay: 1.3s; }
@keyframes sim-radar { 0%{transform:scale(1);opacity:.45} 100%{transform:scale(2.4);opacity:0} }
@media(max-width:768px){
  #float-bot { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
  .bot-avatar { width: 50px; height: 50px; min-width: 50px; min-height: 50px; }
}

/* ══════════════════════════════════════════════════════
   SIM BOT — Chat widget (paleta Simoni Lobato Design)
══════════════════════════════════════════════════════ */
#fenix-chat {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: min(370px, calc(100vw - 2rem));
  max-height: 530px;
  background: #faf8f5;
  border: 1px solid rgba(200,164,93,.28);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(27,16,12,.22), 0 0 0 1px rgba(200,164,93,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease;
}
#fenix-chat.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Header */
#fenix-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem .9rem 1.1rem;
  background: linear-gradient(135deg, #070707 0%, #1d1d1b 100%);
  border-bottom: 1px solid rgba(200,164,93,.25);
  flex-shrink: 0;
}
#fenix-chat-identity { display: flex; align-items: center; gap: .75rem; }
#fenix-chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(200,164,93,.45);
  flex-shrink: 0;
}
#fenix-chat-name {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  font-family: var(--sans);
}
#fenix-chat-status {
  font-size: .66rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .1rem;
  font-family: var(--sans);
}
#fenix-chat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 6px #4ade80;
}
#fenix-chat-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(255,255,255,.75);
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: .75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
  font-family: var(--sans);
}
#fenix-chat-close:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Messages */
#fenix-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: #faf8f5;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,164,93,.3) transparent;
}
#fenix-chat-msgs::-webkit-scrollbar { width: 4px; }
#fenix-chat-msgs::-webkit-scrollbar-thumb { background: rgba(200,164,93,.3); border-radius: 4px; }

.fcm-row {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  gap: .4rem;
}
.fcm-bot  { align-self: flex-start; }
.fcm-user { align-self: flex-end; }

.fcm-bubble {
  padding: .65rem .85rem;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.65;
  word-break: break-word;
  font-family: var(--sans);
}
.fcm-bot .fcm-bubble {
  background: #f0ebe4;
  color: #070707;
  border-radius: 4px 14px 14px 14px;
  border: 1px solid rgba(200,164,93,.18);
}
.fcm-user .fcm-bubble {
  background: linear-gradient(135deg, #c8a45d, #9a7860);
  color: #fff;
  border-radius: 14px 4px 14px 14px;
}

/* Typing indicator */
.fcm-typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .7rem .9rem !important;
}
.fcm-typing-bubble span {
  width: 7px; height: 7px;
  background: rgba(200,164,93,.7);
  border-radius: 50%;
  animation: fcm-bounce .9s infinite;
}
.fcm-typing-bubble span:nth-child(2) { animation-delay: .15s; }
.fcm-typing-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes fcm-bounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-6px); }
}

/* CTA link inside chat */
.fcm-cta {
  display: inline-block;
  background: rgba(200,164,93,.1);
  border: 1px solid rgba(200,164,93,.45);
  color: #7a5c40;
  font-size: .74rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  align-self: flex-start;
  letter-spacing: .01em;
  font-family: var(--sans);
  text-decoration: none;
}
.fcm-cta:hover { background: rgba(200,164,93,.22); color: #070707; border-color: rgba(200,164,93,.7); }

/* Input area */
#fenix-chat-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-top: 1px solid rgba(200,164,93,.18);
  background: #f5f0eb;
  flex-shrink: 0;
}
#fenix-chat-input {
  flex: 1;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(200,164,93,.3);
  border-radius: 10px;
  padding: .55rem .8rem;
  font-size: .82rem;
  color: #070707;
  outline: none;
  font-family: var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
#fenix-chat-input::placeholder { color: rgba(27,16,12,.38); }
#fenix-chat-input:focus { border-color: rgba(200,164,93,.7); box-shadow: 0 0 0 3px rgba(200,164,93,.12); }
#fenix-chat-send {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary);
  border: none;
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
#fenix-chat-send:hover { background: #1d1d1b; transform: scale(1.05); }
#fenix-chat-send:active { transform: scale(.95); }

/* Mobile overlay backdrop */
#fenix-chat-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,16,12,.45);
  z-index: 598;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#fenix-chat-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media(max-width:600px) {
  #fenix-chat {
    position: fixed;
    left: 0; right: 0;
    bottom: 0; top: auto;
    width: 100%;
    height: 88vh; max-height: 88vh;
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 1px solid rgba(200,164,93,.28);
    box-shadow: 0 -8px 40px rgba(27,16,12,.3);
    transform: translateY(100%);
    opacity: 1;
    transition: transform .35s cubic-bezier(.32,1,.23,1);
    z-index: 599;
  }
  #fenix-chat.open { transform: translateY(0); opacity: 1; }
  #fenix-chat::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: rgba(200,164,93,.35);
    border-radius: 2px;
    margin: .65rem auto .1rem;
    flex-shrink: 0;
  }
  #fenix-chat-header { padding: .65rem 1rem .75rem; }
  #fenix-chat-avatar { width: 36px; height: 36px; min-width: 36px; }
  #fenix-chat-name { font-size: .84rem; }
  #fenix-chat-msgs { padding: .85rem 1rem; gap: .55rem; }
  .fcm-bubble { font-size: .84rem; padding: .6rem .8rem; }
  #fenix-chat-form {
    padding: .65rem .9rem;
    padding-bottom: max(.65rem, env(safe-area-inset-bottom));
  }
  #fenix-chat-input { font-size: 16px; padding: .6rem .75rem; }
  #fenix-chat-send { width: 42px; height: 42px; flex-shrink: 0; }
  .fcm-row { max-width: 90%; }
  #fenix-chat-backdrop { display: block; }
}

/* ─── MAGIC BENTO ─────────────────────────── */
.proc-card, .espaco-card, .passo-card {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 400px;
  position: relative;
  overflow: hidden;
}

.mb-border-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  pointer-events: none;
  z-index: 10;
  background: var(--card-grad);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.mb-particle {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(178, 144, 119, 1);
  box-shadow:
    0 0 3px  rgba(178, 144, 119, 1),
    0 0 8px  rgba(178, 144, 119, 0.7),
    0 0 15px rgba(178, 144, 119, 0.35);
  pointer-events: none; z-index: 6; will-change: transform, opacity;
}

.mb-spotlight {
  position: fixed; width: 800px; height: 800px; border-radius: 50%;
  pointer-events: none; z-index: 9500; opacity: 0;
  top: 0; left: 0; transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  background: radial-gradient(circle,
    rgba(178, 144, 119, 0.18) 0%,
    rgba(178, 144, 119, 0.11) 12%,
    rgba(178, 144, 119, 0.06) 24%,
    rgba(244, 236, 231, 0.03) 40%,
    transparent 65%
  );
  will-change: transform, opacity; transition: opacity 0.3s;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media(max-width:1200px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .sobre-inner { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-text h2 { max-width: none; }
  .sobre-text p  { max-width: none; }
  .quem-inner { grid-template-columns: 1fr; gap: 2rem; }
  .quem-symbol { display: none; }
}

@media(max-width:1024px){
  nav.header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { max-width: min(58vw, 520px); }
  .espaco-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:768px){
  #header { padding: .75rem 0; }
  #header.scrolled { padding: .65rem 0; }
  .header-inner { gap: .65rem; padding: 0 1rem; }
  .header-inner > a:first-child { flex: 0 0 90px; }
  .logo-light, .logo-dark { width: 90px; height: auto; max-height: 54px; object-fit: contain; }
  #header .btn-primary { padding: .62rem 1rem; font-size: .62rem; letter-spacing: .08em; flex: 0 1 auto; }
  .hamburger { width: 24px; flex-shrink: 0; }

  .hero-sequence { height: 360vh; height: 360svh; }
  .hero-sticky { height: 100svh; min-height: 100vh; }
  .hero-content { bottom: clamp(4.5rem, 8vh, 7rem); left: 1.5rem; right: 1.5rem; max-width: 100%; }
  .hero-label { font-size: .58rem; letter-spacing: .2em; margin-bottom: .8rem; }
  .hero-h1 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); margin-bottom: .8rem; line-height: 1.14; }
  .hero-sub { display: none; }
  .hero-actions { flex-wrap: nowrap; gap: .5rem; }
  .hero-actions .btn { padding: .62rem .95rem; font-size: .62rem; letter-spacing: .07em; }
}

/* ─── Fireflies ──────────────────────────── */
footer { position: relative; overflow: hidden; }
.firefly-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: .75;
}
footer > .container { position: relative; z-index: 1; }

/* ─── DEPOIMENTOS GOOGLE ────────────────── */
.dep-section {
  background: var(--card-grad);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
}

/* Quantity picker */
.qty-overlay {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.qty-overlay.open { opacity: 1; pointer-events: all; }

.qty-picker {
  position: fixed; z-index: 1501;
  bottom: 0; left: 50%; transform: translateX(-50%) translateY(108%);
  width: min(480px, 100vw);
  background: var(--warm-grad);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 -16px 60px rgba(0,0,0,.55);
  padding: .6rem 1.8rem 2.4rem;
  opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.22,.88,.22,1), opacity .3s;
}
.qty-picker.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1; pointer-events: all;
}

.qty-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.18);
  margin: 0 auto 1.2rem;
}

.qty-picker-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: .25rem; gap: 1rem;
}
.qty-picker-top h4 { color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.3; flex: 1; }
.qty-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  border: none; cursor: pointer; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s; font-family: inherit;
}
.qty-close:hover { background: rgba(255,255,255,.2); }

.qty-price-ref { color: rgba(200,164,93,.85); font-size: .76rem; margin-bottom: 1.1rem; }

.qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.qty-label span { color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 500; display: block; }
.qty-label small { color: rgba(255,255,255,.4); font-size: .7rem; }

.qty-counter { display: flex; align-items: center; gap: .9rem; }
.qty-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; font-family: inherit; line-height: 1;
}
.qty-btn:hover { background: rgba(27,16,12,.35); border-color: rgba(27,16,12,.6); }
.qty-count { color: #fff; font-size: 1.05rem; font-weight: 600; min-width: 22px; text-align: center; }

.qty-free-note { color: rgba(255,255,255,.3); font-size: .68rem; margin: .8rem 0 0; line-height: 1.6; }

.qty-date-row { border-bottom: none !important; margin-top: .4rem; }
.qty-date-input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  color: #fff;
  padding: .45rem .7rem;
  font-size: .82rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  width: 160px;
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.qty-date-input:focus { border-color: rgba(27,16,12,.7); box-shadow: 0 0 0 3px rgba(27,16,12,.15); }
.qty-date-input.qty-date-error { border-color: #ff4444; box-shadow: 0 0 0 3px rgba(255,68,68,.18); animation: dateShake .3s ease; }
@keyframes dateShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}



.qty-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .8rem 0 1.2rem; border-top: 1px solid rgba(255,255,255,.07);
}
.qty-total-row span { color: rgba(255,255,255,.5); font-size: .8rem; }
.qty-total-row strong { color: rgba(200,164,93,.9); font-size: 1.1rem; }

.wa-picker-btn {
  width: 100%; padding: .95rem;
  background: #25D366; color: #fff;
  border-radius: 100px; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; cursor: pointer; font-family: var(--sans);
  margin-top: .55rem;
  transition: background .3s, transform .2s, box-shadow .3s;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.25);
}
.wa-picker-btn:hover { background: #1fb355; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(37,211,102,.35); }
.co-back {
  background: none; border: none; color: rgba(255,255,255,.38);
  font-size: .74rem; cursor: pointer; font-family: var(--sans);
  margin-top: .75rem; width: 100%; text-align: center; padding: .4rem;
  transition: color .2s; display: block;
}
.co-back:hover { color: rgba(255,255,255,.75); }

.co-processing { text-align: center; padding: 3rem 1rem; }
.co-spinner {
  width: 50px; height: 50px; border-radius: 50%;
  border: 3px solid rgba(27,16,12,.2);
  border-top-color: var(--primary);
  animation: coSpin .8s linear infinite;
  margin: 0 auto 1.4rem;
}
@keyframes coSpin { to { transform: rotate(360deg); } }

.co-success { text-align: center; padding: 2.5rem 1rem; }
.co-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(37,211,102,.12); border: 2px solid #25D366;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: #25D366;
  animation: coPopIn .5s cubic-bezier(.2,1.5,.4,1) both;
}
@keyframes coPopIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.co-success h3 { color: var(--white); font-family: var(--serif); font-size: 1.5rem; font-weight: 300; margin-bottom: .8rem; }
.co-success p  { color: rgba(255,255,255,.7); font-size: .86rem; max-width: 320px; margin: 0 auto 2rem; line-height: 1.75; }

/* ─── Materiais (chips) ──────────────────── */
.materiais-wrapper {
  margin-top: 4rem;
  text-align: center;
}
.materiais-label {
  margin-bottom: 1.5rem;
}
.materiais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  max-width: 720px;
  margin: 0 auto;
}
.material-chip {
  display: inline-block;
  padding: .5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--card);
  transition: all .3s ease;
}
.material-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,164,93,.06);
  transform: translateY(-2px);
}

/* ─── Reduced motion ─────────────────────── */
@media(prefers-reduced-motion:reduce){
  .marquee-content { animation: none; }
  .scroll-line::after { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Galeria filtravel de referencia */
.projetos-section { overflow: hidden; }
.projetos-section > .container { max-width: none; padding-inline: clamp(1rem, 2.2vw, 2.6rem); }
.projetos-section h2 { max-width: 620px; }
.projetos-section .projetos-intro { max-width: 620px; }
.projetos-filter-bar {
  width: auto; min-height: 0; margin: -4.8rem 24vw 2.7rem auto; padding: 0;
  justify-content: flex-end; gap: .65rem; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; backdrop-filter: none; overflow: visible;
}
.project-filter {
  flex: 0 0 auto; min-height: 38px; padding: .65rem 1.15rem;
  border: 1px solid rgba(255,255,255,.2); border-radius: 0;
  color: rgba(255,255,255,.82); background: transparent;
  font-size: .68rem; font-weight: 600; letter-spacing: .02em;
}
.project-filter::before, .project-filter::after { display: none; }
.project-filter:hover, .project-filter.is-active {
  color: #10100f; background: var(--gold); border-color: var(--gold); box-shadow: none; transform: none;
}
.carousel-nav-bar { display: none; }
.espaco-grid.project-carousel {
  display: block; width: 100vw; margin: 0 calc(50% - 50vw);
  overflow: visible; cursor: default;
}
.project-track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; width: 100%; padding: 0;
}
.espaco-card {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5;
  border: 0; border-radius: 0; box-shadow: none; overflow: hidden;
  opacity: 1; transform: none; cursor: default; background: #151515;
}
.espaco-card:hover { transform: none; border: 0; box-shadow: none; }
.espaco-card.is-filtered-out { display: none; }
.espaco-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.espaco-img::after { background: linear-gradient(90deg, rgba(0,0,0,.38), transparent 48%); opacity: 0; transition: opacity .4s ease; }
.espaco-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .7s cubic-bezier(.2,.75,.25,1), filter .45s ease; }
.espaco-card:hover .espaco-img img { transform: scale(1.035); filter: brightness(.8); }
.espaco-card:hover .espaco-img::after { opacity: 1; }
.project-caption {
  position: absolute; z-index: 3; left: 0; top: 50%;
  display: flex; align-items: center; gap: .8rem;
  color: #fff; transform: translate(-105%, -50%); opacity: 0;
  transition: transform .48s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  pointer-events: none;
}
.project-caption::before { content: ''; width: clamp(28px, 3.2vw, 62px); height: 1px; background: var(--gold); }
.project-caption strong { max-width: 170px; font-size: clamp(.7rem, .8vw, .92rem); font-weight: 600; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.espaco-card:hover .project-caption, .espaco-card:focus-visible .project-caption { transform: translate(0, -50%); opacity: 1; }
@media(max-width:1050px){
  .projetos-filter-bar { margin: 2rem 0; justify-content: flex-start; overflow-x: auto; }
  .project-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px){
  .project-filter { padding: .58rem .85rem; font-size: .62rem; }
  .project-track { grid-template-columns: 1fr; }
  .espaco-card { aspect-ratio: 4 / 5; }
  .project-caption { transform: translate(0, -50%); opacity: 1; }
  .espaco-img::after { opacity: .45; }
}
/* Ajuste carrusel horizontal filtrable */
.espaco-grid.project-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.espaco-grid.project-carousel::-webkit-scrollbar { display: none; }
.espaco-grid.project-carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.project-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  gap: 0;
}
.espaco-card {
  flex: 0 0 25vw;
  width: 25vw;
  min-width: 280px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  perspective: 1000px;
}
.espaco-img::after {
  background: linear-gradient(90deg, rgba(214,200,156,.76) 0%, rgba(214,200,156,.46) 42%, rgba(214,200,156,.08) 78%, transparent 100%);
  opacity: 0;
  transform: translateX(-101%);
  transition: transform .62s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
}
.espaco-card:hover .espaco-img::after, .espaco-card:focus-visible .espaco-img::after {
  opacity: 1;
  transform: translateX(0);
}
.project-caption {
  left: 0;
  top: auto;
  bottom: 0;
  width: 100%;
  min-height: 72px;
  padding: 1rem 1.35rem;
  gap: .65rem;
  background: linear-gradient(90deg, rgba(13,14,13,.97), rgba(29,30,29,.94));
  transform: translateX(-101%);
  opacity: 0;
}
.project-caption::before { width: 30px; flex: 0 0 30px; background: var(--gold); }
.project-caption strong { max-width: calc(100% - 46px); font-size: .72rem; letter-spacing: .08em; }
.espaco-card:hover .project-caption, .espaco-card:focus-visible .project-caption {
  transform: translateX(0);
  opacity: 1;
}
.espaco-card::after {
  content: '↗';
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(178,164,112,.8);
  font-size: 1.1rem;
  opacity: 0;
  transform: translate(-10px, 10px) scale(.8);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.espaco-card:hover::after, .espaco-card:focus-visible::after { opacity: 1; transform: translate(0,0) scale(1); }
@media(max-width:1050px){ .espaco-card { flex-basis: 50vw; width: 50vw; } }
@media(max-width:600px){
  .espaco-card { flex-basis: 82vw; width: 82vw; min-width: 0; }
  .project-caption { transform: translateX(-101%); opacity: 0; }
  .espaco-img::after { opacity: 0; transform: translateX(-101%); }
  .espaco-card:hover .project-caption, .espaco-card:focus-visible .project-caption { transform: translateX(0); opacity: 1; }
  .espaco-card:hover .espaco-img::after, .espaco-card:focus-visible .espaco-img::after { opacity: 1; transform: translateX(0); }
}
/* Arquitetos referencia superpuesta */
.arquitetos-section {
  position: relative;
  overflow: hidden;
  background: #080a09;
}
.arquitetos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .17;
  background: radial-gradient(circle at 76% 46%, rgba(200,164,93,.2), transparent 35%);
  pointer-events: none;
}
.arquitetos-container { position: relative; z-index: 1; max-width: 1120px; }
.arquitetos-heading { max-width: 650px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.arquitetos-heading .label { color: var(--gold); margin-bottom: .9rem; }
.arquitetos-heading h2 { color: #fff; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; text-transform: uppercase; }
.arquitetos-composition {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
}
.arquitetos-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0 190px 0 190px;
}
.arquitetos-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,9,.2), transparent 42%);
  pointer-events: none;
}
.arquitetos-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arquitetos-panel {
  position: relative;
  z-index: 2;
  width: 68%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2.2rem 2.8rem;
  padding: clamp(2rem, 4vw, 3.6rem);
  background: linear-gradient(135deg, #1b1d1e, #171819);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.arquitetos-benefit h3 {
  padding-bottom: .9rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(.82rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.arquitetos-benefit p { margin: 0; color: rgba(255,255,255,.68); font-size: .76rem; line-height: 1.65; }
.arquitetos-cta { grid-column: 1 / -1; justify-self: start; margin-top: .2rem; }
@media(max-width:900px){
  .arquitetos-composition { min-height: 0; display: grid; padding-top: 220px; }
  .arquitetos-image { width: 82%; height: 350px; border-radius: 0 120px 0 120px; }
  .arquitetos-panel { width: 88%; }
}
@media(max-width:600px){
  .arquitetos-heading h2 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .arquitetos-composition { padding-top: 185px; }
  .arquitetos-image { width: 94%; height: 280px; border-radius: 0 80px 0 80px; }
  .arquitetos-panel { width: 94%; grid-template-columns: 1fr; gap: 1.65rem; padding: 1.6rem; }
  .arquitetos-benefit h3 { margin-bottom: .65rem; padding-bottom: .65rem; }
}
/* Sistema tipografico fino de referencia — hero preservado */
body { font-family: var(--sans); }
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--sans) !important;
  font-weight: 200 !important;
  line-height: 1.12;
  letter-spacing: .075em;
  text-transform: uppercase;
}
body p,
body .label,
body button,
body input,
body textarea,
body select,
body .btn,
body .project-filter,
body .project-caption,
body .tour-price,
body .project-category {
  font-family: var(--sans) !important;
}
body p { font-weight: 400; }
body .label {
  font-weight: 600;
  letter-spacing: .2em;
}
/* El hero mantiene Cormorant Garamond y sus estilos originales. */
.hero-sequence .hero-h1 {
  font-family: var(--serif) !important;
  font-weight: 300 !important;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
.hero-sequence .hero-label,
.hero-sequence .hero-sub,
.hero-sequence .btn {
  font-family: var(--sans) !important;
}
/* Quem somos composicao sobreposta */
.quem-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(200,164,93,.16), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(126,104,73,.13), transparent 30%),
    linear-gradient(135deg, #070807 0%, #111210 48%, #1a1916 72%, #080908 100%);
}
.quem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 1px, transparent 1px 20px),
    linear-gradient(90deg, transparent, rgba(200,164,93,.05), transparent);
}
.quem-section .quem-dot-grid { opacity: .26; mix-blend-mode: screen; }
.quem-about-container { position: relative; z-index: 2; max-width: 1180px; }
.quem-about-composition { position: relative; min-height: 650px; }
.quem-about-accent {
  position: absolute;
  z-index: 0;
  top: -5rem;
  bottom: -5rem;
  left: 54%;
  width: 17%;
  background: linear-gradient(180deg, rgba(200,164,93,.9), rgba(145,111,66,.72));
}
.quem-about-photo {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 3rem;
  width: 67%;
  height: 520px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.quem-about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,9,8,.18), transparent 56%);
  pointer-events: none;
}
.quem-about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.quem-about-card {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 10rem;
  width: 61%;
  min-height: 430px;
  padding: clamp(2.2rem, 4vw, 4.5rem);
  color: #fff;
  background: linear-gradient(145deg, rgba(31,32,31,.98), rgba(18,19,18,.98));
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 28px 75px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.04);
}
.quem-about-card .label { margin-bottom: .8rem; color: var(--gold); }
.quem-about-card h2 { max-width: 520px; margin-bottom: 1.35rem; color: #fff; }
.quem-about-card > p:not(.label) { max-width: 590px; margin-bottom: .9rem; color: rgba(255,255,255,.68); font-size: .85rem; line-height: 1.75; }
.quem-about-actions { display: flex; align-items: center; gap: 2rem; margin-top: 1.8rem; }
.quem-about-actions .btn-outline { border-color: rgba(200,164,93,.72); color: var(--gold-light); }
.quem-about-contact { display: grid; gap: .15rem; }
.quem-about-contact span { color: rgba(255,255,255,.46); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.quem-about-contact strong { color: var(--gold-light); font-size: .9rem; font-weight: 500; }
.quem-about-seal {
  position: absolute;
  z-index: 5;
  top: -68px;
  right: -54px;
  width: 142px;
  height: 142px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
}
.quem-about-seal svg { width: 100%; height: 100%; overflow: visible; animation: quemSealSpin 22s linear infinite; }
.quem-about-seal text { fill: rgba(244,236,231,.82); font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 2.2px; }
.quem-about-seal circle { fill: var(--gold); }
@keyframes quemSealSpin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce){ .quem-about-seal svg { animation: none; } }
@media(max-width:900px){
  .quem-about-composition { min-height: 780px; }
  .quem-about-accent { left: auto; right: 8%; width: 24%; }
  .quem-about-photo { width: 88%; height: 470px; }
  .quem-about-card { top: 300px; width: 86%; min-height: 0; }
  .quem-about-seal { right: -36px; }
}
@media(max-width:600px){
  .quem-about-composition { min-height: 850px; }
  .quem-about-accent { top: -3rem; bottom: -3rem; width: 28%; }
  .quem-about-photo { top: 1.5rem; width: 94%; height: 360px; }
  .quem-about-card { top: 265px; width: 94%; padding: 2rem 1.4rem; }
  .quem-about-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .quem-about-seal { top: -54px; right: -24px; width: 112px; height: 112px; }
  .quem-about-seal text { font-size: 10px; }
}
/* Escala refinada de titulos */
body h2 { font-size: clamp(1.55rem, 2.6vw, 2.45rem) !important; }
body h3 { font-size: clamp(.82rem, 1.15vw, 1.02rem) !important; }
body h4, body h5, body h6 { font-size: clamp(.76rem, 1vw, .94rem) !important; }
.hero-sequence .hero-h1 { font-size: clamp(2rem, 3.2vw, 3.6rem) !important; }
.quem-about-photo img { object-position: center center; }
/* Processo referencia cards escuras */
.processo-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(200,164,93,.12), transparent 34%),
    linear-gradient(180deg, #f7f5f1 0%, #efede7 100%);
}
.processo-section::before { background: linear-gradient(90deg, transparent, rgba(200,164,93,.6), transparent); }
.processo-section > .container { max-width: 1440px; text-align: center; }
.processo-section .label { margin-bottom: .9rem; color: #666455; }
.processo-section h2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3.2rem;
  color: #22241e;
}
.processo-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.45rem;
  width: 108px;
  height: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, #676953 0 2px, transparent 2px 4px);
}
.processo-intro {
  max-width: 820px;
  margin: 0 auto 4.2rem;
  color: #62635e;
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  line-height: 1.75;
}
.passos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  align-items: stretch;
}
.passo-card {
  min-height: 350px;
  padding: clamp(2rem, 3.5vw, 3.6rem) clamp(1.3rem, 2vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid rgba(200,164,93,.18);
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(200,164,93,.1), transparent 42%),
    linear-gradient(150deg, #0d0e0d, #1b1c1a);
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  text-align: center;
}
.passo-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200,164,93,.55);
  box-shadow: 0 28px 58px rgba(0,0,0,.28);
}
.passo-num {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
}
.passo-body h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(.78rem, 1vw, .94rem) !important;
  font-weight: 400 !important;
  letter-spacing: .1em;
}
.passo-body p {
  max-width: 260px;
  margin: 0 auto;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  line-height: 1.75;
}
@media(max-width:1000px){
  .passos-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media(max-width:600px){
  .processo-section h2 { margin-bottom: 2.8rem; }
  .processo-intro { margin-bottom: 2.8rem; }
  .passos-grid { grid-template-columns: 1fr; gap: .7rem; }
  .passo-card { min-height: 290px; }
}
/* Processo ajuste fiel referencia clara */
.processo-section {
  padding-top: clamp(5.5rem, 9vw, 8rem);
  padding-bottom: clamp(2.8rem, 5vw, 4rem);
  background: #f8f7f4;
}
.processo-section::before { display: none; }
.processo-section > .container { width: 100%; max-width: 1440px; padding-inline: clamp(1rem, 2.3vw, 2rem); }
.processo-section .label { margin-bottom: 1rem; color: #5f604b; }
.processo-section h2 {
  max-width: 930px;
  margin: 0 auto 3.1rem;
  color: #24261f;
  line-height: 1.12;
}
.processo-section h2::after { bottom: -1.55rem; width: 96px; background: repeating-linear-gradient(90deg, #585a46 0 2px, transparent 2px 4px); }
.processo-intro {
  max-width: 850px;
  margin: 0 auto clamp(5.8rem, 9vw, 8rem);
  color: #484944;
  font-size: clamp(.9rem, 1.3vw, 1.08rem);
  line-height: 1.85;
}
.passos-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; }
.passo-card {
  min-height: 325px;
  padding: 3rem clamp(1.25rem, 2vw, 2rem);
  gap: 1.25rem;
  border: 1px solid #e1e1dd;
  border-radius: 0;
  color: #24261f;
  background: #fff;
  box-shadow: 0 13px 32px rgba(39,39,32,.1);
}
.passo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(104,105,77,.38);
  box-shadow: 0 20px 42px rgba(39,39,32,.15);
}
.passo-num {
  color: #343a24;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 4.7vw, 4.7rem);
  font-weight: 300;
}
.passo-body h3 {
  margin-bottom: 1rem;
  color: #11130f;
  font-size: clamp(.75rem, .95vw, .9rem) !important;
  font-weight: 500 !important;
  letter-spacing: .105em;
}
.passo-body p {
  max-width: 255px;
  color: #66635d;
  font-size: clamp(.78rem, .9vw, .88rem);
  line-height: 1.72;
}
@media(max-width:1000px){
  .processo-intro { margin-bottom: 4rem; }
  .passos-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
}
@media(max-width:600px){
  .processo-section { padding-top: 4.5rem; }
  .processo-intro { margin-bottom: 3rem; }
  .passos-grid { grid-template-columns: 1fr; }
  .passo-card { min-height: 285px; }
}
/* Processo cards compactas centradas */
.processo-section .passos-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
  gap: 0;
}
.processo-section .passo-card {
  min-height: 275px;
  padding: 2.25rem 1.35rem;
  box-shadow: 0 11px 28px rgba(39,39,32,.09);
}
.processo-section .passo-num {
  font-size: clamp(3rem, 4vw, 4rem);
  margin-bottom: .1rem;
}
.processo-section .passo-body h3 { margin-bottom: .75rem; }
.processo-section .passo-body p { max-width: 225px; }
@media(max-width:1000px){
  .processo-section .passos-grid { width: min(100%, 720px); gap: 0; }
}
@media(max-width:600px){
  .processo-section .passos-grid { width: min(100%, 360px); gap: .55rem; }
  .processo-section .passo-card { min-height: 255px; }
}
/* Diferenciais compactos referencia */
.essencia-section {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 20% 0%, rgba(200,164,93,.09), transparent 28%),
    linear-gradient(135deg, #161715, #222321 55%, #141513);
}
.essencia-section > .container { max-width: 1180px; }
.essencia-section .label { color: var(--gold); text-align: center; }
.essencia-section h2 { margin: .8rem auto; color: #fff; text-align: center; }
.essencia-intro { max-width: 650px; margin: 0 auto 2.2rem; color: rgba(255,255,255,.62); text-align: center; }
.essencia-section .proc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}
.essencia-section .proc-card {
  min-height: 245px;
  padding: 2rem 1.45rem;
  justify-content: center;
  border: 0;
  border-right: 1px solid #d6d4ce;
  border-radius: 0;
  background: #f8f7f3;
  box-shadow: none;
}
.essencia-section .proc-card:first-child { border-left: 1px solid #d6d4ce; }
.essencia-section .proc-card:hover { transform: translateY(-4px); border-color: #c9a76b; box-shadow: 0 16px 32px rgba(0,0,0,.16); }
.essencia-section .proc-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 1.35rem;
  border: 1px solid #c9a76b;
  border-radius: 50%;
  color: #b78f51;
  background: transparent;
}
.essencia-section .proc-icon svg { width: 27px; height: 27px; }
.essencia-section .proc-card h3 { margin-bottom: .75rem; color: #24251f; font-size: .88rem !important; font-weight: 400 !important; }
.essencia-section .proc-card p { color: #66645e; font-size: .75rem; line-height: 1.65; }
@media(max-width:900px){ .essencia-section .proc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 680px; } }
@media(max-width:560px){ .essencia-section .proc-grid { grid-template-columns: 1fr; max-width: 340px; } .essencia-section .proc-card { min-height: 220px; border-left: 1px solid #d6d4ce; border-bottom: 1px solid #d6d4ce; } }

/* Materiais reposicionados depois da galeria */
.materiais-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(200,164,93,.16), transparent 38%),
    linear-gradient(135deg, #0b0c0b, #1c1d1b);
}
.materiais-section .materiais-wrapper { margin: 0; text-align: center; }
.materiais-section .materiais-label { margin-bottom: .75rem; color: var(--gold); }
.materiais-section h2 { margin-bottom: 2rem; color: #fff; }
.materiais-section .materiais-grid { max-width: 900px; gap: .7rem; }
.materiais-section .material-chip {
  padding: .62rem 1.35rem;
  border-color: rgba(200,164,93,.35);
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.035);
}
.materiais-section .material-chip:hover { color: #fff; border-color: var(--gold); background: rgba(200,164,93,.12); }
/* Diferenciais fundo claro solicitado */
.essencia-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(200,164,93,.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f5f1 100%);
}
.essencia-section .label { color: #6b684f; }
.essencia-section h2 { color: #24261f; }
.essencia-section .essencia-intro { color: #686862; }
/* Numeros do processo dourados */
.processo-section .passo-num { color: var(--gold); }
/* Filtros galeria sem sobreposicao */
.projetos-section .projetos-filter-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 1.8rem 0 2.7rem;
  justify-content: flex-end;
}
.projetos-section .projetos-intro {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-bottom: 0;
}
@media(max-width:1050px){
  .projetos-section .projetos-filter-bar {
    justify-content: flex-start;
    margin: 1.5rem 0 2rem;
    overflow-x: auto;
  }
}
/* Materiais quadrados scroll */
.materiais-section .materiais-grid {
  display: grid;
  grid-template-columns: repeat(5, 104px);
  justify-content: center;
  gap: .7rem;
  max-width: none;
}
.materiais-section .material-chip {
  width: 104px;
  height: 104px;
  padding: .7rem;
  display: grid;
  place-items: center;
  border-radius: 0;
  text-align: center;
  line-height: 1.35;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  will-change: transform, opacity;
}
@media(max-width:700px){
  .materiais-section .materiais-grid { grid-template-columns: repeat(3, 94px); gap: .55rem; }
  .materiais-section .material-chip { width: 94px; height: 94px; font-size: .66rem; }
}
@media(max-width:380px){
  .materiais-section .materiais-grid { grid-template-columns: repeat(3, 84px); }
  .materiais-section .material-chip { width: 84px; height: 84px; }
}
/* Fotos individuais dos materiais */
.materiais-section .material-chip {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
  border: 1px solid rgba(200,164,93,.38);
  background: #111;
}
.materiais-section .material-chip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}
.materiais-section .material-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,8,7,.88), rgba(7,8,7,.05) 64%);
  pointer-events: none;
}
.materiais-section .material-chip figcaption {
  position: absolute;
  z-index: 2;
  left: .55rem;
  right: .55rem;
  bottom: .55rem;
  color: #fff;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.materiais-section .material-chip:hover img { transform: scale(1.09); filter: brightness(1.08); }
/* Materiais um unico quadrado rotativo */
.materiais-section {
  height: 500vh;
  min-height: 2800px;
  padding: 0;
  overflow: visible;
}
.materiais-section > .container {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 3rem;
}
.materiais-section .materiais-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.materiais-section h2 { margin-bottom: 1.6rem; }
.materiais-section .materiais-grid {
  position: relative;
  display: block;
  width: clamp(210px, 18vw, 260px);
  height: clamp(210px, 18vw, 260px);
  max-width: none;
  margin: 0 auto;
  perspective: 900px;
}
.materiais-section .material-chip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: rotate(-10deg) scale(.86);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  box-shadow: 0 24px 65px rgba(0,0,0,.38);
}
.materiais-section .material-chip:first-child {
  opacity: 1;
  visibility: visible;
  transform: rotate(0deg) scale(1);
}
.materiais-section .material-chip figcaption {
  bottom: .8rem;
  font-size: .7rem;
}
@media(max-width:600px){
  .materiais-section { height: 460vh; min-height: 2400px; }
  .materiais-section > .container { min-height: 560px; }
  .materiais-section .materiais-grid { width: 210px; height: 210px; }
}
/* Auditoria responsive final */
@media(max-width:768px){
  .section-pad { padding-block: clamp(3.5rem, 10vw, 5rem); }
  .container { padding-inline: 1rem; }

  /* Quem somos: mantém a sobreposição sem cortar conteúdo */
  .quem-about-composition {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-block: 1.25rem;
  }
  .quem-about-photo {
    position: relative;
    left: auto;
    top: auto;
    width: 96%;
    height: clamp(300px, 76vw, 400px);
    flex: 0 0 auto;
  }
  .quem-about-card {
    position: relative;
    right: auto;
    top: auto;
    width: 94%;
    min-height: 0;
    margin: -72px 0 0 auto;
  }
  .quem-about-accent { top: -2rem; bottom: -2rem; right: 5%; }

  /* Arquitetos */
  .arquitetos-container { padding-inline: 1rem; }
  .arquitetos-panel { max-width: 100%; }

  /* Galeria e filtros */
  .projetos-section > .container { padding-inline: 1rem; }
  .projetos-section .projetos-filter-bar { padding-bottom: .2rem; scrollbar-width: none; }
  .projetos-section .projetos-filter-bar::-webkit-scrollbar { display: none; }

  /* Materiais sticky cabe em telas baixas */
  .materiais-section > .container {
    height: 100svh;
    min-height: 0;
    padding-block: 2rem;
  }

  /* Rodapé */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col { min-width: 0; }
}

@media(max-width:480px){
  #header .btn-primary { display: none; }
  .header-inner > a:first-child { flex-basis: 82px; }
  .logo-light, .logo-dark { width: 82px; }
  .hero-content { left: 1rem; right: 1rem; }
  .hero-actions { flex-wrap: wrap; }

  .quem-about-card { width: 96%; padding: 1.7rem 1.2rem; margin-top: -54px; }
  .quem-about-seal { right: -8px; }

  .arquitetos-image { width: 100%; }
  .arquitetos-panel { width: 100%; }

  .cta-final { padding-inline: .5rem; }
  .cta-final-inner { padding-inline: 1.15rem; }
}

@media(max-width:360px){
  .project-filter { padding-inline: .7rem; }
  .materiais-section .materiais-grid { width: 190px; height: 190px; }
  .quem-about-contact strong { font-size: .78rem; }
}

/* === QUEM SOMOS FIX 2026-09-16 === */
.quem-about-composition {
  min-height: 640px;
}
.quem-about-photo {
  top: 2.5rem;
  width: 72%;
  height: 540px;
  border-radius: 24px;
  overflow: hidden;
}
.quem-about-photo::after {
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(9,9,8,.08), transparent 38%);
}
.quem-about-photo img {
  border-radius: inherit;
  object-position: center center;
}
.quem-about-card {
  top: auto;
  bottom: 2.25rem;
  right: 1.4rem;
  width: 35%;
  min-height: 0;
  padding: 1.55rem 1.6rem 1.5rem;
  border-radius: 24px;
}
.quem-about-card .label { margin-bottom: .55rem; }
.quem-about-card h2 {
  max-width: 100%;
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.08;
  margin-bottom: .85rem;
}
.quem-about-card > p:not(.label) {
  max-width: 100%;
  font-size: .74rem;
  line-height: 1.55;
  margin-bottom: .55rem;
}
.quem-about-actions {
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.quem-about-actions .btn {
  padding: .68rem 1.05rem;
  font-size: .64rem;
}
.quem-about-contact strong { font-size: .78rem; }
.quem-about-seal {
  top: -42px;
  right: -22px;
  width: 104px;
  height: 104px;
}

@media (max-width: 1100px) {
  .quem-about-photo { width: 78%; }
  .quem-about-card { width: 38%; right: .8rem; bottom: 1.6rem; }
}

@media (max-width: 900px) {
  .quem-about-composition {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-block: 1rem;
  }
  .quem-about-photo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: clamp(360px, 64vw, 500px);
    border-radius: 22px;
  }
  .quem-about-card {
    position: relative;
    right: auto;
    top: auto;
    width: min(88%, 520px);
    margin: -42px 1rem 0 auto;
    padding: 1.45rem 1.5rem;
    border-radius: 22px;
  }
  .quem-about-seal { right: -14px; top: -44px; width: 96px; height: 96px; }
}

@media (max-width: 600px) {
  .quem-about-photo {
    height: clamp(330px, 88vw, 420px);
  }
  .quem-about-card {
    width: calc(100% - 1.5rem);
    margin: 1rem .75rem 0;
    padding: 1.35rem 1.2rem;
  }
  .quem-about-card h2 { font-size: 1.5rem !important; }
  .quem-about-actions { flex-direction: column; align-items: flex-start; }
  .quem-about-seal { right: -6px; }
}
