/* ═══════════════════════════════════════════════════════
   FT ARQUITETURA — Stylesheet
   Fransergio Tavares · Arquiteto & Urbanista
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:      #FAF9F6;
  --surface: #F3F1EC;
  --dark:    #1A1A18;
  --dark2:   #2C2C29;
  --text:    #3A3A36;
  --muted:   #8C8C87;
  --accent:  #B8955A;
  --border:  #E2DDD5;
  --line:    #D6D1C8;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --max:  1120px;
  --r:    4px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.hero-locked   { overflow: hidden; }
body.menu-is-open  { overflow: hidden; }
img  { display: block; width: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

[data-bg-zoom] {
  --bg-zoom-scale: 1;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section   { padding: 104px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.h-display {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
}
.h-display em { font-style: italic; color: var(--muted); }
.rule { width: 40px; height: 1px; background: var(--accent); margin: 20px 0 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.btn-dark    { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-1px); }
.btn-ghost   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #a0803d; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,149,90,0.35); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ════════════════════════════════════════════════════════
   NAV PRINCIPAL — hamburger (dir)
   ════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s ease;
}
#navbar.fn-hidden {
  opacity: 0;
  pointer-events: none;
}
#navbar.scrolled {
  background: rgba(250,249,246,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
/* Hamburger — direito */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 310;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.85);
  transition: all 0.3s var(--ease);
}
#navbar.scrolled .nav-burger span { background: var(--dark); }

/* ════════════════════════════════════════════════════════
   MENU DRAWER — lateral DIREITA
   ════════════════════════════════════════════════════════ */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 398;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;          /* ← DIREITA */
  bottom: 0;
  width: min(520px, 92vw);
  z-index: 399;
  background: #0a0a08;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 52px 48px;
  transform: translateX(100%);   /* começa fora pela direita */
  transition: transform 0.45s var(--ease);
  box-shadow: -8px 0 48px rgba(0,0,0,0.4);
}
.menu-drawer.open {
  transform: translateX(0);
}

/* Botão fechar — canto superior esquerdo do drawer */
.menu-close {
  position: absolute;
  top: 22px;
  left: 24px;       /* ← esquerdo (oposto ao hamburger na nav) */
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}
.menu-close span {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
  position: absolute;
}
.menu-close:hover span { background: rgba(255,255,255,0.9); }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child  { transform: rotate(-45deg); }

