/* ─────────── RESET & BASE ─────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --off-white:   #FAF8F4;
  --linen:       #F2EDE3;
  --sand:        #E8DFD0;
  --nude:        #D4C4AE;
  --fendi:       #C8B898;
  --taupe:       #B8A898;
  --warm-gray:   #8C7F72;
  --dark:        #2A2420;
  --accent:      #9C8570;
  --gold:        #B8963E;
  --gold-light:  #C9A84C;
  --gold-pale:   #E8D8A8;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', sans-serif;
  --ease:        cubic-bezier(.25,.46,.45,.94);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
button { cursor: pointer; }

/* ─────────── UTILITIES ─────────── */
.section-tag {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
}
.section-title em { font-style: italic; }
.section-body {
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 2;
  color: var(--warm-gray);
  font-weight: 300;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─────────── NAVIGATION ─────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.8rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(250,248,244,.97);
  backdrop-filter: blur(12px);
  padding: 1.1rem 4rem;
  border-bottom-color: var(--sand);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity .3s;
}
.nav-logo:hover .nav-logo-img { opacity: .82; }
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: .8;
  transition: opacity .3s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--dark);
  padding: .65rem 1.8rem;
  border: 1px solid var(--dark);
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--dark);
  transition: transform .3s, opacity .3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark);
}

/* ─────────── HERO ─────────── */
#hero {
  height: 90vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:url('media/images/fundo\ hero.jpeg') center center/cover no-repeat;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(42,36,32,.03) 59px, rgba(42,36,32,.03) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(42,36,32,.03) 59px, rgba(42,36,32,.03) 60px);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.7);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
  animation: heroReveal 1.6s var(--ease) both;
}
.hero-logo-wrap {
  animation: heroReveal 1.6s var(--ease) .15s both;
}
.hero-logo-img {
  height: clamp(200px, 30vw, 360px);
  width: auto;
  margin: 0 auto 1.2rem;
  display: block;
  filter: drop-shadow(0 4px 32px rgba(184,150,62,.22));
}
.hero-luxury-phrase {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  font-weight: 550;
  font-style: italic;
  letter-spacing: .28em;
  color: var(--gold);
  margin: -7rem 0 2rem 0;
  text-align: center;
  animation: heroReveal 1.6s var(--ease) .6s both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: .55;
  margin: 2rem 0 2rem 0;
  animation: heroReveal 1.6s var(--ease) .2s both;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(5.2rem, 9.6vw, 9.4rem);
  line-height: 0.92;
  color: var(--dark);
  margin-bottom: 1.4rem;
  letter-spacing: -.03em;
  animation: heroReveal 1.6s var(--ease) .3s both;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: var(--dark);
  opacity: 1;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  animation: heroReveal 1.6s var(--ease) .45s both;
}
.hero-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--dark);
  padding: 1.15rem 3.5rem;
  border: 1px solid var(--dark);
  transition: background .35s, color .35s;
  animation: heroReveal 1.6s var(--ease) .6s both;
}

.hero-btn:hover { background: transparent; color: var(--dark); }

.hero-btn-light {
  background: transparent;
  color: var(--linen);
  border-color: rgba(250,248,244,.4);
}
.hero-btn-light:hover { background: rgba(250,248,244,.12); color: var(--linen); }

.hero-scroll-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .45;
}
.hero-scroll-hint span {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
}
.scroll-bar {
  width: 1px;
  height: 44px;
  background: var(--dark);
  transform-origin: top;
  animation: scrollBar 2.2s ease infinite;
}
@keyframes scrollBar {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────── NUMBERS BAR ─────────── */
#numeros {
  background: var(--off-white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.num-item {
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  border-right: 1px solid var(--sand);
}
.num-item:last-child { border-right: none; }
.num-value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.num-label {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: .9rem;
}

/* ─────────── ESSÊNCIA ─────────── */
#essencia {
  padding: 9rem 4rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7rem;
  align-items: center;
  background: var(--off-white);
}
.essencia-visual,
.essencia-text {
  min-width: 0;
}
.essencia-visual { position: relative; }
.essencia-card-outer {
  aspect-ratio: .78;
  min-height: clamp(320px, 42vw, 520px);
  background: linear-gradient(155deg, var(--sand) 0%, var(--fendi) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.essencia-card-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .6;
}
.essencia-quote {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.55;
}
.essencia-deco {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--sand);
  opacity: .5;
  z-index: -1;
}
.essencia-deco-2 {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--nude);
  opacity: .4;
  z-index: -1;
}
.essencia-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 3rem;
}
.essencia-stat {
  border-top: 1px solid var(--sand);
  padding-top: 1.2rem;
}
.essencia-stat-n {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}
.essencia-stat-l {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: .45rem;
}

