:root {
  --bg: #000000;
  --bg-soft: #070708;
  --panel: #0b0b0d;
  --panel-2: #0e0e11;
  --text: #f5f5f5;
  --muted: #8a8a92;
  --faint: #5c5c63;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --err: #ff6a6a;
  --radius: 12px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
.dim { color: var(--faint); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 760px; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary { background: var(--white); color: #09090b; }
.btn--primary:hover { transform: translateY(-1px); background: #ececec; }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===================== NAVBAR ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 9px; z-index: 1; }
.nav__logo-mark {
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(135deg, #fff, #9a9a9a);
}
.nav__logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.03em; }
.nav__links {
  display: flex;
  gap: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav__cta { z-index: 1; }
.nav__links a {
  font-size: 14px; color: var(--muted);
  transition: color 0.18s var(--ease);
}
.nav__links a:hover { color: var(--text); }

/* ===================== HERO ===================== */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 108px 0 88px;
  border-bottom: 1px solid var(--border);
}
.hero__inner { position: relative; z-index: 2; }

/* Backdrop animado */
.hero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__glow {
  position: absolute; top: -160px; left: 50%;
  width: 820px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 72%);
  animation: heroGlow 12s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.75; }
  50% { transform: translate(-50%, -16px) scale(1.1); opacity: 1; }
}
/* Feixes de luz diagonais (soft, orgânicos) */
.hero__rays {
  position: absolute; inset: -30% -15%;
  background:
    linear-gradient(118deg, transparent 16%, rgba(255, 255, 255, 0.06) 25%, transparent 36%),
    linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, 0.035) 50%, transparent 60%),
    linear-gradient(118deg, transparent 66%, rgba(255, 255, 255, 0.05) 76%, transparent 88%),
    linear-gradient(126deg, transparent 30%, rgba(255, 255, 255, 0.025) 38%, transparent 46%);
  filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 34%, #000 22%, transparent 80%);
  mask-image: radial-gradient(ellipse 78% 70% at 50% 34%, #000 22%, transparent 80%);
  animation: raysDrift 18s ease-in-out infinite alternate;
}
@keyframes raysDrift {
  from { transform: translate3d(-3%, 0, 0) rotate(-0.6deg); opacity: 0.75; }
  to   { transform: translate3d(3%, -2%, 0) rotate(0.6deg); opacity: 1; }
}

/* Vinheta para profundidade */
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 38%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__title {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 18px auto 0;
  max-width: 980px;
}
.hl {
  background: linear-gradient(100deg, #c9c9d1 0%, #fff 42%, #fff 58%, #c9c9d1 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

.hero__sub {
  margin: 24px auto 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }

/* Prova social no hero */
.hero__proof {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 48px auto 0; flex-wrap: wrap;
}
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #0a0a0b;
  background: linear-gradient(135deg, #3a3a42, #15151a) center / cover no-repeat;
  margin-left: -10px;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof-text {
  display: flex; flex-direction: column; align-items: flex-start;
  font-size: 13px; color: var(--muted); line-height: 1.3; text-align: left;
}
.stars { color: #e7c06a; letter-spacing: 2px; font-size: 12px; }

/* Entrada em fade-up */
.reveal { opacity: 0; animation: reveal 0.7s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Logo LCX (PNG com transparência real) */
.brand-logo {
  display: block;
  width: 60px; height: 28px;
  background: url("../assets/lcx-logo.png") center / contain no-repeat;
}
.footer-logo { width: 118px; height: 54px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
  .hero__glow, .hero__rays, .hero__scrub::after, .hl { animation: none; }
}

/* ===================== PROVA SOCIAL ===================== */
.trust { padding: 56px 0; border-bottom: 1px solid var(--border); }
.trust__label {
  text-align: center; color: var(--text);
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: -0.01em; line-height: 1.4; margin: 0 0 28px;
}
.clients {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  column-gap: 32px;
  row-gap: 28px;
}
.client { display: flex; align-items: center; gap: 10px; }
.client__photo {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.client__info { text-align: left; line-height: 1.25; }
.client__name {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 4px;
}
.client__role { margin: 2px 0 0; font-size: 12px; color: var(--faint); }
.verified {
  width: 14px; height: 14px; color: #4da3ff; flex-shrink: 0;
}

/* ===================== TRANSIÇÃO ===================== */
.intro { padding: 120px 0 48px; scroll-margin-top: 80px; }
.section__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0;
}
.section__sub { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 54ch; }

/* ===================== FORMULÁRIO ===================== */
.formwrap { padding: 0 0 140px; }
.formcard {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Progresso */
.progress { margin-bottom: 36px; }
.progress__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
}
.progress__title { color: var(--text); font-weight: 500; }
.progress__track {
  height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress__fill {
  height: 100%; width: 20%; border-radius: 99px; background: var(--white);
  transition: width 0.45s var(--ease);
}

/* Steps */
.step { display: none; }
.step.is-active { display: block; animation: stepIn 0.32s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step__head { margin-bottom: 28px; }
.step__index {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint);
}
.step__title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 10px 0 6px;
}
.step__desc { color: var(--muted); font-size: 15px; margin: 0; }

/* Campos */
.field { margin-bottom: 24px; }
.field label {
  display: block; font-size: 14px; font-weight: 500; margin-bottom: 10px;
}
.field__note { color: var(--faint); font-weight: 400; }
.req { color: var(--muted); margin-left: 2px; }

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field textarea:focus {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.field input.has-error,
.field textarea.has-error { border-color: rgba(255, 106, 106, 0.6); }

.field__hint { color: var(--faint); font-size: 13px; margin: 8px 0 0; }
.field__err {
  color: var(--err); font-size: 13px; margin: 8px 0 0; min-height: 0;
}
.field__err:empty { margin: 0; }
.field__err--center { text-align: center; }

/* Cards de opção */
.cards { display: flex; flex-direction: column; gap: 10px; }
.cards--grid { display: grid; grid-template-columns: 1fr 1fr; }
.cards--lg .opt { padding: 20px 18px; font-size: 16px; }

.opt {
  position: relative;
  text-align: left;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 44px 15px 16px;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease),
    transform 0.12s var(--ease);
}
.opt:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.045); }
.opt:active { transform: scale(0.994); }
.opt::after {
  content: "";
  position: absolute; top: 50%; right: 15px; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  transition: all 0.16s var(--ease);
}
.cards[data-mode="multi"] .opt::after { border-radius: 5px; }
.opt.is-selected {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}
.opt.is-selected::after {
  background: var(--white); border-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Navegação do form */
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.nav-row #btn-next, .nav-row #btn-submit { margin-left: auto; }

/* Revisão */
.review { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.review__item { background: var(--panel-2); padding: 16px 18px; }
.review__item--full { grid-column: 1 / -1; }
.review__k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
.review__v { font-size: 15px; color: var(--text); margin: 0; word-break: break-word; }
.privacy { color: var(--muted); font-size: 14px; margin: 24px 0 0; text-align: center; line-height: 1.6; }

/* ===================== PÁGINA DE OBRIGADO ===================== */
.thanks {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.thanks__logo { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.thanks__inner { position: relative; z-index: 2; max-width: 560px; }
.privacy--last { margin-top: 28px; }

/* ===================== SUCESSO ===================== */
.success { text-align: center; padding: 28px 0 12px; animation: stepIn 0.4s var(--ease); }
.success__check {
  width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #09090b; background: var(--white);
}
.success__check svg { width: 30px; height: 30px; }
.success__title { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 14px; }
.success__text { color: var(--muted); max-width: 46ch; margin: 0 auto 32px; line-height: 1.6; }

/* ===================== RODAPÉ ===================== */
.footer { border-top: 1px solid var(--border); padding: 72px 0 36px; }
.footer__top { display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.footer__logo { font-size: 22px; }
.footer__tag { color: var(--muted); font-size: 15px; max-width: 34ch; margin: 16px 0 0; line-height: 1.55; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; color: var(--faint); margin: 0 0 4px; font-weight: 600; letter-spacing: 0.04em; }
.footer__col a { font-size: 14px; color: var(--muted); transition: color 0.16s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer__legal a:hover { color: var(--text); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { padding: 108px 0 60px; }
  .intro { padding: 72px 0 40px; }
  .formcard { padding: 24px 20px; }
  .cards--grid { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, auto); }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__cols { gap: 40px; }
  .footer-logo { width: 72px; height: 33px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 14px 20px; }
  .btn { padding: 11px 16px; }
  .step__title { font-size: 22px; }
  .nav-row { flex-wrap: wrap; }
}

/* ===================== PÁGINA DE SERVIÇOS ===================== */
.nav__links a[aria-current="page"] { color: var(--text); }

.page-head {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 140px 0 12px;
}
.page-head .container { position: relative; z-index: 2; }
.page-head__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 16px auto 0;
  max-width: 18ch;
}
.page-head__sub {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  margin: 20px auto 0;
  max-width: 56ch;
}

.services { padding: 52px 0 40px; }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    background 0.2s var(--ease);
}
.svc-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.svc-card__num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.svc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--white);
  margin-bottom: 22px;
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.svc-card__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.svc-card__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.svc-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.svc-card__list span {
  font-size: 12.5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 12px;
}

.svc-cta {
  margin-top: 28px;
  text-align: center;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
}
.svc-cta h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}
.svc-cta p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 14px auto 28px;
  max-width: 46ch;
}
.svc-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) {
  .page-head { padding: 116px 0 4px; }
  .services { padding: 40px 0 32px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 26px; }
  .svc-cta { padding: 38px 24px; }
}
