/* Evolora — Landing institucional — estilos independentes do sistema */

:root {
  --bg: #070908;
  --bg-alt: #0d100e;
  --surface: #121513;
  --border: #232825;
  --text: #F4F7F5;
  --text-muted: #A7B0AB;
  --green: #57E782;
  --green-dark: #1F8466;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 20px 60px -30px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

body.no-scroll { overflow: hidden; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #06110c;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

a { color: inherit; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.05rem; }
p { color: var(--text-muted); margin: 0 0 1em; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green);
  color: #06110c;
}
.btn-primary:hover { background: #6cf095; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--green); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,9,8,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo { height: 30px; width: auto; display: block; }
.brand-symbol { width: 32px; height: 32px; }
.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .93rem;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 20% 0%, rgba(87,231,130,.10), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 780px; }
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-lead { font-size: 1.1rem; max-width: 60ch; }
.hero-signature {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-lead { max-width: 62ch; font-size: 1.05rem; }
.note-box {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--text-muted);
  font-size: .92rem;
  max-width: 62ch;
}

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.check-list.two-col { max-width: none; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(87,231,130,.15);
  border: 1px solid var(--green);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--green-dark); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .92rem; }

/* Pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .9rem;
  color: var(--text);
}

/* Status */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.status-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
}
.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.status-ok .status-dot { background: var(--green); }
.status-warn .status-dot { background: #E7C257; }
.status-crit .status-dot { background: #E75757; }
.status-card p { margin: 0; font-size: .9rem; }

/* Roles */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.role-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.role-card h3 { margin: 0; }

/* Steps */
.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #06110c;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 6px 0 0; font-size: 1rem; }

/* Product mock */
.product-mock { margin-top: 32px; }
.mock-window {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mock-topbar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-topbar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}
.mock-body { display: flex; min-height: 280px; }
.mock-sidebar {
  width: 140px;
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}
.mock-line.short { width: 70%; }
.mock-main { flex: 1; padding: 20px; }
.mock-cards { display: flex; gap: 12px; margin-bottom: 24px; }
.mock-card {
  flex: 1;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(87,231,130,.18), rgba(31,132,102,.10));
  border: 1px solid var(--border);
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.mock-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-radius: 4px 4px 0 0;
  opacity: .85;
}

/* FAQ */
.faq-list { margin-top: 28px; display: grid; gap: 10px; max-width: 760px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-answer p { padding: 0 20px 18px; margin: 0; font-size: .93rem; }

/* CTA final */
.cta-final {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(87,231,130,.12), transparent 60%), var(--bg);
}
.cta-final h2 { max-width: 700px; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { margin: 0; }
.footer-tagline { font-size: .82rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--text-muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-copy {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin: 20px 0 0;
}

/* Responsive */
@media (max-width: 860px) {
  .nav-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 24px;
    overflow-y: auto;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }
  .main-nav { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 10px 0; }
  .header-cta { align-self: stretch; text-align: center; margin-top: auto; }
  .menu-toggle { display: flex; }

  .site-header.is-open .nav-panel { display: flex; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 52px 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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