/* ============================================
   URBANFLOOR PRO — GLOBAL STYLES
   Inspirado em Poliform · Minotti · Restoration Hardware
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --ink:        #0A0908;
  --ink-80:     rgba(10,9,8,0.8);
  --dark:       #141210;
  --surface:    #1C1A17;
  --surface2:   #242118;
  --warm:       #2E2B24;
  --gold:       #C8A96A;
  --gold-lt:    #DEC48C;
  --gold-dim:   #8A6E3E;
  --cream:      #F0EBE1;
  --cream-2:    #D6CFBF;
  --cream-3:    #9E9488;
  --white:      #FAF8F4;
  --border:     rgba(200,169,106,0.15);
  --border-w:   rgba(255,255,255,0.08);

  /* Type */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  /* Motion */
  --ease:   cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-in: cubic-bezier(0.55,0,1,0.45);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────── */
.t-eyebrow {
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 14px;
}
.t-eyebrow::before {
  content: ''; display: block; width: 28px; height: 0.5px;
  background: var(--gold); flex-shrink: 0;
}

.t-display {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--white);
}
.t-display em { font-style: italic; color: var(--gold-lt); }

.t-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; line-height: 1.1; color: var(--white);
}
.t-h2 em { font-style: italic; color: var(--gold-lt); }

.t-h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300; line-height: 1.2; color: var(--white);
}

.t-body {
  font-size: 15px; font-weight: 300;
  color: var(--cream-2); line-height: 1.9;
}

.t-small {
  font-size: 12px; font-weight: 300;
  color: var(--cream-3); letter-spacing: 0.04em;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border-radius: 1px; transition: all 0.3s var(--ease);
  white-space: nowrap; font-weight: 400;
}
.btn svg, .btn i { flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg, .btn:hover i { transform: translateX(4px); }

.btn-gold {
  padding: 14px 32px;
  background: var(--gold); color: var(--ink);
  border: none;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-outline {
  padding: 13px 30px;
  background: transparent; color: var(--gold);
  border: 0.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-ghost {
  padding: 0; background: none; border: none;
  color: var(--cream-2);
}
.btn-ghost:hover { color: var(--gold); }

/* ─── NAV ────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 72px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,9,8,0.0);
  border-bottom: 0.5px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s;
}
.nav.scrolled {
  background: rgba(10,9,8,0.95);
  border-color: var(--border-w);
  backdrop-filter: blur(20px);
}

.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 1px; }
.nav-logo-main {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--gold); line-height: 1;
}
.nav-logo-sub {
  font-size: 8px; font-weight: 300; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--cream-3); line-height: 1;
}

.nav-menu {
  display: flex; align-items: center; gap: 40px; list-style: none;
}
.nav-menu a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-3); text-decoration: none; font-weight: 400;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 0.5px;
  background: var(--cream); transition: all 0.3s;
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(10,9,8,0.98);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay a {
  font-family: var(--serif); font-size: 36px; font-weight: 300;
  color: var(--cream); text-decoration: none; letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--gold); }

/* ─── PAGE HEADER (inner pages) ─────────────── */
.page-header {
  padding: 160px 5vw 80px;
  background: var(--dark);
  border-bottom: 0.5px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; bottom: 0; left: 5vw;
  width: 60px; height: 1px; background: var(--gold);
}

/* ─── SECTIONS ───────────────────────────────── */
.section { padding: 120px 5vw; }
.section-sm { padding: 80px 5vw; }
.section-lg { padding: 160px 5vw; }

/* ─── DIVIDER ────────────────────────────────── */
.divider {
  width: 100%; height: 0.5px;
  background: var(--border); border: none; margin: 0;
}

/* ─── GRID UTILITIES ─────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }

/* ─── CARD BASE ──────────────────────────────── */
.card {
  background: var(--surface);
  border: 0.5px solid var(--border-w);
  position: relative; overflow: hidden;
}
.card-pad { padding: 40px 36px; }

/* ─── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-cell {
  padding: 48px 32px; text-align: center;
  border-right: 0.5px solid var(--border);
}
.stat-cell:first-child { border-left: 0.5px solid var(--border); }
.stat-num {
  font-family: var(--serif); font-size: 56px; font-weight: 300;
  color: var(--gold); line-height: 1; display: block;
}
.stat-sup { font-size: 28px; }
.stat-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream-3); margin-top: 8px; display: block;
}

/* ─── FLOATING WA BUTTON ─────────────────────── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 400;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(200,169,106,0.3);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(200,169,106,0.45); }
.wa-float svg { width: 24px; height: 24px; fill: var(--ink); }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
}
.footer-top {
  padding: 80px 5vw 64px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name {
  font-family: var(--serif); font-size: 28px; font-weight: 400;
  color: var(--gold); margin-bottom: 4px;
}
.footer-brand-tagline {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream-3); margin-bottom: 20px;
}
.footer-brand-desc { font-size: 14px; font-weight: 300; color: var(--cream-3); line-height: 1.8; }
.footer-col-title {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a {
  font-size: 14px; font-weight: 300; color: var(--cream-3);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  padding: 24px 5vw;
  border-top: 0.5px solid var(--border-w);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--cream-3); opacity: 0.5; }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream-3); text-decoration: none; transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: 0.5px solid var(--border); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 80px 5vw; }
  .section-lg { padding: 100px 5vw; }
}