/* UP Içamentos — base styles */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Archivo+Narrow:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Instrument+Serif:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ───────────────────────────────────────────
   Theme — Industrial dark (default)
   ─────────────────────────────────────────── */
.up-site {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --bg-4: #26262a;
  --line: #2a2a2e;
  --line-soft: #1e1e21;
  --fg: #f2f1ee;
  --fg-2: #b9b7b1;
  --fg-3: #7a7873;
  --accent: #F07D32;
  --accent-2: #ff9146;
  --accent-ink: #1a0a00;
  --ok: #5ac48b;
  --warn: #ffcc33;
  --danger: #e44a4a;
  --radius: 0;
  --radius-sm: 2px;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.6);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menaco, monospace;
  --display: 'Archivo', sans-serif;
  --body: 'Archivo', sans-serif;

  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  overflow-x: clip;
  position: relative;
}

.up-site.variant-bold {
  --bg: #0a0906;
  --bg-2: #13110d;
  --bg-3: #1b1812;
  --bg-4: #26221a;
  --line: #2a2620;
  --line-soft: #1e1b17;
  --fg: #f6f0e4;
  --fg-2: #bcb3a0;
  --fg-3: #7f786a;
  --accent: #F07D32;
  --accent-2: #ff9146;
  --display: 'Archivo Narrow', sans-serif;
}

/* Typography utilities */
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.lg { padding: 18px 28px; font-size: 16px; }
.btn.ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--bg-3); border-color: var(--fg-3); }

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
}

.section { padding: 120px 0; position: relative; }
.section.dense { padding: 88px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

.sec-title {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  text-wrap: balance;
}
.sec-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.sec-sub {
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.5;
  max-width: 52ch;
  text-wrap: pretty;
  margin: 0;
}

/* Placeholder image */
.photo {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-3) 0 12px,
    var(--bg-2) 12px 24px
  );
  color: var(--fg-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo::after {
  content: attr(data-label);
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg-2);
}

/* Divider line with corner marks */
.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* WhatsApp floating */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: #0a0a0a;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 20px 40px -8px rgba(37,211,102,.35), 0 0 0 6px rgba(37,211,102,.12);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float svg { width: 22px; height: 22px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 20px 40px -8px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.5); }
  50%      { box-shadow: 0 20px 40px -8px rgba(37,211,102,.35), 0 0 0 16px rgba(37,211,102,0); }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo { height: 32px; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--fg-2);
}
.nav-links a { position: relative; padding: 6px 0; transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-2);
}
@media (max-width: 900px) { .nav-links { display: none; } .nav-phone { display: none; } }

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  right: 20px; bottom: 92px;
  width: 280px;
  background: #17171a;
  color: #efeeea;
  border: 1px solid #2a2a2e;
  border-radius: 10px;
  padding: 14px;
  z-index: 70;
  font-family: var(--mono);
  font-size: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.tweaks-panel h4 { margin: 0 0 12px; font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #F07D32; }
.tweak-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tweak-row label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #7a7873; }
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-opt {
  padding: 6px 10px; background: transparent; border: 1px solid #2a2a2e; color: #b9b7b1;
  font-family: var(--mono); font-size: 11px; border-radius: 4px; cursor: pointer;
}
.tweak-opt.active { background: #F07D32; border-color: #F07D32; color: #1a0a00; }
.tweak-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.tweak-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px #F07D32; }
.tweak-range { width: 100%; accent-color: #F07D32; }

/* Selection */
::selection { background: var(--accent); color: var(--accent-ink); }