/* Links de navegação */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.menu-nav a {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
}
.menu-nav a:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.menu-nav a:hover       { color: #fff; padding-left: 8px; }
.menu-nav a.is-active   { color: rgba(255,255,255,0.85); }

/* Rodapé do drawer */
.menu-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.menu-cta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.menu-cta:hover { color: #fff; }
.menu-cta-arrow { transition: transform 0.2s; }
.menu-cta:hover .menu-cta-arrow { transform: translateX(5px); }
.menu-social { display: flex; gap: 18px; }
.menu-social a {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.menu-social a:hover { color: rgba(255,255,255,0.7); }

/* FT Previews — item especial no menu drawer */
.menu-nav-previews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--accent) !important;
}
.menu-nav-previews:hover { color: #d4af6e !important; }
.menu-nav-badge {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(184,149,90,0.4);
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(184,149,90,0.08);
}

/* FT Previews — item no floatnav */
.floatnav-previews {
  color: var(--accent) !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: color 0.25s;
}
.floatnav-previews:hover { color: #d4af6e !important; }

/* ════════════════════════════════════════════════════════
   NAV FLUTUANTE — estilo devangsingh.in
   top:0, substitui o navbar, itens distribuídos em flex
   ════════════════════════════════════════════════════════ */
#floatnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 310;           /* acima do navbar (300) */
  height: 68px;
  background: #0a0a08;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#floatnav.visible {
  opacity: 1;
  pointer-events: all;
}
/* Quando floatnav está visível, esconde o navbar */
#navbar.fn-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Itens centralizados, distribuídos por toda a largura */
.floatnav-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  padding: 0 80px;
}

.floatnav-item {
  flex: 1;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: color 0.25s;
  border-right: 1px solid rgba(255,255,255,0.07);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floatnav-item:last-child { border-right: none; }
.floatnav-item:hover      { color: rgba(255,255,255,0.9); }
.floatnav-item.is-active  { color: #fff; }

/* Hamburger dentro do floatnav (direita) */
.floatnav-burger {
  position: absolute;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.floatnav-burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: background 0.2s;
}
.floatnav-burger:hover span { background: #fff; }

/* ════════════════════════════════════════════════════════
   HERO — full-bleed, bottom-left
   ════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
  /* Transição de saída: fade + colapsa */
  transition: opacity 0.7s ease, height 0s 0.7s, min-height 0s 0.7s;
}
#hero.hero-hidden {
  opacity: 0;
  height: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: col-resize;
  overflow: hidden;
  touch-action: none;
}
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
}
.hero-after { z-index: 1; }
.hero-before {
  z-index: 2;
  filter: grayscale(1) contrast(2.1) brightness(1.28) blur(0.4px);
  clip-path: inset(0 50% 0 0);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
  clip-path: inset(0 50% 0 0);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMDAnIGhlaWdodD0nMjAwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPSc0JyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzIwMCcgaGVpZ2h0PScyMDAnIGZpbHRlcj0ndXJsKCNuKScgb3BhY2l0eT0nMScvPjwvc3ZnPg==");
  background-size: 200px 200px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(26,26,24,0.35) 0%,
    rgba(26,26,24,0.15) 35%,
    rgba(26,26,24,0.55) 75%,
    rgba(26,26,24,0.85) 100%
  );
}
.hero-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 5;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 14px rgba(0,0,0,0.6);
  pointer-events: none;
}
.hero-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-handle svg { opacity: 0.6; }
.hero-logo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  transform: translate(-50%, -112%);
  pointer-events: none;
}
.hero-logo-main {
  height: clamp(128px, 16vw, 210px);
  max-width: min(30vw, 280px);
  width: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45));
  opacity: 0.95;
}
/* Conteúdo: bottom-left */
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 7;
  padding: 0 60px 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
.hero-content::before {
  content: '';
  position: absolute;
  top: 0; left: 60px; right: 60px;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.hero-left { max-width: 640px; pointer-events: all; }
.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: #d4b483;
  display: block;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(250,249,246,0.35);
  padding: 14px 28px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  background: none;
}
.hero-cta:hover { background: rgba(250,249,246,0.15); border-color: rgba(250,249,246,0.6); }
.hero-cta:hover .hero-arrow { transform: translateX(6px); }
.hero-arrow {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
  color: rgba(255,255,255,0.5);
}
.hero-right { text-align: right; padding-bottom: 4px; }
.hero-location {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  line-height: 2;
}

@keyframes heroNudge {
  0%   { left: 50%; }
  25%  { left: 40%; }
  75%  { left: 60%; }
  100% { left: 50%; }
}
@keyframes heroNudgeClip {
  0%   { clip-path: inset(0 50% 0 0); }
  25%  { clip-path: inset(0 60% 0 0); }
  75%  { clip-path: inset(0 40% 0 0); }
  100% { clip-path: inset(0 50% 0 0); }
}
#hero.hint-anim .hero-divider,
#hero.hint-anim .hero-handle { animation: heroNudge 1.6s ease-in-out forwards; }
#hero.hint-anim .hero-before,
#hero.hint-anim .hero-grain { animation: heroNudgeClip 1.6s ease-in-out forwards; }

/* ════════════════════════════════════════════════════════
   SEÇÕES DE CONTEÚDO
   ════════════════════════════════════════════════════════ */

/* Fluxo */
#fluxo {
  background: var(--bg);
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.fluxo-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.fluxo-left .quote {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--dark);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}
.fluxo-right p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}
.fluxo-right p strong { color: var(--text); font-weight: 500; }

/* Serviços */
#servicos { background: var(--surface); }
.servicos-header { margin-bottom: 64px; }
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.servico-card {
  background: var(--bg);
  padding: 44px 36px 40px;
  transition: background 0.25s;
}
.servico-card:hover { background: var(--dark); }
.servico-card:hover .servico-num,
.servico-card:hover .servico-title,
.servico-card:hover .servico-desc,
.servico-card:hover .servico-link { color: rgba(255,255,255,0.9); }
.servico-card:hover .servico-desc { color: rgba(255,255,255,0.5); }
.servico-card:hover .servico-line { background: rgba(255,255,255,0.2); }
.servico-num  { font-family: var(--serif); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 32px; transition: color 0.25s; }
.servico-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--dark); line-height: 1.2; margin-bottom: 16px; transition: color 0.25s; }
.servico-line  { width: 32px; height: 1px; background: var(--border); margin-bottom: 16px; transition: background 0.25s; }
.servico-desc  { font-size: 0.86rem; line-height: 1.75; color: var(--muted); margin-bottom: 32px; transition: color 0.25s; }
.servico-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); display: flex; align-items: center; gap: 8px; transition: color 0.25s;
}
.servico-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.servico-card:hover .servico-link svg { transform: translateX(4px); }

/* Para Quem É */
#para-quem { background: var(--bg); }
.para-quem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.para-quem-left { position: sticky; top: 120px; }
.pq-item { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.pq-item:first-child { border-top: 1px solid var(--border); }
.pq-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.pq-icon svg { width: 16px; height: 16px; stroke: var(--text); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pq-item-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--dark); margin-bottom: 4px; }
.pq-item-desc  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }
.para-quem-note { margin-top: 48px; padding: 28px; background: var(--surface); border-left: 2px solid var(--accent); }
.para-quem-note p { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; line-height: 1.65; color: var(--text); }

/* Áreas */
#areas {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
#areas::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 82% 22%, rgba(184,149,90,0.1) 0%, transparent 58%),
    radial-gradient(ellipse 55% 65% at 12% 78%, rgba(255,255,255,0.035) 0%, transparent 55%);
  pointer-events: none;
  transform: scale(var(--bg-zoom-scale));
  transform-origin: center;
  will-change: transform;
}
#areas > .container {
  position: relative;
  z-index: 1;
}
.areas-header { margin-bottom: 56px; }
.areas-header .eyebrow { color: rgba(255,255,255,0.35); }
.areas-header .h-display { color: #fff; }
.areas-header .h-display em { color: rgba(255,255,255,0.35); }
.areas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06);
}
.area-item { background: var(--dark); padding: 32px 28px; display: flex; align-items: flex-start; gap: 16px; transition: background 0.2s; }
.area-item:hover { background: #222220; }
.area-num  { font-size: 0.65rem; color: rgba(255,255,255,0.2); font-weight: 500; letter-spacing: 0.1em; margin-top: 3px; min-width: 20px; }
.area-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 300; color: rgba(255,255,255,0.85); }

