/* ==========================================================================
   TEE ELEVADORES EM ELEVAÇÃO — Design tokens
   Paleta: oficina técnica + loja de ferragens — latão, ferrugem, papel kraft
   Tipografia: Fraunces (display serifado) / Work Sans (corpo) / IBM Plex Mono (dados)
   ========================================================================== */

:root {
  --iron-950: #14100C;
  --iron-900: #1C1610;
  --iron-800: #2A2117;
  --iron-700: #3A2E1F;
  --line: #4A3C29;
  --brass-600: #A9762E;
  --brass-500: #CC9C4C;
  --brass-300: #E7C685;
  --brass-glow: rgba(204, 156, 76, 0.32);
  --rust-600: #8C3E23;
  --rust-500: #B5502B;
  --rust-300: #D97D51;
  --paper-100: #EDE3CE;
  --paper-50: #F6F1E4;
  --ink-100: #F3ECDC;
  --steel-300: #C2B79C;
  --steel-400: #93876C;
  --success: #8CA57A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --container: 1160px;
  --nav-h: 78px;
}

* { 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(--iron-900);
  color: var(--ink-100);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(237,227,206,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 13px 5px 8px;
  background: var(--iron-800);
}
.tag::before { content: '●'; font-size: 8px; color: var(--rust-500); }

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

h2 { font-size: clamp(28px, 4vw, 40px); max-width: 18ch; }
h3 { font-size: 21px; }

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

.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  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(--rust-500);
  color: var(--paper-50);
  font-weight: 600;
}
.btn-primary:hover { background: var(--rust-300); box-shadow: 0 0 0 4px rgba(181,80,43,0.25); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--steel-300);
}
.btn-ghost:hover { border-color: var(--brass-500); color: var(--brass-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(20, 16, 12, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--brass-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-500);
  font-family: var(--font-mono);
  font-size: 12px;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink-100); }
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--steel-400);
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 32px; font-size: 14.5px; color: var(--steel-300); }
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--brass-300); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-mono); font-size: 13px; color: var(--steel-300); display: flex; align-items: center; gap: 8px; }

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

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: calc(var(--nav-h) + 70px) 0 90px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(204,156,76,0.10), transparent 55%),
    var(--iron-900);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--brass-500); }
.hero-copy > p { font-size: 17.5px; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 25px; color: var(--ink-100); }
.hero-stat span { font-family: var(--font-mono); font-size: 11px; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Brass call-button signature --- */
.caller {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.call-plate {
  width: 240px;
  background: linear-gradient(180deg, var(--iron-800), var(--iron-950));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), inset 0 0 30px rgba(0,0,0,0.35);
  text-align: center;
}
.call-plate .readout {
  font-family: var(--font-mono);
  background: var(--iron-950);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 20px;
  color: var(--brass-500);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.call-plate .readout .n {
  display: block;
  font-size: 30px;
  color: var(--brass-300);
  text-shadow: 0 0 14px var(--brass-glow);
  margin-top: 4px;
}
.call-btn {
  width: 108px; height: 108px;
  border-radius: 50%;
  margin: 0 auto;
  background: radial-gradient(circle at 35% 30%, var(--brass-300), var(--brass-600) 70%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 0 var(--brass-600), 0 16px 26px rgba(0,0,0,0.5);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  position: relative;
}
.call-btn svg { width: 34px; height: 34px; color: var(--iron-950); }
.call-btn:active {
  transform: translateY(8px);
  box-shadow: 0 2px 0 var(--brass-600), 0 6px 14px rgba(0,0,0,0.5);
}
.call-plate .hint {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--steel-400);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .caller { order: -1; margin-bottom: 10px; }
}

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.strip { border-bottom: 1px solid var(--line); background: var(--iron-800); overflow: hidden; padding: 15px 0; }
.strip-track {
  display: flex; gap: 52px; white-space: nowrap;
  animation: scroll-strip 34s linear infinite; width: max-content;
}
.strip-track span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--steel-400); display: flex; align-items: center; gap: 10px;
}
.strip-track span::before { content: '✦'; color: var(--brass-500); font-size: 10px; }
@keyframes scroll-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES — catalog cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card { background: var(--iron-900); padding: 34px 28px; transition: background 0.25s ease; }
.service-card:hover { background: var(--iron-800); }
.service-ref {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--brass-500);
  letter-spacing: 0.08em; margin-bottom: 20px; display: block;
}
.service-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--brass-500); }
.service-card h3 { margin-bottom: 9px; font-size: 18px; }
.service-card p { font-size: 14px; }
.service-tag {
  display: inline-block; margin-top: 15px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.05em; color: var(--steel-400); border: 1px solid var(--line);
  border-radius: 3px; padding: 4px 8px;
}

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

/* ==========================================================================
   LOJA / PRODUTOS
   ========================================================================== */
.shop-section { background: var(--iron-800); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop-card {
  background: var(--iron-900);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}
.shop-card::before {
  content: attr(data-ref);
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--steel-400);
}
.shop-icon { width: 34px; height: 34px; color: var(--rust-500); margin-bottom: 16px; }
.shop-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.shop-card p { font-size: 12.5px; }

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

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff-card { border-top: 2px solid var(--rust-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 — ledger / ficha de estoque
   ========================================================================== */
.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; }

.ledger {
  background: var(--paper-100);
  border-radius: 6px;
  padding: 30px 30px 22px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transform: rotate(-0.6deg);
}
.ledger::before {
  content: 'FICHA DE REGISTRO Nº 28.945.628';
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--rust-600);
  margin-bottom: 18px;
  border-bottom: 2px solid var(--iron-950);
  padding-bottom: 12px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(20,16,12,0.28);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .label { color: #6B5A3F; }
.spec-row .value { color: var(--iron-950); text-align: right; font-weight: 500; }
.spec-row .value.on { color: #3E6B33; }

/* ==========================================================================
   ÁREA DE ATUAÇÃO — geolocalização real
   ========================================================================== */
.area-section .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area-chip {
  font-family: var(--font-mono); font-size: 12px; border: 1px solid var(--line);
  border-radius: 20px; padding: 7px 14px; color: var(--steel-300);
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--iron-800);
  height: 320px;
  filter: grayscale(0.25) sepia(0.15) contrast(1.02);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--steel-400);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.map-caption a { color: var(--brass-500); }
.map-caption a:hover { color: var(--brass-300); }

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

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-section { background: var(--iron-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(--line); }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon { width: 20px; height: 20px; color: var(--brass-500); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14.5px; color: var(--ink-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(--brass-300); }

.form-panel { background: var(--iron-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--steel-400); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: var(--iron-800); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px; color: var(--ink-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(--brass-500); box-shadow: 0 0 0 3px var(--brass-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, .contact-grid { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 46px 0 30px; background: var(--iron-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: 11px; 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(--brass-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 FLOAT
   ========================================================================== */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--rust-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  transition: transform 0.2s ease;
  color: var(--paper-50);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }
