/* RJJ Empreendimentos — global styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #0F0F10;
  --bg-2: #1C1C1E;
  --bg-3: #232326;
  --line: #2A2A2D;
  --line-2: #3A3A3F;
  --ink: #F4F2EE;
  --ink-dim: #B6B4AE;
  --ink-mute: #6E6C66;
  --accent: #EB373C;
  --accent-2: #F05257;
  --paper: #F4F2EE;
  --paper-2: #E8E5DE;
  --paper-3: #D6D2C8;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Inter", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 140px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: white; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--accent);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 8.4vw, 124px);
  margin: 0;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.0;
  font-size: clamp(36px, 5.4vw, 76px);
  margin: 0;
}
.h-card {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.1;
  margin: 0;
}
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 0;
}

/* ---------- layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; padding: var(--section-y) 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15,15,16,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.02em; color: var(--ink-dim);
  position: relative; padding: 8px 0; transition: color 160ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 180ms, background 180ms;
}
.nav-cta:hover { border-color: var(--accent); background: rgba(235,55,60,0.06); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.burger { display: none; width: 28px; height: 28px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 4px; right: 4px; height: 1px; background: var(--ink); transition: transform 220ms; }
.burger::before { top: 11px; }
.burger::after { bottom: 11px; }
.burger.open::before { transform: translateY(2px) rotate(45deg); }
.burger.open::after { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 64px 0 0 0;
    background: var(--bg);
    padding: 28px var(--gutter);
    border-top: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav-links.mobile-open a { font-size: 28px; padding: 14px 0; color: var(--ink); }
  .nav-cta { display: none; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  padding: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(235,55,60,0.18), transparent 65%),
    linear-gradient(180deg, #0a0a0b 0%, #15151a 60%, #0f0f10 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(80% 70% at 50% 50%, black, transparent 85%);
}
.hero-image {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
}
.hero-image image-slot,
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,16,0.55) 0%, rgba(15,15,16,0.4) 30%, rgba(15,15,16,0.85) 75%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(60px, 8vw, 100px);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap; margin-bottom: 36px;
}
.hero-coords {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-coords span { display: flex; gap: 12px; }
.hero-coords b { color: var(--ink); font-weight: 500; }

.hero-title { color: var(--paper); }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--ink-dim);
  line-height: 1.5;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.005em;
  transition: transform 160ms ease, background 180ms, border-color 180ms, color 180ms;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #C22D31; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.04); }
.btn-arrow { width: 18px; height: 18px; }

/* ---------- trust bar ---------- */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: end;
}
.trust-cell {
  position: relative; padding-left: 16px;
}
.trust-cell + .trust-cell { border-left: 1px solid var(--line); padding-left: 32px; }
.trust-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.04em;
}
.trust-num .accent { color: var(--accent); }
.trust-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-dim); margin-top: 10px;
}
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .trust-cell + .trust-cell { border-left: 0; padding-left: 16px; }
}

/* ---------- section head ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 64px;
}
.section-head .lede { justify-self: end; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head .lede { justify-self: start; }
}

/* ---------- about ---------- */
.about { background: var(--paper); color: #1A1A1A; }
.about .eyebrow { color: #5A5A5A; }
.about .eyebrow::before { background: var(--accent); }
.about .lede { color: #4A4A4A; }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
}
.about-image {
  aspect-ratio: 8 / 9;
  border-radius: 4px; overflow: hidden; position: relative;
}
.about-image image-slot,
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.about-copy p { margin: 0; font-size: 17px; line-height: 1.65; color: #2A2A2A; max-width: 52ch; }
.values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(0,0,0,0.1); margin-top: 16px;
}
.value {
  background: var(--paper); padding: 20px 4px 4px;
  display: flex; flex-direction: column; gap: 6px;
}
.value-n { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.value-t { font-weight: 600; font-size: 16px; color: #1A1A1A; }
.value-d { font-size: 13px; color: #5A5A5A; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- portfolio ---------- */
.portfolio-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--ink-dim);
  transition: all 160ms;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { color: var(--ink); border-color: var(--ink-mute); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-count { opacity: 0.5; }
.chip.active .chip-count { opacity: 0.7; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.work {
  position: relative; cursor: pointer;
  grid-column: span 6;
  display: flex; flex-direction: column;
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 380ms;
}
.work.feat { grid-column: span 8; }
.work.feat + .work { grid-column: span 4; }
.work-media {
  aspect-ratio: 4 / 3;
  overflow: hidden; position: relative;
  background: var(--bg-2);
}
.work.feat .work-media { aspect-ratio: 16 / 10; }
.work-media image-slot,
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55));
  opacity: 0; transition: opacity 280ms;
  pointer-events: none;
}
.work:hover .work-media::after { opacity: 1; }
.work-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px; background: rgba(15,15,16,0.7); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: var(--paper);
}
.work-tag .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.work-arrow {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  transform: translate(0, 8px) scale(0.85); opacity: 0;
  transition: all 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work:hover .work-arrow { transform: translate(0,0) scale(1); opacity: 1; }
.work-info {
  padding: 18px 4px 0;
  display: flex; justify-content: space-between; gap: 24px; align-items: flex-start;
}
.work-info-l { display: flex; flex-direction: column; gap: 4px; }
.work-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.work-title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.work-loc { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; }
.work-yr { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.08em; }

@media (max-width: 880px) {
  .work, .work.feat, .work.feat + .work { grid-column: span 12; }
}

/* ---------- properties (imóveis) ---------- */
.properties { background: var(--paper); color: #1A1A1A; }
.properties .eyebrow { color: #5A5A5A; }
.properties .lede { color: #4A4A4A; }
.properties .chip { color: #5A5A5A; border-color: rgba(0,0,0,0.18); }
.properties .chip:hover { border-color: #1A1A1A; color: #1A1A1A; }
.properties .chip.active { background: #1A1A1A; color: var(--paper); border-color: #1A1A1A; }

.prop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.prop {
  background: white; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 280ms, box-shadow 280ms;
}
.prop:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18); }
.prop-media {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: var(--paper-2);
}
.prop-media image-slot,
.prop-media img { width: 100%; height: 100%; object-fit: cover; }
.prop-status {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px;
  background: var(--accent); color: white;
}
.prop-status.rent { background: #1A1A1A; }
.prop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.prop-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }
.prop-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: #1A1A1A; }
.prop-loc { font-size: 13px; color: #666; display: flex; align-items: center; gap: 6px; }
.prop-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px 0; border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.08);
}
.prop-stat-v { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: #1A1A1A; }
.prop-stat-l { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #888; margin-top: 2px; }
.prop-foot { display: flex; justify-content: space-between; align-items: center; }
.prop-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #1A1A1A; }
.prop-price small { font-size: 11px; font-weight: 400; color: #888; }
.prop-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 100px;
  background: #25D366; color: white;
  font-size: 12px; font-weight: 500;
  transition: background 180ms;
}
.prop-wa:hover { background: #1FB855; }

@media (max-width: 980px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .prop-grid { grid-template-columns: 1fr; } }

/* ---------- cta band ---------- */
.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 50%, rgba(235,55,60,0.14), transparent 70%);
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.cta-grid h2 em { font-style: normal; color: var(--accent); }
.cta-right { display: flex; flex-direction: column; gap: 16px; }
.cta-line { display: flex; gap: 12px; align-items: baseline; font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); letter-spacing: 0.05em; }
.cta-line b { color: var(--ink); font-weight: 500; font-size: 18px; font-family: var(--font-sans); letter-spacing: 0; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { padding: var(--section-y) 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-block-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.contact-block-v { font-size: 18px; color: var(--ink); }
.contact-block a:hover { color: var(--accent); }

.map {
  margin-top: 16px;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 79px, var(--line) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, var(--line) 79px 80px),
    var(--bg-2);
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 6px)); } }
.map-pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(235,55,60,0.2); }
.map-pin-stem { width: 1px; height: 24px; background: var(--accent); }
.map-pin-label {
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 10px 14px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  white-space: nowrap;
}
.map-pin-label b { color: var(--accent); }

/* form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-l {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-dim);
}
.field-l .req { color: var(--accent); margin-left: 4px; }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 0; font: inherit; color: var(--ink);
  outline: none; transition: border-color 180ms;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; }
.field.err input, .field.err textarea { border-bottom-color: #FF6675; }
.field-err { font-size: 12px; color: #FF6675; min-height: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-disclaim { font-size: 12px; color: var(--ink-mute); max-width: 32ch; }

.form-success {
  padding: 24px; border: 1px solid var(--accent);
  background: rgba(235,55,60,0.06);
  display: flex; flex-direction: column; gap: 8px;
}
.form-success h3 { margin: 0; font-size: 20px; }
.form-success p { margin: 0; color: var(--ink-dim); font-size: 14px; }

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

/* ---------- footer ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 18px; font-weight: 500; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--ink-dim); font-size: 14px; }
.foot-col a:hover { color: var(--ink); }
.foot-brand p { color: var(--ink-dim); font-size: 14px; max-width: 36ch; line-height: 1.6; margin: 20px 0 0; }
.foot-bottom {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--ink-mute);
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(37,211,102,0.6), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 220ms;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: #25D366; opacity: 0.3;
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.45; } 100% { transform: scale(1.5); opacity: 0; } }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 55;
  max-width: 420px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  padding: 20px; border-radius: 4px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  animation: cookieIn 380ms ease-out;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie h5 { margin: 0; font-size: 14px; font-weight: 600; }
.cookie p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-dim); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { padding: 10px 16px; border-radius: 100px; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.cookie-accept { background: var(--accent); color: white; }
.cookie-decline { color: var(--ink-dim); border: 1px solid var(--line-2); }

@media (max-width: 560px) {
  .cookie { left: 16px; right: 16px; bottom: 96px; max-width: none; }
  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- modal ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: bgIn 220ms ease-out;
}
@keyframes bgIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%; max-width: 980px;
  max-height: 86vh; overflow: hidden auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  animation: modalIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-media { background: var(--bg); }
.modal-media image-slot,
.modal-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.modal-body { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg-3); }
.modal-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.modal-stat-v { font-family: var(--font-mono); font-size: 16px; }
.modal-stat-l { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; }
  .modal-media image-slot { min-height: 280px; }
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* selection indicator dot on hero */
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.4); opacity: 0.5; } }
