/* ==========================================================================
   PRIME ELEVADORES — Design tokens
   Paleta: grafite industrial + âmbar de painel de comando
   Tipografia: Space Grotesk (display) / Inter (corpo) / JetBrains Mono (dados)
   ========================================================================== */

:root {
  --graphite-950: #0D1013;
  --graphite-900: #12161A;
  --graphite-800: #1B2126;
  --graphite-700: #262E35;
  --graphite-600: #384149;
  --steel-400: #7C93A3;
  --steel-300: #9FB1BD;
  --steel-200: #C7D2D9;
  --steel-100: #E4E9EC;
  --amber-600: #D68C1F;
  --amber-500: #F2A93B;
  --amber-300: #F7C978;
  --amber-glow: rgba(242, 169, 59, 0.35);
  --paper-50: #EFEAE0;
  --paper-100: #E5DECE;
  --line-blue: #2E4A5E;
  --success: #7FA98C;
  --danger: #C1654F;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 3px;
  --radius-md: 6px;
  --container: 1160px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--graphite-900);
  color: var(--steel-100);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-500);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--amber-500);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--steel-100);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  max-width: 16ch;
}

h3 { font-size: 20px; font-weight: 600; }

p { color: var(--steel-300); }

.section {
  padding: 108px 0;
  position: relative;
  border-bottom: 1px solid var(--graphite-700);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head p { max-width: 42ch; padding-bottom: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber-500);
  color: var(--graphite-950);
  font-weight: 700;
}
.btn-primary:hover { background: var(--amber-300); box-shadow: 0 0 0 4px var(--amber-glow); }
.btn-ghost {
  background: transparent;
  border-color: var(--graphite-600);
  color: var(--steel-200);
}
.btn-ghost:hover { border-color: var(--amber-500); color: var(--amber-300); }
.btn:active { transform: scale(0.97); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(13, 16, 19, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-700);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--steel-100);
}
.brand-mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--amber-500);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-500);
  font-family: var(--font-mono);
  font-size: 13px;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel-400);
  font-weight: 400;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14.5px;
  color: var(--steel-300);
}
.nav-links a { transition: color 0.15s ease; position: relative; }
.nav-links a:hover { color: var(--amber-300); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--steel-200);
  display: flex; align-items: center; gap: 8px;
}
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
}

/* ==========================================================================
   FLOOR INDICATOR — signature element (scroll dock)
   ========================================================================== */
.floor-dock {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0;
  background: var(--graphite-800);
  border: 1px solid var(--graphite-700);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.floor-dock::before {
  content: 'PAINEL';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--steel-400);
}
.floor-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel-400);
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.floor-btn::after {
  content: '';
  position: absolute;
  right: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--graphite-600);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.floor-btn:hover { color: var(--steel-200); }
.floor-btn.active {
  color: var(--amber-500);
  font-weight: 700;
}
.floor-btn.active::after {
  background: var(--amber-500);
  box-shadow: 0 0 8px 1px var(--amber-glow);
}