/* Sobre */
#sobre { background: var(--bg); }
.sobre-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sobre-img {
  aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  overflow: hidden;
}
.sobre-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.92) contrast(1.02); }
.sobre-img svg { width: 32px; height: 32px; stroke: var(--line); fill: none; stroke-width: 1; }
.sobre-caption { margin-top: 16px; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
.sobre-text-col { padding-top: 8px; }
.sobre-h { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; line-height: 1.15; color: var(--dark); margin-bottom: 24px; }
.sobre-h em { font-style: italic; color: var(--muted); }
.sobre-p { font-size: 0.91rem; line-height: 1.85; color: var(--muted); margin-bottom: 14px; }
.sobre-p strong { color: var(--text); font-weight: 500; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.sobre-tag { font-size: 0.73rem; letter-spacing: 0.06em; color: var(--text); border: 1px solid var(--border); padding: 6px 14px; border-radius: 2px; }

/* Portfólio */
#portfolio { background: var(--surface); }
.portfolio-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.portfolio-filters { display: flex; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.filter-btn { background: var(--bg); border: none; border-right: 1px solid var(--border); padding: 9px 16px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.filter-btn:last-child { border-right: none; }
.filter-btn.active, .filter-btn:hover { background: var(--dark); color: #fff; }
.portfolio-project-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 18px;
}
.portfolio-project-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.portfolio-project-note h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--dark);
}
.portfolio-project-note p {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}
.portfolio-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-project-meta span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 5px 10px;
}
.portfolio-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.p-item { position: relative; overflow: hidden; background: var(--bg); cursor: pointer; }
.p-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.p-item:not(:nth-child(1)):not(:nth-child(5)) { aspect-ratio: 4/3; }
.p-item:nth-child(5) { grid-column: span 2; aspect-ratio: 16/7; }
.p-ph { width: 100%; height: 100%; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--surface); color: var(--line); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; transition: filter 0.25s; }
.p-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.45s var(--ease), filter 0.3s; }
.p-ph svg { width: 28px; height: 28px; stroke: var(--line); fill: none; stroke-width: 1; }
.p-item:hover .p-ph { filter: brightness(0.92); }
.p-item:hover .p-img { transform: scale(1.035); filter: brightness(0.9); }
.p-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,24,0.72) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity 0.28s; }
.p-item:hover .p-overlay { opacity: 1; }
.p-label { font-family: var(--serif); font-size: 1rem; font-weight: 300; color: #fff; }
.p-label small { display: block; font-family: var(--sans); font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* Como Funciona */
#processo { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ════════════════════════════════════════════════════════
   FT PREVIEWS — Seção Promocional
   ════════════════════════════════════════════════════════ */
#ft-previews {
  background: var(--dark);
  padding: 104px 0;
  overflow: hidden;
  position: relative;
}
#ft-previews::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(184,149,90,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 20%,  rgba(184,149,90,0.04) 0%, transparent 50%);
  pointer-events: none;
  transform: scale(var(--bg-zoom-scale));
  transform-origin: center;
  will-change: transform;
}
.fp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Coluna esquerda */
.fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(184,149,90,0.3);
  background: rgba(184,149,90,0.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.fp-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.fp-title em { font-style: italic; color: rgba(255,255,255,0.38); display: block; }
.fp-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.42);
  margin-bottom: 28px;
  max-width: 420px;
}
.fp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.fp-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.fp-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid rgba(184,149,90,0.3);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
}
.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fp-cta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Coluna direita — visual decorativo */
.fp-right { display: flex; justify-content: flex-end; }
.fp-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Card PDF mockup */
.fp-pdf-card {
  width: 100%;
  aspect-ratio: 297 / 180;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}