/* ─────────── VIDEO INSTITUCIONAL ─────────── */

.video-institucional-section {
  padding: 4rem 4rem 8rem;
  background: var(--off-white);
}
.video-institucional-frame {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--off-white);
}
.video-institucional-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* ─────────── SERVIÇOS ─────────── */
#servicos {
  padding: 8rem 4rem;
  background: var(--linen);
}
.services-header {
  text-align: center;
  margin-bottom: 5rem;
}
.services-header .section-tag { justify-content: center; display: flex; }
.services-header .section-title { max-width: 500px; margin: 0 auto; }
.services-subsections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--nude);
  margin-bottom: 1.5px;
}
.service-subsection {
  background: var(--linen);
  padding: 3rem 2.8rem;
}
.service-subsection-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 2rem;
  align-items: center;
}
.service-subsection-copy {
  display: flex;
  align-items: center;
}
.service-subsection-header {
  margin-bottom: 0;
}
.service-subsection-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.service-subsection-desc {
  font-family: var(--sans);
  font-size: .84rem;
  line-height: 1.85;
  color: var(--warm-gray);
  font-weight: 300;
}
.service-video-carousel {
  overflow: hidden;
}
.service-video-track {
  display: flex;
  transition: transform .4s ease;
}
.service-video-slide {
  min-width: 100%;
  padding: 0 .35rem;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px;
}
.service-video-slide video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}
.service-video-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-top: 1rem;
}
.service-video-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(76,63,43,.18);
  background: rgba(255,255,255,.6);
  color: var(--dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  font-size: .9rem;
}
.service-video-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.service-video-dots {
  display: flex;
  gap: .35rem;
}
.service-video-dot {
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  border: none;
  background: rgba(76,63,43,.25);
  padding: 0;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.service-video-dot.active {
  background: var(--gold);
  transform: scale(1.1);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--nude);
}
.services-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
  background: var(--linen);
  padding: 3.5rem 2.8rem;
  transition: background .35s;
}
.service-card:hover { background: var(--off-white); }
.service-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.2rem;
  transition: width .4s;
}
.service-card:hover .service-line { width: 56px; }
.service-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.service-desc {
  font-family: var(--sans);
  font-size: .84rem;
  line-height: 1.85;
  color: var(--warm-gray);
  font-weight: 300;
}
.service-cta {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
  padding-bottom: .2rem;
  transition: color .3s, border-color .3s;
}
.service-cta:hover { color: var(--gold); border-color: var(--gold); }

/* ─────────── PROJETOS ─────────── */
#projetos {
  padding: 8rem 0;
  background: var(--off-white);
}
.projetos-header {
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.projetos-filter {
  display: flex;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.filter-btn {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding-bottom: .2rem;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.filter-btn.active, .filter-btn:hover {
  color: var(--dark);
  border-bottom-color: var(--dark);
}
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 0 4rem;
}
.proj-item {
  position: relative;
  overflow: hidden;
}
.proj-inner {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.proj-item.featured .proj-inner {
  aspect-ratio: 3/4;
}
.proj-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-img-label {
  font-family: var(--serif);
  font-size: .9rem;
  font-style: italic;
  color: rgba(42,36,32,.35);
  text-align: center;
  line-height: 1.6;
}
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,36,32,.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.proj-item:hover .proj-overlay { opacity: 1; }
.proj-scale {
  position: absolute;
  inset: 0;
  transition: transform .7s var(--ease);
}
.proj-item:hover .proj-scale { transform: scale(1.04); }
.proj-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.2rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  z-index: 1;
}
.proj-item:hover .proj-info { transform: translateY(0); opacity: 1; }
.proj-tag {
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--nude);
  margin-bottom: .4rem;
}
.proj-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: white;
  line-height: 1.25;
}
/* Proj color variants */
.pc-1 { background: linear-gradient(148deg, #DDD0BC, #C8B49A); }
.pc-2 { background: linear-gradient(148deg, #CFC0A8, #BBA890); }
.pc-3 { background: linear-gradient(148deg, #E0D5C5, #CFC0AB); }
.pc-4 { background: linear-gradient(148deg, #C4B09A, #B4A088); }
.pc-5 { background: linear-gradient(148deg, #D8CCBC, #C8BCAC); }

/* ─────────── AUTOMAÇÃO ─────────── */
#automacao {
  padding: 9rem 4rem;
  background: var(--linen);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.auto-text .section-tag { color: var(--gold); }
.auto-text .section-title { color: var(--dark); }
.auto-text .section-body { color: var(--warm-gray); }
.auto-text .section-body { margin-top: 1.8rem; }
.auto-list {
  list-style: none;
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.auto-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--sand);
  font-family: var(--sans);
  font-size: .86rem;
  color: var(--dark);
  font-weight: 300;
  letter-spacing: .02em;
}
.auto-list li::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.auto-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.rings-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
}
.ring-1 { width: 200px; height: 200px; opacity: .18; animation: ringPulse 3.5s ease infinite; }
.ring-2 { width: 140px; height: 140px; opacity: .28; animation: ringPulse 3.5s ease .6s infinite; }
.ring-3 { width: 80px;  height: 80px;  opacity: .4;  animation: ringPulse 3.5s ease 1.2s infinite; }
.ring-core {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  animation: corePulse 3.5s ease infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .15; }
  50% { transform: scale(1.06); opacity: .35; }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.auto-caption {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--warm-gray);
  text-align: center;
  line-height: 1.7;
}

/* ─────────── DEPOIMENTOS ─────────── */
#depoimentos {
  padding: 8rem 4rem;
  background: var(--sand);
  overflow: hidden;
}
.depo-header { margin-bottom: 4rem; }
.depo-slider-outer { overflow: hidden; }
.depo-track {
  display: flex;
  gap: 2rem;
  transition: transform .55s var(--ease);
}
.depo-card {
  background: var(--off-white);
  padding: 3rem 2.8rem;
  min-width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.depo-quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .6;
  color: var(--nude);
  display: block;
  margin-bottom: .5rem;
}
.depo-text {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.85;
}
.depo-stars {
  display: flex;
  gap: 3px;
  margin-top: .8rem;
}
.depo-star {
  width: 10px; height: 10px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.depo-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.depo-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--nude);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  color: var(--warm-gray);
  flex-shrink: 0;
}
.depo-name {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--dark);
}
.depo-loc {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--warm-gray);
  margin-top: .15rem;
  letter-spacing: .06em;
}
.depo-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
}
.depo-arrow {
  width: 46px; height: 46px;
  border: 1px solid var(--warm-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.1rem;
  transition: background .3s, border-color .3s, color .3s;
}
.depo-arrow:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--off-white);
}
.depo-count {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--warm-gray);
}

/* ─────────── BRASIL ─────────── */
#brasil {
  padding: 8rem 4rem;
  background: var(--off-white);
}
.brasil-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.5rem;
  gap: 3rem;
}
.brasil-intro {
  font-family: var(--sans);
  font-size: .86rem;
  line-height: 1.9;
  color: var(--warm-gray);
  max-width: 360px;
  text-align: right;
}
.estados-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--sand);
}
.estado-item {
  background: var(--off-white);
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: background .3s;
}
.estado-item:hover { background: var(--dark); }
.estado-abbr {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
  transition: color .3s;
}
.estado-item:hover .estado-abbr { color: var(--sand); }
.estado-name {
  font-family: var(--sans);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: .6rem;
  transition: color .3s;
}
.estado-item:hover .estado-name { color: var(--taupe); }
.brasil-cta {
  margin-top: 4rem;
  text-align: center;
}

