/* Munditopia — Global styles */
:root {
  --bg: #0b0d11;
  --bg-alt: #0e1014;
  --bg-card: #12151b;
  --text: #efeae3;
  --text-dim: #c3cad3;
  --text-muted: #8b939f;
  --accent: #ff6a1f;
  --accent-light: #ffa06b;
  --whatsapp: #25d366;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

::selection { background: rgba(255,106,31,0.25); color: #fff; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ======================================== */
/* LOADING SCREEN                          */
/* ======================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.loader__logo {
  width: 64px;
  height: 64px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.9;
}
.loader__text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
}
