/* Enneal LIMS — landing estática.
   Identidade: navy #0B1A38, azuis #1E90FF / #2563EB. Fonte Inter (já usada no material Enneal). */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/inter-800.woff2") format("woff2");
}

:root {
  --navy: #0B1A38;
  --navy-2: #10244F;
  --navy-3: #16305F;
  --blue: #1E90FF;
  --blue-2: #2563EB;
  --sky: #9CC8FF;
  --mist: #D6E2F5;
  --ink: #0F172A;
  --muted: #475569;
  --line: #DCE3EE;
  --tint: #F1F6FE;
  --paper: #F7F9FC;
  --white: #fff;
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 18px 40px rgba(11, 26, 56, 0.12);
  --radius: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-2); text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 56, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 144, 255, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex: none;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.logo span {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.logo small {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a:hover { color: var(--white); }
.nav .btn {
  margin-left: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { color: var(--white); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(156, 200, 255, 0.45);
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(30, 144, 255, 0.12);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-2); }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  color: var(--navy);
  border-color: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 88px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle at 40% 40%, rgba(30, 144, 255, 0.28), rgba(11, 26, 56, 0) 68%);
}
.hero::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(11, 26, 56, 0) 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.lead {
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--mist);
  max-width: 42em;
}
.en-line {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  color: var(--sky);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 38em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Abstract illustration (not a product screenshot) */
.art {
  position: relative;
  min-height: 380px;
}
.art svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
}
.sub {
  margin: 12px 0 0;
  color: var(--muted);
}

.origin {
  background: var(--paper);
}
.origin-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.pain {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 22px 24px;
  color: var(--muted);
}
.pain b { color: var(--navy); font-weight: 600; }
.note {
  margin: 0;
  background: var(--navy);
  color: var(--mist);
  border-radius: 12px;
  padding: 22px 24px;
}
.note strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

/* ---------- Chain ---------- */
.chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chain-step {
  position: relative;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px 16px;
  text-align: center;
}
.chain-step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}
.chain-step strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}
.chain-step span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* ---------- Features ---------- */
.features { background: var(--white); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 20px;
  min-height: 100%;
}
.feat-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue-2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feat-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.feat-card .hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.feat-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat-card li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.feat-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.feat-card li strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Plan ---------- */
.plan {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.plan::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.plan .section-head { position: relative; z-index: 1; }
.plan h2,
.plan .eyebrow { color: var(--white); }
.plan .eyebrow { color: var(--blue); }
.plan .sub { color: var(--mist); }
.plan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan-item {
  background: rgba(16, 36, 79, 0.75);
  border: 1px solid rgba(30, 144, 255, 0.28);
  border-radius: 16px;
  padding: 24px 22px;
}
.plan-item .num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
}
.plan-item strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}
.plan-item span {
  display: block;
  margin-top: 4px;
  color: var(--mist);
  font-size: 0.95rem;
}
.stack {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  color: var(--sky);
  font-size: 0.92rem;
}

/* ---------- English ---------- */
.en-block { background: var(--tint); }
.en-block p {
  margin: 12px 0 0;
  max-width: 46em;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  color: inherit;
}
.contact-card .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 6px;
}
.contact-card strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.contact-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--mist);
  padding: 36px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .origin-grid,
  .feat-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .chain { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .art { min-height: 0; max-width: 420px; }
  .logo span { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  section { padding: 56px 0; }
  .chain { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
  .kicker { letter-spacing: 0.1em; }
}

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

/* ---------- v2: language, founder, form, footer links ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding: 3px;
  border: 1px solid rgba(156, 200, 255, 0.35);
  border-radius: 999px;
}
.lang a {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--sky);
  text-decoration: none;
}
.lang a[aria-current="page"] {
  background: var(--blue);
  color: var(--white);
}
.lang a:hover { color: var(--white); }

.nav a[aria-current="page"]:not(.btn):not(.lang a) {
  color: var(--white);
}

.ref-strip {
  background: var(--navy);
  color: var(--mist);
  padding: 22px 0;
  border-top: 1px solid rgba(30, 144, 255, 0.18);
}
.ref-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  font-size: 0.92rem;
}
.ref-strip a { color: var(--sky); font-weight: 600; }
.ref-strip a:hover { color: var(--white); }
.ref-strip .label { color: var(--sky); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.founder-teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
.founder-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.founder-card h3 { margin: 0 0 8px; color: var(--navy); letter-spacing: -0.02em; font-size: 1.2rem; }
.founder-card p { margin: 0 0 12px; color: var(--muted); }
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-list a { font-weight: 600; }

/* About */
.page-hero { padding: 64px 0 48px; }
.page-hero h1 { max-width: 22ch; }
.bio { max-width: 46em; color: var(--muted); }
.bio p { margin: 0 0 1em; }
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.cv-card h3 { margin: 0 0 14px; color: var(--navy); }
.cv-card ol, .cv-card ul { margin: 0; padding: 0; list-style: none; }
.cv-card li { padding: 12px 0; border-top: 1px solid var(--line); }
.cv-card li:first-child { border-top: 0; padding-top: 0; }
.cv-card strong { display: block; color: var(--navy); }
.cv-card span { color: var(--muted); font-size: 0.92rem; }

/* Form */
.lead-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
.lead-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.lead-form fieldset { border: 0; margin: 0; padding: 0; }
.field { margin-bottom: 14px; }
.field label, .check label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 16px; }
.check input { margin-top: 4px; flex: none; }
.check label { font-weight: 400; color: var(--muted); margin: 0; }
.lead-status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; }
.lead-status.ok { background: #ECFDF3; color: #166534; }
.lead-status.err { background: #FEF2F2; color: #991B1B; }
.lead-status a { font-weight: 600; }

/* Footer v2 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.byline { margin: 10px 0 0; }
.byline a { font-weight: 700; }

@media (max-width: 960px) {
  .founder-teaser,
  .cv-grid,
  .lead-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; padding: 8px 0; }
}
@media (max-width: 640px) {
  .nav { gap: 6px 12px; }
  .nav a { font-size: 0.84rem; }
  .nav .btn { padding: 8px 12px; margin-left: 0; }
}

/* Links no hero (contraste sobre navy) */
.hero a { color: var(--sky); }
.hero a:hover { color: var(--white); }

/* Banner de consentimento LGPD/GDPR */
.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(11, 26, 56, 0.97);
  color: var(--mist);
  border-top: 1px solid rgba(30, 144, 255, 0.28);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 32px rgba(11, 26, 56, 0.35);
}
.consent-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.consent-text {
  margin: 0;
  flex: 1 1 28rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}
@media (max-width: 640px) {
  .consent-inner { width: min(var(--max), calc(100% - 28px)); }
}