/* ─────────── PROJETOS ESPECIAIS ─────────── */
#especiais {
  padding: 8rem 4rem;
  background: var(--off-white);
  text-align: center;
  border-top: 1px solid var(--sand);
}
.especiais-tag { color: var(--gold); }
.especiais-title { color: var(--dark); margin: 0 auto; max-width: 560px; margin-bottom: 2rem; }
.especiais-body {
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 2;
  color: var(--warm-gray);
  max-width: 580px;
  margin: 0 auto 4rem;
}
.especiais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
  background: var(--sand);
}
.especial-card {
  background: var(--off-white);
  padding: 3rem 2.5rem;
  text-align: left;
  border: none;
  transition: background .3s;
}
.especial-card:hover { background: var(--linen); }
.especial-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  opacity: .25;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.especial-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: .8rem;
  line-height: 1.3;
}
.especial-desc {
  font-family: var(--sans);
  font-size: .8rem;
  line-height: 1.85;
  color: var(--warm-gray);
  font-weight: 300;
}

/* ─────────── ARQUITETOS ─────────── */
#arquitetos {
  padding: 8rem 4rem;
  background: var(--linen);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.arq-features {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.arq-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.arq-feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--nude);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: .85rem;
  font-style: italic;
  color: var(--gold);
}
.arq-feature-title {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .3rem;
}
.arq-feature-desc {
  font-family: var(--sans);
  font-size: .8rem;
  line-height: 1.75;
  color: var(--warm-gray);
  font-weight: 300;
}
.arq-visual {
  background: var(--sand);
  aspect-ratio: .85;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.arq-visual-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  text-align: center;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.arq-visual-deco {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--nude);
  opacity: .5;
}

/* ─────────── REFÚGIO ─────────── */
#refugio {
  padding: 11rem 4rem;
  background: var(--sand);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.refugio-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 15rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(184,150,62,.07);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.02em;
  user-select: none;
}
.refugio-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.refugio-tag { color: var(--gold); }
.refugio-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.15;
  margin: 1.2rem 0;
}
.refugio-divider {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 2.5rem auto;
}
.refugio-text {
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 2.1;
  color: var(--warm-gray);
  font-weight: 300;
  margin-bottom: 3.5rem;
}

/* ─────────── ORÇAMENTO ─────────── */
#orcamento {
  padding: 9rem 4rem;
  background: var(--linen);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}
.orc-text { padding-top: .5rem; }
.orc-text .section-title { margin-bottom: 1.8rem; }
.orc-bullets {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.orc-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.orc-bullet-line {
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin-top: .65rem;
  flex-shrink: 0;
}
.orc-bullet-text {
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.8;
  color: var(--warm-gray);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-group { margin-bottom: 2rem; }
.form-label {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: .7rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--nude);
  padding: .65rem 0;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-bottom-color: var(--dark);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--taupe);
  font-weight: 300;
}
.form-textarea {
  border: 1px solid var(--nude);
  padding: 1rem;
  resize: none;
  line-height: 1.7;
  margin-top: .2rem;
}
.form-textarea:focus { border-color: var(--dark); }
.form-upload {
  border: 1px dashed var(--nude);
  padding: 1.8rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .3s;
  position: relative;
}
.form-upload:hover { border-color: var(--accent); }
.form-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.form-upload-text {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.form-upload-icon {
  font-size: 1.5rem;
  color: var(--nude);
  margin-bottom: .5rem;
}
.form-btn {
  width: 100%;
  padding: 1.25rem;
  background: var(--dark);
  color: var(--linen);
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .3s;
  margin-top: .5rem;
}
.form-btn:hover { background: var(--accent); }

/* ─────────── FOOTER ─────────── */
footer {
  background: var(--dark);
}
.footer-main {
  padding: 6.5rem 4rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--linen);
  display: block;
  margin-bottom: 1.6rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--linen);
  opacity: .85;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-social-links a {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--warm-gray);
  transition: color .3s;
}
.footer-social-links a:hover { color: var(--sand); }
.footer-col-title {
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.8rem;
  display: block;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--linen);
  font-weight: 300;
  opacity: .8;
  transition: opacity .3s;
}
.footer-nav a:hover { opacity: 1; color: var(--gold); }
.footer-contact-line {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--linen);
  font-weight: 300;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 1rem;
}
.footer-contact-label {
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-top: -.2rem;
}
.footer-bottom {
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--warm-gray);
}
.footer-bottom-links {
  display: flex;
  gap: 2rem;
}
.footer-bottom-links a {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color .3s;
}
.footer-bottom-links a:hover { color: var(--sand); }

