/* ELOO: tema claro inspirado na estrutura Mestres da Web */
:root {
  --text: #333333;
  --text-muted: #5c5c5c;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #e8eaed;
  --accent: #40bfff;
  --accent-deep: #0047ab;
  --gradient: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  --shadow-sm: 0 1px 2px rgba(51, 51, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 71, 171, 0.1);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1180px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Utilities */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(64, 191, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 71, 171, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
}

.logo-link img {
  height: 44px;
  width: auto;
  max-width: min(200px, 42vw);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s ease;
}

.nav-desktop a:not(.btn):hover {
  color: var(--accent);
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  margin-left: auto;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}

.header-nav-mid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
}

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

.lang-flags {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.lang-flags button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 2px;
  border-radius: 5px;
  line-height: 0;
  transition: border-color 0.15s ease;
}

.lang-flags button.active {
  border-color: var(--accent-deep);
}

.lang-flags button img {
  display: block;
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
}


@media (max-width: 900px) {
  .header-inner {
    gap: 0.65rem;
  }

  .logo-link {
    flex-shrink: 0;
  }

  .header-nav-group {
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .header-nav-mid {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 48ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(155deg, #c8dff3 0%, #dceaf7 45%, #e8eef5 100%);
  border: 1px solid rgba(0, 71, 171, 0.22);
  min-height: min(320px, 52vw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow:
    0 4px 6px rgba(15, 40, 80, 0.05),
    0 20px 48px rgba(0, 45, 100, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 15% 12%, rgba(64, 191, 255, 0.38), transparent 55%),
    radial-gradient(ellipse 75% 55% at 92% 88%, rgba(0, 71, 171, 0.2), transparent 52%);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 38%, transparent 100%);
  pointer-events: none;
}

.hero-code-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(64, 191, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 32px rgba(64, 191, 255, 0.15),
    0 18px 40px rgba(0, 0, 0, 0.55);
  background: #000000;
}

.hero-code-shell::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #40bfff 0%, #0047ab 100%);
}

.hero-code-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: #000000;
  border-bottom: 1px solid rgba(64, 191, 255, 0.22);
}

.hero-code-dots {
  display: flex;
  gap: 7px;
}

.hero-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}

.hero-code-dots span:nth-child(1) {
  background: #ff5f57;
}

.hero-code-dots span:nth-child(2) {
  background: #ffbd2e;
}

.hero-code-dots span:nth-child(3) {
  background: #28c840;
}

.hero-code-filename {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #8ec8ff;
}

.hero-code-body {
  margin: 0;
  padding: 0.75rem 0.5rem 0.95rem 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.65rem, 1.65vw, 0.8125rem);
  line-height: 1.6;
  background: #000000;
  color: #e8eef5;
  overflow-x: auto;
}

.hero-code-line {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: start;
  padding: 0 0.65rem 0 0.35rem;
}

.hero-code-line + .hero-code-line {
  margin-top: 1px;
}

.hero-code-ln {
  text-align: right;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.hero-code-txt {
  min-width: 0;
  white-space: nowrap;
}

.cd-i2,
.cd-i4 {
  display: inline-block;
  height: 1em;
  vertical-align: top;
}

.cd-i2 {
  width: 1.35em;
}

.cd-i4 {
  width: 2.7em;
}

.cd-c {
  color: #6a9fd4;
  font-style: italic;
}

.cd-k {
  color: #4cc3ff;
  font-weight: 600;
}

.cd-f {
  color: #9dd5ff;
  font-weight: 500;
}

.cd-s {
  color: #f4f8fc;
}

.cd-p {
  color: #6b9ac8;
}

.cd-a {
  color: #ffffff;
}

.cd-t {
  color: #7ec8ff;
}

.cd-n {
  color: #a3d4ff;
}

/* Maya AI: produto */
.maya-ai-band {
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
  background: linear-gradient(180deg, rgba(64, 191, 255, 0.07) 0%, var(--bg-alt) 55%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.maya-ai-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.maya-ai-copy {
  flex: 1 1 280px;
  max-width: 520px;
}

.maya-ai-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.maya-ai-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.maya-ai-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
}

.maya-ai-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.maya-store-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.maya-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.maya-store-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.maya-store-link img {
  display: block;
  height: auto;
}

.store-apple img {
  height: 44px;
  width: auto;
}

.store-google img {
  height: 62px;
  width: auto;
}

@media (max-width: 600px) {
  .maya-ai-band {
    padding: 1.35rem 0 1.5rem;
  }

  .maya-ai-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .maya-ai-copy {
    flex: 0 1 auto;
    max-width: none;
  }

  .maya-ai-stores {
    width: 100%;
  }
}

/* Services */
.services-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.services-head .section-lead {
  margin-inline: auto;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 820px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .service-columns {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.service-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.service-block-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.service-block-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(64, 191, 255, 0.22) 0%, rgba(0, 71, 171, 0.08) 100%);
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(0, 71, 171, 0.12);
}

.service-block-icon svg {
  width: 22px;
  height: 22px;
}

.service-block h3 {
  margin: 0;
  flex: 1;
  padding-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  line-height: 1.35;
}

.service-block li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Testimonial */
.testimonial-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-deep);
}

.testimonial-card .role {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  background: linear-gradient(
    118deg,
    #5fd4ff 0%,
    var(--accent) 26%,
    #2088e0 55%,
    #0d5aa8 82%,
    var(--accent-deep) 100%
  );
  background-size: 155% 100%;
  background-position: 8% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Articles / company */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

.article-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.article-block h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.article-block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.article-block p:last-child {
  margin-bottom: 0;
}

.article-block ol,
.article-block ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.article-block li {
  margin-bottom: 0.5rem;
  list-style: decimal;
}

.footer-top-link {
  text-align: center;
  padding-bottom: 1.5rem;
}

.footer-top-link a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-top-link a:hover {
  color: var(--accent-deep);
}

/* Footer: tema claro para preservar cores do logo */
.site-footer {
  background: var(--bg-alt);
  color: var(--text);
  padding: 3rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36ch;
}

.footer-brand .logo-link {
  justify-content: center;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32ch;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-bottom-copy {
  margin: 0;
}

.footer-bottom-cnpj {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
