/* -------------------------------------------------------------
   Lenão Labs — estilos
   Paleta: grafite-violeta escuro + acento âmbar só em CTAs
------------------------------------------------------------- */

:root {
  --bg: #0C0A14;
  --surface: #171227;
  --surface-2: #201A33;
  --border: #2E2648;
  --text: #F3F1FA;
  --text-muted: #A79FC2;
  --accent: #F2A93C;
  --accent-strong: #FFC46B;
  --accent-ink: #1B1204;

  --font-head: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
}
.nav-links a:hover {
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(23, 18, 39, 0.7);
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ---------- Selos ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-live {
  background: rgba(87, 199, 133, 0.14);
  color: #7FD9A0;
}

.badge-hot {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(242, 169, 60, 0.16);
  color: var(--accent-strong);
}

/* ---------- Produtos prontos ---------- */
.products {
  padding: 96px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-top h3 {
  font-size: 1.6rem;
}

.product-audience {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 500;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  flex: 1;
}

.product-price {
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- Hero (continuação) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 88px;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 169, 60, 0.16) 0%, rgba(107, 74, 173, 0.16) 42%, transparent 70%);
  filter: blur(10px);
  opacity: 0;
  animation: heroGlowIn 1.6s ease-out 0.1s forwards;
  pointer-events: none;
}

@keyframes heroGlowIn {
  0% { opacity: 0; transform: translateX(-50%) scale(0.85); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-subheadline {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.35s forwards;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.55s forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-subheadline, .hero-actions {
    animation: none;
    opacity: 1;
  }
  .hero-canvas {
    display: none;
  }
}

/* ---------- Mockups ilustrativos de fundo (decorativos, não são prints reais) ---------- */
.bg-mock {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.bg-mock-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: mockFloat 7s ease-in-out infinite;
}

.bg-mock--chat { width: 220px; }
.bg-mock--chat .bg-mock-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bg-mock-bar {
  width: 55%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 6px;
}
.bg-mock-bubble {
  height: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
}
.bg-mock-bubble--in { width: 72%; align-self: flex-start; }
.bg-mock-bubble--out { width: 54%; align-self: flex-end; background: var(--accent); opacity: 0.7; }

.bg-mock--crm { width: 240px; }
.bg-mock--crm .bg-mock-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation-name: mockFloat;
}
.bg-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bg-mock-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}
.bg-mock-line {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.bg-mock-pill {
  width: 36px;
  height: 10px;
  border-radius: 99px;
  background: var(--accent);
  opacity: 0.65;
  flex-shrink: 0;
}

.bg-mock--flow { width: 220px; }
.bg-mock--flow .bg-mock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bg-mock-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}
.bg-mock-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 6px;
}

@keyframes mockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pos-hero { top: 100px; right: 5%; transform: rotate(6deg); }
.pos-capacity { bottom: 20px; left: 5%; transform: rotate(-4deg); }
.pos-services { top: 32px; right: 5%; transform: rotate(3deg); }
.pos-case { bottom: 20px; right: 5%; transform: rotate(-5deg); }
.pos-contact { top: 48px; right: 5%; transform: rotate(4deg); }

.pos-hero .bg-mock-panel { animation-delay: 0s; }
.pos-capacity .bg-mock-panel { animation-delay: 0.6s; }
.pos-services .bg-mock-panel { animation-delay: 1.2s; }
.pos-case .bg-mock-panel { animation-delay: 1.8s; }
.pos-contact .bg-mock-panel { animation-delay: 2.4s; }

@media (max-width: 720px) {
  .bg-mock {
    opacity: 0.28;
    transform: scale(0.62) rotate(4deg);
  }
  .pos-hero { top: 20px; right: -6%; }
  .pos-capacity { bottom: -10px; left: -6%; }
  .pos-services { top: 0; right: -6%; }
  .pos-case { bottom: -6px; right: -6%; }
  .pos-contact { top: 8px; right: -6%; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mock-panel {
    animation: none;
  }
}

/* ---------- Capacidade ---------- */
.capacity {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.capacity-inner {
  padding: 56px 24px;
  max-width: 720px;
  text-align: left;
}

.capacity h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 16px;
}

.capacity p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Demo chat ---------- */
.demo {
  padding: 96px 0;
}

.chat-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.chat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #57C785;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(87, 199, 133, 0.15);
}

.chat-card-header strong {
  display: block;
  font-size: 0.98rem;
}

.chat-status {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bubble-bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.bubble-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}

.bubble-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
}
.bubble-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.1s infinite ease-in-out;
}
.bubble-typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.chat-input-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.93rem;
}

.chat-input-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- Serviços ---------- */
.services {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 28px 26px 28px 30px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--border);
  transition: border-left-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-left-color: var(--accent);
  transform: translateY(-2px);
}

.service-card:nth-child(2n) {
  border-left-color: var(--border);
}

.service-card .service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Case ---------- */
.case {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.case-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.case strong {
  color: var(--text);
}

/* ---------- Sobre mim ---------- */
.about {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(242, 169, 60, 0.35), var(--surface-2) 65%);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.about-text .btn {
  margin-top: 10px;
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact-form .btn {
  align-self: flex-start;
}

.form-status {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.form-status.success { color: #7FD9A0; }
.form-status.error { color: #F19999; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent);
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #06210F;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-ring {
    animation: none;
    display: none;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
  .services-grid,
  .products-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-photo {
    width: 140px;
    height: 140px;
    font-size: 2.4rem;
  }

  .chat-card {
    height: 500px;
  }

  .hero {
    padding: 76px 20px 64px;
  }

  .demo, .services, .case, .contact, .products, .about {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