/* ─────────── WHATSAPP FLOAT ─────────── */
.wa-float {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
  transition: transform .3s var(--ease), box-shadow .3s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
}
.wa-float svg { width: 30px; height: 30px; fill: white; }
.wa-label {
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--linen);
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  white-space: nowrap;
  padding: .5rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.wa-float:hover .wa-label { opacity: 1; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1100px) {
  #navbar { padding: 1.5rem 2.5rem; }
  #navbar.scrolled { padding: 1rem 2.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  #essencia,
  #automacao,
  #arquitetos,
  #orcamento { grid-template-columns: 1fr; gap: 4rem; }
  #essencia {
    padding: 6.5rem 2.5rem;
  }
  .brasil-top { flex-direction: column; align-items: flex-start; }
  .brasil-intro { text-align: left; max-width: 100%; }
  .estados-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-4 { grid-template-columns: 1fr 1fr; }
  .services-subsections { grid-template-columns: 1fr; }
  .service-subsection-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .projetos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 0 2rem; }
  .proj-item.featured { grid-row: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 2.5rem; }
  .especiais-grid { grid-template-columns: 1fr; }
  #numeros { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(2) { border-right: none; }
}
@media (max-width: 680px) {
  #hero { padding: 0 1.5rem; }
  .video-institucional-section { padding: 0 1.5rem 4rem; }
  #essencia, #servicos, #projetos, #automacao, #depoimentos, #brasil, #especiais, #arquitetos, #refugio, #orcamento {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  #essencia {
    padding: 5.5rem 1.5rem;
    gap: 2.5rem;
  }
  .essencia-card-outer {
    padding: 2rem;
    min-height: 320px;
  }
  .essencia-quote {
    font-size: 1.08rem;
    line-height: 1.55;
  }
  .essencia-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.8rem;
  }
  .essencia-stat-n {
    font-size: 1.55rem;
  }
  .essencia-deco {
    width: 140px;
    height: 140px;
    top: -1.25rem;
    right: -1rem;
  }
  .essencia-deco-2 {
    width: 56px;
    height: 56px;
    left: -.75rem;
    bottom: 1rem;
  }
  .hero-luxury-phrase {
    margin-top: -4rem;
  }
  #servicos .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-4 { grid-template-columns: 1fr; }
  .projetos-grid { grid-template-columns: 1fr; }
  .projetos-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .estados-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr; padding: 3.5rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .depo-card { min-width: 300px; }
  #numeros { grid-template-columns: 1fr 1fr; }
  .num-item { padding: 2.5rem 1rem 2rem; }
}

/* ── IMAGENS SEMPRE VERTICAIS / COVER ── */
.proj-inner,
[style*="background:url"],
[style*="background: url"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Grid de projetos responsivo */
@media (max-width: 900px) {
  .projetos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 1.5rem !important;
  }
  .projetos-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .projetos-filter {
    justify-content: flex-start;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .projetos-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem !important;
  }
  .proj-inner {
    aspect-ratio: 4/3 !important;
  }
}

/* Hero foto — sempre centralizada e coberta */
.hero-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
}

/* Essência foto da Marisa — portrait */
.essencia-card-outer {
  background-size: cover !important;
  background-position: center top !important;
}

/* Fachada showroom */
#brasil [style*="background:url"] {
  background-size: cover !important;
  background-position: center 40% !important;
}


/* ═══ FIX DEFINITIVO PORTRAIT ═══ */
.proj-inner {
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: block !important;
}
.proj-item.featured .proj-inner {
  aspect-ratio: 3 / 4 !important;
}
.proj-img-placeholder { display: none !important; }
.projetos-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 3px !important;
}
@media (max-width: 1024px) {
  .projetos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .projetos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 0 1rem !important;
  }
}