.fp-pdf-img {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #1A1A18;
}
.fp-img-grad {
  position: absolute;
  inset: 0;
}
.fp-img-g1 {
  background: url('assets/ccedificio.jpg') center 45% / cover no-repeat;
  opacity: 0.92;
}
.fp-img-g2 {
  background:
    linear-gradient(180deg, rgba(26,26,24,0.06) 0%, rgba(26,26,24,0.4) 100%),
    radial-gradient(ellipse 70% 80% at 32% 42%, rgba(184,149,90,0.18) 0%, transparent 70%);
  animation: fpPulse 4s ease-in-out infinite;
}
@keyframes fpPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}
.fp-pdf-bar {
  flex-shrink: 0;
  height: 28%;
  background: var(--dark);
  border-top: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 12px;
}
.fp-pdf-bar-left { display: flex; flex-direction: column; gap: 2px; }
.fp-pdf-bar-eye {
  font-size: 0.42rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.fp-pdf-bar-name {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}
.fp-pdf-bar-links {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.fp-dot { color: rgba(255,255,255,0.15); }

/* Cards flutuantes */
.fp-float-card {
  position: absolute;
  background: rgba(26,26,24,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.fp-fc1 { top: -20px; left: -32px; animation: fpFloat 5s ease-in-out infinite; }
.fp-fc2 { bottom: 28px; right: -28px; animation: fpFloat 5s ease-in-out infinite 2.5s; }
@keyframes fpFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.fp-fc-num {
  font-family: var(--serif);
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.fp-fc-name {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 920px) {
  .fp-inner { grid-template-columns: 1fr; gap: 48px; }
  .fp-right { justify-content: center; }
  .fp-visual { max-width: 400px; }
  .fp-float-card { display: none; }
}
.processo-header { margin-bottom: 64px; }
.processo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.p-step { background: var(--bg); padding: 36px 28px; }
.p-step-n { font-family: var(--serif); font-size: 2.5rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 20px; }
.p-step-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--dark); margin-bottom: 10px; }
.p-step-desc { font-size: 0.83rem; line-height: 1.7; color: var(--muted); }

/* CTA Final */
#cta {
  background: var(--dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 72% 48%, rgba(184,149,90,0.12) 0%, transparent 62%),
    linear-gradient(120deg, rgba(255,255,255,0.035) 0%, transparent 48%);
  pointer-events: none;
  transform: scale(var(--bg-zoom-scale));
  transform-origin: center;
  will-change: transform;
}
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
#cta .container {
  position: relative;
  z-index: 1;
}
.cta-h   { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.cta-sub { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contato */
#contato { background: var(--bg); }
.contato-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contato-info h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--dark); margin-bottom: 10px; }
.contato-info p  { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
.c-link { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.86rem; color: var(--text); transition: color 0.2s; }
.c-link:first-of-type { border-top: 1px solid var(--border); }
.c-link:hover { color: var(--dark); }
.c-link svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: span 2; }
label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); font-family: var(--sans); font-size: 0.88rem; color: var(--dark); outline: none; transition: border-color 0.2s; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--dark); }
textarea { resize: vertical; min-height: 110px; }
select   { cursor: pointer; }

/* Footer */
footer { background: var(--dark2); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 28px; }
.footer-logo { margin-bottom: 12px; }
.footer-logo img { height: 52px; width: auto; object-fit: contain; display: block; }
.footer-sub { font-size: 0.82rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.83rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.73rem; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.footer-social a:hover { border-color: rgba(255,255,255,0.25); }
.footer-social svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* WhatsApp Float */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,0.4); transition: transform 0.25s, box-shadow 0.25s; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* Fade-in anims */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  #navbar { padding: 0 24px; }
  .hero-logo-wrap { top: 43%; transform: translate(-50%, -108%); }
  .hero-logo-main { height: clamp(96px, 22vw, 150px); max-width: min(42vw, 220px); }
  .hero-content { padding: 0 28px 44px; }
  .hero-content::before { left: 28px; right: 28px; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 5rem); }
  .hero-right { display: none; }
  .menu-drawer { padding: 72px 36px 40px; width: min(440px, 92vw); }
  .floatnav-item { padding: 0 14px; font-size: 0.55rem; }
  .fluxo-inner { grid-template-columns: 1fr; gap: 40px; }
  .servicos-grid { grid-template-columns: 1fr; }
  .para-quem-inner { grid-template-columns: 1fr; }
  .para-quem-left { position: static; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .sobre-inner { grid-template-columns: 1fr; }
  .portfolio-project-note { grid-template-columns: 1fr; align-items: start; padding: 24px; }
  .portfolio-masonry { grid-template-columns: 1fr 1fr; }
  .p-item:nth-child(1) { grid-column: span 2; }
  .p-item:nth-child(5) { grid-column: span 2; }
  .processo-steps { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .contato-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 580px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero-logo-wrap { top: 36%; transform: translate(-50%, -104%); }
  .hero-logo-main { height: clamp(72px, 24vw, 108px); max-width: min(50vw, 170px); }
  .hero-handle { width: 42px; height: 42px; }
  .areas-grid { grid-template-columns: 1fr; }
  .portfolio-masonry { grid-template-columns: 1fr; }
  .p-item:nth-child(1), .p-item:nth-child(5) { grid-column: span 1; aspect-ratio: 4/3; }
  .processo-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fg.full { grid-column: span 1; }
  .portfolio-filters { flex-wrap: wrap; }
  #floatnav { display: none; }
}
