/* Lumicore — landing page institucional. Depende de lumicore-tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; } /* compensa header sticky de 64px */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Pular para o conteúdo (teclado) */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  background: var(--lc-blue-500); color: #fff; padding: 8px 14px;
  border-radius: var(--lc-radius-md); font-size: 14px; text-decoration: none;
  transition: top var(--lc-duration-fast) var(--lc-ease);
}
.skip-link:focus { top: 8px; outline: none; box-shadow: var(--lc-focus-ring); }

body {
  margin: 0;
  font-family: var(--lc-font-body);
  font-size: var(--lc-text-body-lg);
  line-height: var(--lc-leading-normal);
  color: var(--lc-text);
  background: var(--lc-bg);
}

h1, h2, h3 { font-family: var(--lc-font-display); font-weight: var(--lc-weight-semibold); letter-spacing: var(--lc-tracking-heading); margin: 0; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: none; box-shadow: var(--lc-focus-ring); border-radius: var(--lc-radius-sm); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--lc-container); margin: 0 auto; padding: 0 var(--lc-space-5); }
.container--narrow { max-width: var(--lc-container-narrow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--lc-n-0);
  border-bottom: 1px solid var(--lc-border);
  box-shadow: 0 0 0 rgba(13, 27, 38, 0);
  transition: box-shadow var(--lc-duration-base) var(--lc-ease);
}
.site-header.is-scrolled { box-shadow: var(--lc-shadow-sm); }
.site-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--lc-space-5); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lc-text); font-family: var(--lc-font-display); font-weight: 600; font-size: 18px; }
.brand--on-dark { color: #fff; }
.brand svg { transition: transform var(--lc-duration-fast) var(--lc-ease); }
.brand:hover svg { transform: scale(1.06); }

.site-nav { display: flex; gap: var(--lc-space-5); }
.site-nav a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--lc-text-muted); transition: color var(--lc-duration-fast) var(--lc-ease); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px;
  background: var(--lc-blue-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--lc-duration-base) var(--lc-ease);
}
.site-nav a:hover { color: var(--lc-text); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .site-nav__cta { display: none; } /* só aparece no menu mobile */

/* Honeypot anti-spam: fora da tela, invisível para gente, visível para bot */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Botão hambúrguer — visível só no mobile */
.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--lc-border); border-radius: var(--lc-radius-md);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--lc-text); transition: transform var(--lc-duration-base) var(--lc-ease), opacity var(--lc-duration-fast) var(--lc-ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: none; box-shadow: var(--lc-focus-ring); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--lc-font-body); font-weight: 500; line-height: 1;
  height: 38px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--lc-radius-md);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--lc-duration-fast) var(--lc-ease),
              border-color var(--lc-duration-fast) var(--lc-ease),
              transform var(--lc-duration-fast) var(--lc-ease),
              box-shadow var(--lc-duration-fast) var(--lc-ease);
}
.btn:focus-visible { outline: none; box-shadow: var(--lc-focus-ring); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--lc-blue-500); color: #fff; }
.btn--primary:hover { background: var(--lc-blue-600); box-shadow: var(--lc-shadow-sm); transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--lc-blue-800); border-color: var(--lc-n-300); }
.btn--secondary:hover { background: var(--lc-n-50); border-color: var(--lc-n-400); transform: translateY(-1px); }
.btn--secondary.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--secondary.btn--on-dark:hover { background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; color: var(--lc-blue-700); padding-left: 0; padding-right: 0; gap: 6px; }
.btn--ghost::after { content: "→"; transition: transform var(--lc-duration-fast) var(--lc-ease); }
.btn--ghost:hover { color: var(--lc-blue-800); }
.btn--ghost:hover::after { transform: translateX(3px); }
.btn--sm { height: 32px; padding: 0 14px; font-size: 13.5px; }
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--lc-blue-950); color: #fff;
  padding: var(--lc-space-9) 0 var(--lc-space-8);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 380px at 78% -10%, rgba(37,206,228,.20), transparent 62%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--lc-space-7); align-items: center;
}
.hero__note { font-size: 13.5px; color: var(--lc-n-400); margin-top: var(--lc-space-4); }
.hero__eyebrow {
  font-family: var(--lc-font-mono); font-size: var(--lc-text-overline);
  letter-spacing: var(--lc-tracking-overline); text-transform: uppercase; color: var(--lc-beam-400);
  margin-bottom: var(--lc-space-3);
}
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: var(--lc-leading-tight); letter-spacing: var(--lc-tracking-display); max-width: 18ch; }
.hero p { font-size: 17px; line-height: 1.6; color: var(--lc-n-300); max-width: 56ch; margin-top: var(--lc-space-4); }
.hero__actions { display: flex; gap: var(--lc-space-3); margin-top: var(--lc-space-6); flex-wrap: wrap; }

