/* Atlas · site público (atlas.olympo.io)
   Identidade da Olympo: fundo #131313, verde-limão #cdfb56, Plus Jakarta Sans e Geist Mono.
   Sem JavaScript e sem serviço de terceiros: as fontes ficam em /assets/fonts. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #131313;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f2f2f2;
  --text-2: #c1c1c1;
  --muted: #9b9b9b;
  --accent: #cdfb56;
  --accent-2: #d6fd70;
  --accent-ink: #131313;
  --accent-soft: rgba(205, 251, 86, 0.12);
  --radius: 22px;
  --container: 1200px;
  --header-h: 64px;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 80px));
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Topo */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 19, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .nav-cta {
  margin-left: 4px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.nav .nav-cta:hover {
  background: var(--accent-2);
  color: var(--accent-ink);
}

/* Botões e links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-2);
}

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(205, 251, 86, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.link:hover {
  text-decoration-color: var(--accent);
}

/* Abertura */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 160px) 0 clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 75% 0%, #000 0%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -380px;
  right: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 251, 86, 0.2), transparent 62%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(205, 251, 86, 0.16);
  flex: none;
}

.display {
  margin: 28px 0 0;
  font-size: clamp(4.75rem, 18vw, 14.5rem);
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 0.84;
}

.display--two {
  font-size: clamp(4rem, 14.5vw, 12rem);
}

.display .accent {
  color: var(--accent);
}

.hero-row {
  display: grid;
  gap: 36px;
  margin-top: clamp(32px, 5vw, 56px);
}

@media (min-width: 960px) {
  .hero-row {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
  }
}

.lead {
  max-width: 46ch;
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.5;
}

.lead strong {
  color: var(--text);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 960px) {
  .hero-row .actions {
    justify-content: flex-end;
  }
}

.note {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rise-2 {
  animation-delay: 0.08s;
}

.rise-3 {
  animation-delay: 0.16s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rise {
    animation: none;
  }
  .btn,
  .btn svg,
  .card {
    transition: none;
  }
}

/* Seções */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

@media (min-width: 960px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: end;
  }
}

.label {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.label b {
  color: var(--accent);
  font-weight: 500;
}

.h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

/* Cartões */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, background-color 0.25s;
}

a.card:hover {
  border-color: rgba(205, 251, 86, 0.55);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.card p {
  margin: 0;
  color: var(--text-2);
}

.card .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-foot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.card-foot svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

a.card:hover .card-foot svg {
  transform: translateX(3px);
}

.chip {
  align-self: flex-start;
  padding: 5px 11px;
  border: 1px solid rgba(205, 251, 86, 0.45);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip--muted {
  border-color: var(--line-strong);
  color: var(--muted);
}

.versions {
  display: grid;
  gap: 16px;
}

@media (min-width: 960px) {
  .versions {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.card--feature {
  min-height: 340px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(205, 251, 86, 0.11), transparent 60%), var(--bg-2);
}

.card--feature h3,
.card--quiet h3 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  letter-spacing: -0.05em;
}

.card--quiet {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}

/* Princípios em grade */

.grid-2 {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3.2vw, 44px);
  background: var(--bg);
}

.cell .num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}

.cell h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.cell p {
  margin: 0;
  color: var(--text-2);
}

/* Quem faz */

.about {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .about {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.about-text p {
  max-width: 40ch;
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.5;
}

.about-text p strong {
  color: var(--text);
  font-weight: 700;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* Recursos do Atlas Car (grade em mosaico) */

.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento .wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bento .span-4 {
    grid-column: span 4;
  }
  .bento .span-3 {
    grid-column: span 3;
  }
  .bento .span-2 {
    grid-column: span 2;
  }
}

.bento .card {
  min-height: 250px;
}

.bento .card--accent {
  background: radial-gradient(110% 100% at 0% 100%, rgba(205, 251, 86, 0.1), transparent 60%), var(--bg-2);
}

/* Portais */

.portals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portals li {
  padding: 14px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: clamp(1.2rem, 0.95rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.portal-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Etapas */

.steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.step {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.step .n {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--text-2);
}

/* Chamada final */

.cta {
  padding: clamp(80px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(70% 90% at 0% 100%, rgba(205, 251, 86, 0.08), transparent 60%);
}

.cta .h2 {
  max-width: 17ch;
}

.cta p {
  max-width: 52ch;
  margin: 24px 0 36px;
  color: var(--text-2);
  font-size: 1.15rem;
}

/* Rodapé */

.site-footer {
  padding: 56px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-grid p {
  max-width: 36ch;
  margin: 16px 0 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.legal-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-word {
  margin: 28px 0 -0.14em;
  color: #1d1d1d;
  font-size: clamp(6rem, 27vw, 21rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.8;
  white-space: nowrap;
  user-select: none;
}

.footer-word--long {
  font-size: clamp(4rem, 15.5vw, 13rem);
}

/* Documentos (privacidade e termos) */

.doc-hero {
  padding: clamp(56px, 9vw, 112px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.doc-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--text-2);
}

.doc-hero .updated {
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.doc {
  display: grid;
  gap: 40px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .doc {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
  }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

.toc {
  font-size: 14px;
}

.toc h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

.prose {
  max-width: 72ch;
  color: var(--text-2);
}

.prose h2 {
  margin: 56px 0 16px;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 8px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.prose p,
.prose li {
  line-height: 1.75;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(205, 251, 86, 0.6);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

/* Página não encontrada */

.notfound {
  padding: clamp(96px, 16vw, 200px) 0;
  border-bottom: 1px solid var(--line);
}

.notfound p {
  max-width: 44ch;
  margin: 24px 0 36px;
  color: var(--text-2);
  font-size: 1.2rem;
}

/* Celular estreito */

@media (max-width: 420px) {
  .nav a:not(.nav-cta) {
    padding: 8px 8px;
    font-size: 14px;
  }
  .nav .nav-cta {
    padding: 8px 13px;
    font-size: 14px;
  }
  .brand {
    font-size: 19px;
  }
  .btn {
    width: 100%;
  }
  .facts div {
    flex-direction: column;
    gap: 4px;
  }
  .facts dd {
    text-align: left;
  }
}