@media (max-width: 1050px) {
  .floor-dock { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: calc(var(--nav-h) + 72px) 0 96px;
  border-bottom: 1px solid var(--graphite-700);
  position: relative;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(242,169,59,0.09), transparent 55%),
    var(--graphite-900);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--amber-500);
}
.hero-copy > p {
  font-size: 17.5px;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--graphite-700);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--steel-100);
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Shaft signature visual --- */
.shaft-wrap {
  display: flex;
  justify-content: center;
}
.shaft {
  position: relative;
  width: 210px;
  height: 440px;
  background: linear-gradient(180deg, var(--graphite-800), var(--graphite-950));
  border: 1px solid var(--graphite-600);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5), 0 20px 50px rgba(0,0,0,0.45);
}
.shaft-rail {
  position: absolute;
  top: 14px; bottom: 14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--graphite-600) 0 6px, transparent 6px 14px);
}
.shaft-floors {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  padding: 18px 16px;
}
.shaft-floor-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--graphite-600);
  border-top: 1px dashed var(--graphite-700);
  padding-top: 6px;
}
.shaft-floor-line:first-child { border-top: none; }
.shaft-car {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 84px; height: 62px;
  background: linear-gradient(180deg, var(--graphite-700), var(--graphite-800));
  border: 1.5px solid var(--amber-500);
  border-radius: 5px;
  box-shadow: 0 0 24px var(--amber-glow);
  transition: bottom 1.1s cubic-bezier(.65,0,.35,1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shaft-car::before {
  content: '';
  width: 40%;
  height: 60%;
  border-left: 1px solid var(--graphite-600);
  border-right: 1px solid var(--graphite-600);
}
.shaft-readout {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  background: var(--graphite-950);
  border: 1px solid var(--graphite-700);
  border-radius: 4px;
  padding: 8px 10px;
  z-index: 2;
}
.shaft-readout .digit {
  font-size: 22px;
  color: var(--amber-500);
  text-shadow: 0 0 12px var(--amber-glow);
}
.shaft-readout .dir { font-size: 11px; color: var(--steel-400); letter-spacing: 0.08em; }

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.strip {
  border-bottom: 1px solid var(--graphite-700);
  background: var(--graphite-800);
  overflow: hidden;
  padding: 16px 0;
}
.strip-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll-strip 32s linear infinite;
  width: max-content;
}
.strip-track span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip-track span::before { content: '◆'; color: var(--amber-500); font-size: 8px; }
@keyframes scroll-strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--graphite-700);
  border: 1px solid var(--graphite-700);
}
.service-card {
  background: var(--graphite-900);
  padding: 36px 30px;
  transition: background 0.25s ease;
  position: relative;
}
.service-card:hover { background: var(--graphite-800); }
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-400);
  margin-bottom: 22px;
  display: block;
}
.service-icon {
  width: 42px; height: 42px;
  margin-bottom: 20px;
  color: var(--amber-500);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14.5px; }
.service-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--steel-400);
  border: 1px solid var(--graphite-600);
  border-radius: 3px;
  padding: 4px 8px;
}

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diff-section { background: var(--graphite-800); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.diff-card {
  border-top: 2px solid var(--amber-500);
  padding-top: 20px;
}
.diff-card h3 { font-size: 17px; margin-bottom: 8px; }
.diff-card p { font-size: 14px; }

@media (max-width: 880px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SOBRE — blueprint spec sheet
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-copy p { margin-bottom: 16px; font-size: 15.5px; }
.about-copy p:last-child { margin-bottom: 0; }

.blueprint {
  background:
    linear-gradient(var(--line-blue) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line-blue) 1px, transparent 1px) 0 0 / 24px 24px,
    #0F2536;
  background-blend-mode: overlay, overlay, normal;
  opacity: 1;
  border: 1px solid var(--graphite-700);
  border-radius: 8px;
  padding: 30px;
  position: relative;
}
.blueprint::before {
  content: 'FICHA CADASTRAL';
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--graphite-900);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--amber-500);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(199, 210, 217, 0.18);
  font-family: var(--font-mono);
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .label { color: var(--steel-400); }
.spec-row .value { color: var(--steel-100); text-align: right; }
.spec-row .value.on {
  color: var(--success);
}

/* ==========================================================================
   ÁREA DE ATUAÇÃO
   ========================================================================== */
.area-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.area-map {
  border: 1px solid var(--graphite-700);
  border-radius: 8px;
  overflow: hidden;
  background: var(--graphite-800);
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.area-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  border: 1px solid var(--graphite-600);
  border-radius: 20px;
  padding: 7px 14px;
  color: var(--steel-200);
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-section { background: var(--graphite-800); border-bottom: none; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--graphite-700);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon {
  width: 20px; height: 20px;
  color: var(--amber-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item strong { display: block; font-size: 14.5px; color: var(--steel-100); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: var(--steel-300); }
.contact-info-item a:hover { color: var(--amber-300); }

.form-panel {
  background: var(--graphite-900);
  border: 1px solid var(--graphite-700);
  border-radius: 8px;
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--graphite-800);
  border: 1px solid var(--graphite-600);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--steel-100);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--steel-400); margin-top: 12px; text-align: center; }

@media (max-width: 880px) {
  .about-grid, .area-section .container, .contact-grid { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .shaft-wrap { order: -1; margin-bottom: 20px; }
  .shaft { height: 300px; width: 170px; }
  .form-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 48px 0 32px;
  background: var(--graphite-950);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel-400);
  text-align: right;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--steel-400);
}
.footer-links a:hover { color: var(--amber-300); }

@media (max-width: 700px) {
  .footer .container { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 95;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--amber-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
  color: var(--graphite-950);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }
