/* LUMÉA · Superfícies públicas · Visual 2026 */
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  --bg: #f7f7fb;
  --panel: #ffffff;
  --panel-soft: #f0f1f7;
  --text: #17151f;
  --muted: #6e6b78;
  --line: #e2e1e8;
  --brand: #6257e7;
  --brand-strong: #4f46c8;
  --brand-soft: #efedff;
  --accent: #0f8f8a;
  --good: #087a5b;
  --warn: #a75a08;
  --bad: #bb3f4b;
  --shadow: 0 20px 60px rgba(35, 30, 50, .08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 92% -4%, rgba(98, 87, 231, .13), transparent 28rem),
    radial-gradient(circle at 2% 92%, rgba(15, 143, 138, .08), transparent 25rem),
    var(--bg);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 21, 31, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 21, 31, .018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 74%);
}

header {
  position: sticky;
  top: .65rem;
  z-index: 20;
  width: min(1120px, calc(100% - 24px));
  margin: .65rem auto 0;
  padding: 0;
  border: 1px solid rgba(226, 225, 232, .78);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 32px rgba(35, 30, 50, .05);
  backdrop-filter: blur(22px) saturate(1.12);
}

header .wrap {
  width: 100%;
  min-height: 3.9rem;
  padding: .65rem .9rem;
}

header a {
  color: var(--text);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
}

header a:first-child {
  margin-right: auto;
  color: var(--text);
  font-size: .88rem;
  font-weight: 860;
  letter-spacing: .11em;
}

header a:first-child::before {
  content: "L";
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  margin-right: .58rem;
  border-radius: .65rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  box-shadow: 0 8px 20px rgba(98, 87, 231, .2);
  letter-spacing: 0;
}

header a:hover {
  color: var(--brand-strong);
}

.wrap {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.hero::after {
  content: "";
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: 1rem;
  top: 2rem;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(98, 87, 231, .1);
  box-shadow: 0 0 0 3.5rem rgba(98, 87, 231, .025), 0 0 0 7rem rgba(15, 143, 138, .018);
}

.hero h1 {
  max-width: 15ch;
  margin: .5rem 0 .85rem;
  font-size: clamp(2.7rem, 6.8vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 840;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.75;
}

.card {
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(226, 225, 232, .86);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 38px rgba(35, 30, 50, .055);
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(98, 87, 231, .035);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 87, 231, .2);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: .35rem 0 .55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.card h3 {
  margin: .15rem 0 .6rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  letter-spacing: -.035em;
}

.card p {
  color: var(--muted);
}

.card strong {
  color: var(--text);
}

.card ul,
.card ol {
  padding-left: 1.2rem;
}

.card li {
  margin: .42rem 0;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid > .card {
  margin: 0;
}

.grid > .card:nth-child(2),
.grid > .card:nth-child(3) {
  background: linear-gradient(145deg, #fff, rgba(239, 237, 255, .62));
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .25rem .58rem;
  border: 1px solid rgba(98, 87, 231, .14);
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: .68rem;
  font-weight: 820;
  letter-spacing: .08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 1rem 0 2rem;
  padding: .72rem 1.05rem;
  border-radius: .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 74%, var(--accent)));
  box-shadow: 0 12px 28px rgba(98, 87, 231, .2);
  text-decoration: none;
  font-weight: 780;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(98, 87, 231, .25);
}

.muted {
  color: var(--muted);
}

.good {
  color: var(--good);
}

.warn {
  color: var(--warn);
}

.bad {
  color: var(--bad);
}

code {
  padding: .18rem .42rem;
  border: 1px solid var(--line);
  border-radius: .48rem;
  background: var(--panel-soft);
}

footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: .82rem;
}

footer .wrap {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  header {
    top: .45rem;
    width: calc(100% - 16px);
    margin-top: .45rem;
  }

  header .wrap {
    min-height: 3.5rem;
    padding-inline: .7rem;
  }

  .wrap {
    width: min(100% - 24px, 1060px);
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero::after {
    width: 10rem;
    height: 10rem;
    right: -2rem;
    top: 3rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    border-radius: 1.15rem;
  }
}

@media (max-width: 420px) {
  header a:not(:first-child) {
    font-size: .75rem;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero p {
    font-size: .96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
