/* aikaa — AI Agents LP
   Marca: fundo preto, texto branco, acento orange #EB5619
   Tipografia: Neue Haas Grotesk (fallback Inter / Helvetica Neue) */

:root {
  --black: #000000;
  --ink: #191919;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.38);
  --orange: #EB5619;
  --darkred: #610F0D;
  --line: rgba(255, 255, 255, 0.14);
  --font: "Neue Haas Grotesk Display", "Neue Haas Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: 4px 10px;
}
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--white); }
.btn-outline { border: 1px solid var(--line); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--white); }
.btn-lg { font-size: 17px; padding: 16px 36px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero-symbol {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: 56vw;
  max-width: 760px;
  opacity: 0.16;
  pointer-events: none;
}
.hero-symbol img { width: 100%; height: auto; display: block; }
.hero-inner { position: relative; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.strip p {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 300;
  color: var(--faint);
  font-style: italic;
}

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--ink); }
h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
.card {
  background: var(--black);
  padding: 36px 28px 40px;
}
.section-alt .card { background: var(--ink); }
.card .icon {
  width: 28px;
  height: 28px;
  color: var(--orange);
  margin-bottom: 20px;
}
.card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--muted); font-weight: 300; }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.list { list-style: none; margin-top: 8px; }
.list li {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 14px;
  height: 2px;
  background: var(--orange);
}
.list li:first-child { border-top: 1px solid var(--line); }

/* ---------- agent slot ---------- */
.agent-slot {
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(235, 86, 25, 0.10), transparent 65%);
}
.agent-placeholder { text-align: center; padding: 56px 32px; }
.agent-mark { width: 44px; height: auto; margin-bottom: 20px; }
.agent-title { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.agent-text { font-size: 15px; color: var(--muted); font-weight: 300; margin-bottom: 28px; }

/* ---------- cta final ---------- */
.cta-final {
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-final .section-sub { margin: 0 auto 40px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-tag { color: var(--faint); font-size: 14px; font-weight: 300; }
.footer-mail { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-mail:hover { color: var(--white); }
.footer-copy { color: var(--faint); font-size: 13px; margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding: 88px 0 96px; }
  .hero-symbol { right: -40%; width: 110vw; opacity: 0.12; }
  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.btn { white-space: nowrap; }
@media (max-width: 720px) {
  .nav-cta { padding: 10px 16px; font-size: 14px; }
}

/* ---------- motion (respeita prefers-reduced-motion) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
.card.reveal { transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.2s ease, box-shadow 0.2s ease; }

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(235, 86, 25, 0.16), transparent 60%);
  animation: glow-pulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-symbol { animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 14px)); }
}

.card:hover { box-shadow: inset 0 0 0 1px var(--orange); }
.card:hover .icon { animation: icon-pop 0.35s ease; }
@keyframes icon-pop { 50% { transform: scale(1.15); } }

.btn-primary { transition: background 0.15s ease, transform 0.15s ease; }
.btn-primary:hover { transform: translateY(-2px); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--faint);
  white-space: nowrap;
}
.marquee-track i {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- typing indicator (agente) ---------- */
.typing { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.typing span {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: none; opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .hero-symbol, .marquee-track, .typing span { animation: none; }
  /* sem animação, a faixa mostra a tagline uma única vez, centralizada */
  .marquee-track { width: 100%; justify-content: center; gap: 0; }
  .marquee-track span:not(:first-of-type), .marquee-track i { display: none; }
}

/* ---------- widget do agente (agent-widget.js) ---------- */
.aw-box { max-width: 560px; margin: 0 auto; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: rgba(255,255,255,0.03); }
.aw-title { font-size: 1.25rem; margin: 0 0 6px; }
.aw-sub, .aw-notice, .aw-ai { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.aw-notice { font-size: .82rem; margin: 14px 0 10px; }
.aw-form { display: grid; gap: 12px; }
.aw-field { display: grid; gap: 4px; }
.aw-label { font-size: .8rem; color: var(--faint); }
.aw-input { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--black); color: var(--white); font: inherit; }
.aw-input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.aw-code { letter-spacing: .4em; text-align: center; font-size: 1.3rem; }
.aw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aw-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.aw-check input { margin-top: 3px; accent-color: var(--orange); }
.aw-btn { padding: 12px 20px; border: 0; border-radius: 8px; background: var(--orange); color: var(--black); font: inherit; font-weight: 600; cursor: pointer; }
.aw-btn:hover:not(:disabled) { background: var(--white); }
.aw-btn:disabled { opacity: .5; cursor: wait; }
.aw-link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.aw-error { color: #ff8a65; font-size: .85rem; min-height: 1.1em; margin: 0; }
.aw-log { height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding-right: 4px; }
.aw-msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: .95rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.aw-bot { background: rgba(255,255,255,0.08); align-self: flex-start; }
.aw-user { background: var(--orange); color: var(--black); align-self: flex-end; }
.aw-chatform { display: flex; gap: 8px; }
