/* Axonon landing page
   Paleta: verde pinheiro como base, âmbar de sinalização só para ação e movimento. */

:root {
  --pine-950: #061f18;
  --pine-900: #0a2f25;
  --pine-800: #0f4033;
  --pine-700: #17594a;
  --fern-300: #8fd3b0;
  --fern-400: #5db88c;
  --mist-50: #f2f7f3;
  --mist-100: #e4eee7;
  --mist-300: #bfd3c6;
  --ink: #0c231b;
  --ink-soft: #3d5750;
  --on-dark: #eaf4ee;
  --on-dark-soft: #a8c6b6;
  --amber: #f5b83d;
  --amber-600: #e0a21f;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --muted: var(--on-dark-soft);
  --line: rgba(143, 211, 176, 0.22);
  --focus: var(--amber);
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--pine-950);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

section[id] { scroll-margin-top: 68px; }

/* ---------- Estrutura ---------- */

.wrap {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 10vw, 136px); }

.theme-dark {
  background: var(--pine-900);
  color: var(--on-dark);
  --muted: var(--on-dark-soft);
  --line: rgba(143, 211, 176, 0.22);
  --focus: var(--amber);
}

.theme-deep {
  background: var(--pine-950);
  color: var(--on-dark);
  --muted: var(--on-dark-soft);
  --line: rgba(143, 211, 176, 0.2);
  --focus: var(--amber);
}

.theme-light {
  background: var(--mist-50);
  color: var(--ink);
  --muted: var(--ink-soft);
  --line: rgba(12, 35, 27, 0.16);
  --focus: var(--pine-800);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  max-width: 22ch;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  line-height: 1.02;
}

h3 { line-height: 1.1; }

p { margin: 0; }

.intro {
  max-width: 56ch;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-600); }

.btn--ghost { border-color: var(--fern-400); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { background: rgba(93, 184, 140, 0.16); }

.btn--small { padding: 0.6rem 1.05rem; font-size: 0.95rem; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 47, 37, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 211, 176, 0.14);
  --focus: var(--amber);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--on-dark);
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; color: var(--amber); }
.brand span {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  color: var(--on-dark-soft);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover { color: var(--on-dark); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px);
  background: var(--pine-900);
  color: var(--on-dark);
  --muted: var(--on-dark-soft);
  --line: rgba(143, 211, 176, 0.22);
  --focus: var(--amber);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 70% at 78% 48%, rgba(23, 89, 74, 0.55), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--on-dark-soft);
  font-size: 0.92rem;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 50ch;
  margin-top: 1.7rem;
  color: var(--on-dark-soft);
  font-size: 1.2rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.2rem;
}

/* Rede do núcleo (SVG) */

.net {
  width: 100%;
  height: auto;
  max-width: 640px;
  justify-self: end;
  overflow: visible;
}

.net__ring {
  fill: none;
  stroke: rgba(143, 211, 176, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 2 7;
}

.net__line {
  fill: none;
  stroke: var(--pine-700);
  stroke-width: 1.8;
}

.net__pulses circle {
  fill: var(--amber);
  filter: drop-shadow(0 0 6px rgba(245, 184, 61, 0.85));
}

.net__chip rect {
  fill: var(--pine-800);
  stroke: var(--pine-700);
  stroke-width: 1.4;
}
.net__chip text {
  fill: var(--on-dark);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

.net__halo { fill: none; stroke: var(--amber); stroke-width: 1.6; }
.net__core { fill: var(--pine-950); stroke: var(--fern-400); stroke-width: 2; }
.net__mark { color: var(--amber); }

/* ---------- Esteira da OS ---------- */

.rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0 20px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.rail li {
  position: relative;
  padding-top: 56px;
}

.rail li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 36px;
  right: -20px;
  height: 2px;
  background: var(--mist-300);
}
.rail li:last-child::before { display: none; }

.rail__n {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pine-900);
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 700;
}
.rail li:last-child .rail__n { background: var(--amber); color: var(--ink); }

