/* Automatizza — estilos base (mobile-first, sem recursos externos) */

:root {
  --bg: #0a0e13;
  --bg-2: #0e1620;
  --surface: #111c28;
  --surface-2: #162434;
  --border: #22344a;
  --text: #e8f1f7;
  --muted: #a7b7c6;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --focus: #67e8f9;
  --ink-on-accent: #04201b;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 40% at 85% -10%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(50% 35% at -5% 20%, rgba(45, 212, 191, 0.08), transparent 70%);
  background-repeat: no-repeat;
  min-height: 100vh;
}

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

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan); }

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

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

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

/* ---------- Header ---------- */

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

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

.wordmark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #f4fbff 30%, var(--teal) 160%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
}
.site-nav a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }

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

.hero { padding: 56px 0 64px; }

.hero-copy { max-width: 52rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 6.2vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: var(--ink-on-accent);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.5), 0 8px 30px -8px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover { color: var(--ink-on-accent); filter: brightness(1.08); }

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

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 28, 40, 0.55), rgba(10, 14, 19, 0));
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  margin-bottom: 20px;
}

.intro {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* ---------- Cards ---------- */

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.04), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
}

.card-lead { font-size: 1.08rem; }
.card-lead p + p { margin-top: 16px; }

.card-featured {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.2), 0 0 40px -12px rgba(45, 212, 191, 0.35);
}
.card-featured p { margin-top: 14px; color: var(--text); }

.card-title {
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  color: var(--text);
}

.handles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px !important;
}
.handles a { font-weight: 700; }

.note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
  color: var(--muted);
}

.text-link { font-weight: 700; }

/* ---------- Produtos ---------- */

.product-card {
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}
.product-card-single { max-width: 640px; }
.product-card p { color: var(--text); }

.product-name {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* ---------- Contato ---------- */

.contact-card { padding: 8px 24px; }

.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list > div:last-child { border-bottom: 0; }

.contact-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-list dd { margin: 0; font-size: 1.05rem; word-break: break-word; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--bg-2);
}

.footer-inner {
  display: grid;
  gap: 6px;
}

.footer-name { color: var(--text); margin-bottom: 4px; }

.draft {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: #6d7f8e;
  opacity: 0.85;
}

/* ---------- Telas maiores ---------- */

@media (min-width: 640px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .contact-list > div {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }
  .contact-card { padding: 8px 28px; }
  .card { padding: 28px; }
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .section { padding: 96px 0; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 3.6rem; }
}
