/* =========================================================
   ACRC — Design System v2
   "O Dossiê Arquitetônico"
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ── Palette ─────────────────────────────────────── */
  --navy:        #081828;   /* deepest, almost black */
  --navy-2:      #0E2235;   /* card / section */
  --navy-3:      #173049;   /* hover / divider */
  --gold:        #C9A24B;   /* primary accent */
  --gold-bright: #E4BD63;   /* highlight */
  --gold-deep:   #8A6A28;   /* shadow / pressed */
  --cream:       #F2ECE0;   /* paper */
  --cream-2:     #E6DECC;   /* lower contrast paper */
  --ink:         #0A0A0A;   /* text on cream */
  --stone:       #6A6356;   /* muted text on cream */
  --stone-2:     #9A9285;   /* even more muted */
  --blueprint:   #6DA8C8;   /* technical accent (rarely used) */
  --whatsapp:    #25D366;
  --whatsapp-2:  #1EB85A;

  /* ── Type ────────────────────────────────────────── */
  --serif: 'Raleway', system-ui, -apple-system, sans-serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* ── Misc ────────────────────────────────────────── */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 14px;
}

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

html, body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; }  /* Raleway has no italic — use weight/color/underline instead */

/* ─────────────────────────────────────────────────────
   Shared atoms
   ───────────────────────────────────────────────────── */

/* Tech label (monospace, all caps, tiny) */
.tech {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Display headline (Raleway tight) */
.display {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.display em {
  font-style: normal;
  font-weight: 900;
  color: var(--gold);
}

/* Registration crosshair (corner marks) */
.crosshair {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
}
.crosshair::before, .crosshair::after {
  content: ''; position: absolute;
  background: currentColor; opacity: 0.4;
}
.crosshair::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.crosshair::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }

/* Dimension line: ├───── label ─────┤ */
.dim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  opacity: 0.55;
}
.dim::before, .dim::after {
  content: '';
  display: block;
  height: 1px;
  width: 28px;
  background: currentColor;
  position: relative;
}
.dim::before { box-shadow: -1px -4px 0 0 currentColor, -1px 4px 0 0 currentColor; left: 1px; }
.dim::after  { box-shadow:  1px -4px 0 0 currentColor,  1px 4px 0 0 currentColor; right: 1px; }

/* Blueprint grid background */
.bp-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bp-grid-ink {
  background-image:
    linear-gradient(rgba(10,10,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Gold rule */
.rule-gold {
  display: flex; align-items: center; gap: 6px;
}
.rule-gold::before {
  content: ''; display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.rule-gold::after {
  content: ''; display: block; width: 6px; height: 6px;
  background: var(--gold); opacity: 0.5; border-radius: 50%;
}

/* Stamp circular badge */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 86px; height: 86px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  transform: rotate(-8deg);
  position: relative;
}
.stamp::before {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.4;
}

/* Pill credential */
.pill {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,75,0.08);
  border: 1px solid rgba(201,162,75,0.3);
  padding: 5px 11px;
  border-radius: 2px;
}

/* Primary button — gold solid */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 18px 28px;
  border-radius: 2px;
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.1), 0 14px 32px -10px rgba(201,162,75,0.5);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.15), 0 18px 36px -10px rgba(201,162,75,0.6);
}

/* WhatsApp button */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 18px 28px;
  border-radius: 2px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 14px 32px -10px rgba(37,211,102,0.5);
}
.btn-wa:hover {
  background: var(--whatsapp-2);
  transform: translateY(-1px);
}

/* Outline button (navy bg) */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  transition: all .2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Reveal animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
}
.r-d1 { animation-delay: 80ms; }
.r-d2 { animation-delay: 160ms; }
.r-d3 { animation-delay: 240ms; }
.r-d4 { animation-delay: 320ms; }
.r-d5 { animation-delay: 400ms; }
.r-d6 { animation-delay: 480ms; }

/* Slow watermark drift */
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(-2deg); }
}
.drift { animation: drift 14s ease-in-out infinite; }

/* Scroll reveal (intersection observer) */
.io {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.io.in {
  opacity: 1;
  transform: translateY(0);
}