.rail h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.rail p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Módulos ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.split__intro {
  position: sticky;
  top: 112px;
}

.modules {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.modules li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.modules h3 {
  font-size: 1.9rem;
  transition: color 0.2s;
}
.modules li:hover h3 { color: var(--amber); }

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

/* ---------- Para quem ---------- */

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-top: 56px;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tab {
  appearance: none;
  padding: 14px 0 14px 22px;
  border: 0;
  border-left: 4px solid var(--line);
  background: none;
  color: var(--muted);
  font-family: var(--font-display);
  font-stretch: 78%;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] {
  color: var(--ink);
  border-left-color: var(--amber-600);
}

.panels { display: flex; }

.panel {
  flex: 1;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 20px;
  background: var(--pine-900);
  color: var(--on-dark);
}

.panel h3 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.04;
}

.panel ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.panel li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid rgba(143, 211, 176, 0.2);
  color: var(--on-dark-soft);
}
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
}

/* ---------- Segurança ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.pillar { padding: 36px 36px 0 0; }
.pillar + .pillar {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.pillar h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  line-height: 1.04;
}

.pillar p {
  margin-top: 1rem;
  color: var(--muted);
}

/* ---------- Chamada final ---------- */

.cta h2 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.96;
}

.cta .intro { max-width: 52ch; }

.soon {
  margin-top: 2.4rem;
  color: var(--on-dark);
  font-weight: 600;
}

.waitlist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin-top: 2.6rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { color: var(--on-dark-soft); font-size: 0.95rem; font-weight: 500; }
.field input,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--pine-700);
  border-radius: 10px;
  background: var(--pine-950);
  color: var(--on-dark);
  font: inherit;
}
.field input:hover,
.field select:hover { border-color: var(--fern-400); }
.field--trap { position: absolute; left: -9999px; }

.waitlist .btn { grid-column: 1 / -1; justify-self: start; }
.waitlist__legal { grid-column: 1 / -1; color: var(--on-dark-soft); font-size: 0.92rem; }
.waitlist__status { grid-column: 1 / -1; min-height: 1.5em; font-weight: 600; }
.waitlist__status.is-error { color: #ffb4a8; }

/* ---------- Rodapé ---------- */

.site-footer {
  padding-block: 40px;
  background: var(--pine-950);
  color: var(--on-dark-soft);
  border-top: 1px solid rgba(143, 211, 176, 0.14);
  font-size: 0.95rem;
  --focus: var(--amber);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer__copy { margin-left: auto; }

/* ---------- Página 404 ---------- */

.lost {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 68px - 108px);
  padding-block: 72px;
}
.lost h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.96; }
.lost .lede { margin-bottom: 0; }

/* ---------- Responsivo ---------- */

@media (max-width: 1040px) {
  .rail {
    grid-template-columns: 1fr;
    gap: 28px 0;
    max-width: 560px;
  }
  .rail li { padding: 0 0 0 64px; }
  .rail li::before {
    top: 36px;
    bottom: -28px;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .site-header__bar { gap: 12px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .net { justify-self: center; max-width: 460px; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split__intro { position: static; }

  .audience { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .tab {
    padding: 0.55rem 1.1rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-body);
    font-stretch: 100%;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
  }
  .tab[aria-selected="true"] {
    border-color: var(--pine-900);
    background: var(--pine-900);
    color: var(--on-dark);
  }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar,
  .pillar + .pillar { padding: 32px 0 0; border-left: 0; }
  .pillar + .pillar { margin-top: 32px; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(1160px, 100% - 40px); }

  .net { width: calc(100% + 56px); max-width: none; margin-inline: -28px; }

  .modules li { grid-template-columns: minmax(0, 1fr); }
  .modules h3 { font-size: 1.7rem; }

  .waitlist { grid-template-columns: minmax(0, 1fr); }
  .site-footer__copy { margin-left: 0; }
}