.hero__eyebrow, .hero h1, .hero__content p, .hero__actions, .hero__media {
  opacity: 0; animation: lc-rise var(--lc-duration-slow) var(--lc-ease) forwards;
}
.hero__eyebrow  { animation-delay: 40ms; }
.hero h1        { animation-delay: 110ms; }
.hero__content p{ animation-delay: 180ms; }
.hero__actions  { animation-delay: 250ms; }
.hero__media    { animation-delay: 320ms; }

@keyframes lc-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero h1, .hero__content p, .hero__actions, .hero__media { animation: none; opacity: 1; }
}

/* ---------- Mockup do hero (produto) ---------- */
.hero__media { position: relative; }
.mock {
  background: #0B2136; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--lc-radius-lg); box-shadow: var(--lc-shadow-lg);
  overflow: hidden; font-size: 13px;
}
.mock__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--lc-blue-500); flex: none; }
.mock__title { font-family: var(--lc-font-display); font-weight: 600; color: #fff; font-size: 14px; }
.mock__tabs { display: flex; gap: 16px; margin-left: auto; }
.mock__tabs span { font-size: 12px; color: var(--lc-n-400); padding-bottom: 4px; }
.mock__tabs .is-active { color: #fff; border-bottom: 2px solid var(--lc-beam-400); } /* feixe: aba ativa */
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.mock__stat { background: #0B2136; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.mock__k { font-size: 11px; color: var(--lc-n-400); }
.mock__n { font-family: var(--lc-font-mono); font-weight: 500; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.mock__stat--live { position: relative; }
.mock__stat--live::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--lc-beam-400); } /* feixe: métrica ao vivo */
.mock__rows { display: flex; flex-direction: column; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid rgba(255,255,255,.06); color: var(--lc-n-300); font-size: 12.5px; }
.mock__row.is-selected { background: rgba(37,206,228,.08); box-shadow: inset 2px 0 0 var(--lc-beam-400); color: #fff; } /* feixe: linha selecionada */
.mock__tag { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.mock__tag--ok { background: rgba(18,138,94,.18); color: #4ecb95; }
.mock__tag--wait { background: rgba(176,112,10,.18); color: #d69a3a; }

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--lc-blue-950); border-top: 1px solid rgba(255,255,255,.1); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--lc-space-5); padding-top: var(--lc-space-6); padding-bottom: var(--lc-space-6); }
.trust__item { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.16); }
.trust__k { font-size: 14px; font-weight: 600; color: #fff; }
.trust__v { font-size: 13px; line-height: 1.45; color: var(--lc-n-300); }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 56px; height: 56px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; /* verde de marca do WhatsApp, não é o feixe */
  box-shadow: var(--lc-shadow-lg);
  transition: transform var(--lc-duration-fast) var(--lc-ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float:focus-visible { outline: none; box-shadow: var(--lc-focus-ring), var(--lc-shadow-lg); }
.wa-float::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--lc-blue-950); color: #fff; font-size: 13px; white-space: nowrap;
  padding: 6px 10px; border-radius: var(--lc-radius-md); box-shadow: var(--lc-shadow-md);
  opacity: 0; pointer-events: none; transition: opacity var(--lc-duration-fast) var(--lc-ease);
}
.wa-float:hover::after, .wa-float:focus-visible::after { opacity: 1; }

/* Status do formulário */
.lead-form__status { margin-top: var(--lc-space-3); font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: var(--lc-radius-md); }
.lead-form__status.is-ok { background: var(--lc-success-bg); color: var(--lc-success); border: 1px solid rgba(18,138,94,.25); }
.lead-form__status.is-warn { background: var(--lc-blue-50); color: var(--lc-blue-800); border: 1px solid var(--lc-blue-100); }
.lead-form__status a { font-weight: 600; text-decoration: underline; }

/* ---------- Seções ---------- */
.section { padding: var(--lc-space-9) 0; }
.section--subtle { background: var(--lc-bg-subtle); }
.section--dark { background: var(--lc-blue-950); color: #fff; }
.section__eyebrow {
  font-family: var(--lc-font-mono); font-size: var(--lc-text-overline);
  letter-spacing: var(--lc-tracking-overline); text-transform: uppercase; color: var(--lc-text-muted);
  margin-bottom: var(--lc-space-2);
}
.section--dark .section__eyebrow { color: var(--lc-beam-400); }
.section h2 { font-size: var(--lc-text-display-l); letter-spacing: var(--lc-tracking-heading); max-width: 20ch; }
.section__lead { font-size: 17px; color: var(--lc-text-muted); margin-top: var(--lc-space-3); max-width: 60ch; }

/* ---------- Cards de produto ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lc-space-5); margin-top: var(--lc-space-7); }
.product-card {
  position: relative; overflow: hidden;
  background: var(--lc-surface); border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-lg); padding: var(--lc-space-5);
  display: flex; flex-direction: column; gap: var(--lc-space-3);
  transition: transform var(--lc-duration-base) var(--lc-ease),
              box-shadow var(--lc-duration-base) var(--lc-ease),
              border-color var(--lc-duration-base) var(--lc-ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--lc-shadow-md); border-color: var(--lc-n-300); }
.product-card__beam { width: 28px; height: 2px; background: var(--lc-beam-400); transition: width var(--lc-duration-base) var(--lc-ease); }
.product-card:hover .product-card__beam { width: 44px; }
.product-card h3 { font-size: var(--lc-text-h3); }
.product-card p { color: var(--lc-text-muted); font-size: 15px; }
.product-card ul { display: flex; flex-direction: column; gap: 6px; margin: var(--lc-space-2) 0; }
.product-card li { font-size: 14px; color: var(--lc-text-muted); padding-left: 16px; position: relative; }
.product-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--lc-blue-400); }
.product-card .btn--ghost { margin-top: auto; align-self: flex-start; }

.alert {
  display: flex; gap: var(--lc-space-3);
  padding: var(--lc-space-4); margin-top: var(--lc-space-6);
  border: 1px solid var(--lc-border); border-left: 3px solid var(--lc-n-400);
  border-radius: var(--lc-radius-lg); background: var(--lc-bg-subtle);
}
.alert--info { background: var(--lc-blue-50); border-color: var(--lc-blue-100); border-left-color: var(--lc-blue-500); }
.alert strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.alert p { font-size: 14px; color: var(--lc-text-muted); line-height: 1.5; }

/* ---------- Dores (grid de 2 colunas) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--lc-space-4); margin-top: var(--lc-space-7); }
.pain-card {
  border: 1px solid var(--lc-border); border-left: 3px solid var(--lc-n-400);
  border-radius: var(--lc-radius-lg); padding: var(--lc-space-5);
  background: var(--lc-surface);
}
.pain-card__num { font-family: var(--lc-font-mono); font-size: 13px; color: var(--lc-n-500); letter-spacing: var(--lc-tracking-overline); }
.pain-card h3 { font-size: 16px; margin-top: var(--lc-space-2); }
.pain-card p { color: var(--lc-text-muted); font-size: 14.5px; margin-top: var(--lc-space-2); line-height: 1.5; }

/* ---------- Etiquetas de estado ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 3px 9px;
  border-radius: var(--lc-radius-full);
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge--info { background: var(--lc-blue-50); color: var(--lc-blue-700); }

/* ---------- Processo ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lc-space-6); margin-top: var(--lc-space-7); }
.process-step__num { font-family: var(--lc-font-mono); font-size: 13px; color: var(--lc-beam-700); letter-spacing: var(--lc-tracking-overline); }
.process-step h3 { font-size: var(--lc-text-h3); margin-top: var(--lc-space-2); }
.process-step p { color: var(--lc-text-muted); font-size: 15px; margin-top: var(--lc-space-2); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: var(--lc-space-6); display: flex; flex-direction: column; gap: var(--lc-space-3); }
.faq-item {
  border: 1px solid var(--lc-border); border-radius: var(--lc-radius-lg);
  padding: var(--lc-space-4);
  transition: border-color var(--lc-duration-base) var(--lc-ease);
}
.faq-item:hover { border-color: var(--lc-n-300); }
.faq-item summary {
  cursor: pointer; font-weight: 500; font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; float: right; color: var(--lc-text-subtle);
  display: inline-block; transition: transform var(--lc-duration-base) var(--lc-ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p {
  margin-top: var(--lc-space-3); color: var(--lc-text-muted); font-size: 15px;
  animation: lc-fade var(--lc-duration-base) var(--lc-ease);
}
@keyframes lc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Contato / formulário ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lc-space-8); align-items: start; }
.contact-intro h2 { color: #fff; }
.contact-intro p { color: var(--lc-n-300); margin-top: var(--lc-space-3); max-width: 46ch; }

.lead-form { background: #fff; border-radius: var(--lc-radius-xl); padding: var(--lc-space-6); }
.field { margin-bottom: var(--lc-space-4); }
.field__label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--lc-text); }
.field__input {
  width: 100%; height: 38px; padding: 0 12px;
  font-family: var(--lc-font-body); font-size: 14px; color: var(--lc-n-950);
  background: var(--lc-n-0); border: 1px solid var(--lc-n-300); border-radius: var(--lc-radius-md);
  transition: border-color var(--lc-duration-fast) var(--lc-ease), box-shadow var(--lc-duration-fast) var(--lc-ease);
}
.field__input::placeholder { color: var(--lc-n-400); }
.field__input:focus { outline: none; border-color: var(--lc-blue-500); box-shadow: 0 0 0 3px rgba(37, 206, 228, .28); }
.field__help { font-size: 12.5px; color: var(--lc-text-muted); margin-top: var(--lc-space-3); }
.lead-form__submit { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lc-blue-950); color: var(--lc-n-300); padding-top: var(--lc-space-8); }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--lc-space-6); padding-bottom: var(--lc-space-7); }
.footer-brand p { font-size: 14px; margin-top: var(--lc-space-3); max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: var(--lc-space-3); }
.footer-col h4 { font-family: var(--lc-font-body); font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 var(--lc-space-1); }
.footer-col a { text-decoration: none; font-size: 14px; color: var(--lc-n-300); }
.footer-col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--lc-space-4); padding-bottom: var(--lc-space-4); font-size: 13px; color: var(--lc-n-400); }

/* ---------- Revelação ao rolar (só com JS disponível — ver <html class="js">) ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--lc-duration-slow) var(--lc-ease), transform var(--lc-duration-slow) var(--lc-ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
html.js .reveal-stagger > .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .reveal-stagger > .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .reveal-stagger > .reveal:nth-child(4) { transition-delay: 270ms; }
html.js .reveal-stagger > .reveal:nth-child(5) { transition-delay: 360ms; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .cards-grid, .process-grid, .pain-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--lc-space-7); }
  .hero__media { max-width: 460px; }
}
@media (max-width: 640px) {
  .site-header__inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px var(--lc-space-5) 12px;
    background: var(--lc-n-0); border-bottom: 1px solid var(--lc-border); box-shadow: var(--lc-shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 15px; color: var(--lc-text); }
  .site-nav a::after { display: none; }
  .site-nav .site-nav__cta { display: inline-flex; margin-top: var(--lc-space-2); padding: 0 16px; color: #fff; }
  .trust__inner { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero { padding: var(--lc-space-8) 0 var(--lc-space-6); }
  .section { padding: var(--lc-space-8) 0; }
}
