/* ════════════════════════════════════════════════════════════════════════
   Ernesto — landing (v2, layout portado do ernesto-fable welcome.tsx)
   Preto/branco/cinza + gradients suaves; Aktiv Grotesk (Typekit) com
   fallback BasierSquare. Sem build step — CSS escrito à mão.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --lp-font: 'aktiv-grotesk', 'BasierSquare', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --lp-ink: #09090b;
  --lp-text: #33333a;
  --lp-muted: #5c5c64;
  --lp-line: #ececee;
  --lp-line-strong: #e4e4e7;
  --lp-dark: #18181b;
  --lp-ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.lp {
  font-family: var(--lp-font);
  color: #111113;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.lp ::selection { background: var(--lp-dark); color: #fff; }
.lp a { color: inherit; text-decoration: none; }
.lp button { font-family: inherit; cursor: pointer; }
.lp img { max-width: 100%; display: block; }

.lp-container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Scroll reveals ─────────────────────────────────────────────────────── */
.lp-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--lp-ease), transform .8s var(--lp-ease);
  transition-delay: var(--d, 0s);
}
.lp-reveal.is-visible { opacity: 1; transform: none; }

/* ── Botões ─────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  padding: .875rem 1.5rem;
  transition: transform .25s var(--lp-ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--dark { background: var(--lp-dark); color: #fff; }
.lp-btn--dark:hover { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.lp-btn--ghost { background: #fff; color: var(--lp-dark); border: 1px solid var(--lp-line-strong); }
.lp-btn--ghost:hover { border-color: #c9c9ce; }
.lp-btn--small { font-size: 14.5px; padding: .5rem 1rem; border-radius: 8px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.lp-header.is-scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.lp-nav {
  max-width: 1140px;
  margin: 0 auto;
  height: 64px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo { display: flex; align-items: center; gap: .625rem; }
.lp-logo__mark {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--lp-dark);
  color: #fff;
  font-size: 16px; font-weight: 600;
}
.lp-logo__name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.lp-nav__links { display: none; align-items: center; gap: 2rem; font-size: 14.5px; font-weight: 500; color: var(--lp-text); }
.lp-nav__links a { transition: color .2s; }
.lp-nav__links a:hover { color: var(--lp-dark); }
@media (min-width: 768px) { .lp-nav__links { display: flex; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; margin-top: -64px; overflow: hidden; }
.lp-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lp-hero__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 70%, #fff 98%); }

.lp-blob { position: absolute; border-radius: 9999px; filter: blur(80px); will-change: transform; }
.lp-blob--1 { width: 820px; height: 820px; left: -180px; top: -160px; background: radial-gradient(circle, rgba(255,150,92,.8), transparent 66%); animation: lpDrift1 16s ease-in-out infinite; }
.lp-blob--2 { width: 900px; height: 900px; right: -220px; top: -120px; background: radial-gradient(circle, rgba(158,120,255,.75), transparent 66%); animation: lpDrift2 19s ease-in-out infinite; }
.lp-blob--3 { width: 680px; height: 680px; left: 28%; top: 120px; background: radial-gradient(circle, rgba(80,214,170,.6), transparent 66%); animation: lpDrift1 22s ease-in-out infinite reverse; }
.lp-blob--4 { width: 700px; height: 700px; left: -120px; top: 55%; background: radial-gradient(circle, rgba(255,170,120,.45), transparent 66%); animation: lpDrift2 24s ease-in-out infinite reverse; }
.lp-blob--p1 { width: 780px; height: 780px; left: -220px; top: -160px; background: radial-gradient(circle, rgba(255,150,92,.5), transparent 66%); animation: lpDrift2 21s ease-in-out infinite; }
.lp-blob--p2 { width: 860px; height: 860px; right: -260px; top: 8%; background: radial-gradient(circle, rgba(158,120,255,.45), transparent 66%); animation: lpDrift1 18s ease-in-out infinite reverse; }
.lp-blob--p3 { width: 660px; height: 660px; left: 32%; bottom: -240px; background: radial-gradient(circle, rgba(80,214,170,.4), transparent 66%); animation: lpDrift1 24s ease-in-out infinite; }
@keyframes lpDrift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, -45px) scale(1.12); } }
@keyframes lpDrift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 50px) scale(1.07); } }

.lp-hero__grid {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  min-height: 100svh;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  align-content: center;
}
@media (min-height: 950px) { .lp-hero__grid { min-height: 76svh; } }
@media (min-width: 1024px) { .lp-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .375rem .875rem;
  border: 1px solid var(--lp-line-strong);
  border-radius: 9999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-text);
}
.lp-badge__dot { position: relative; width: 8px; height: 8px; }
.lp-badge__dot::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: #34d399;
  opacity: .6;
  animation: lpPing 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.lp-badge__dot::after { content: ''; position: absolute; inset: 0; border-radius: 9999px; background: #10b981; }
@keyframes lpPing { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.lp-h1 {
  font-size: 54px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
}
@media (min-width: 640px) { .lp-h1 { font-size: 70px; } }
.lp-hero__sub { margin-top: 1.5rem; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--lp-text); }

/* notify form (hero + CTA final) — campo e botão colados, como um único controlo */
.lp-mailform { margin-top: 2.25rem; }
.lp-mailform__row {
  display: flex;
  align-items: stretch;
  gap: .375rem;
  max-width: 560px;
  padding: 6px;
  border: 1px solid var(--lp-line-strong);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s;
}
.lp-mailform__row:focus-within { border-color: #a1a1a6; }
.lp-mailform input[type='email'] {
  flex: 1;
  min-width: 0;
  padding: .625rem 1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--lp-ink);
  outline: none;
}
.lp-mailform input[type='email']::placeholder { color: #a1a1a6; }
.lp-mailform .lp-btn { white-space: nowrap; border-radius: 9px; padding: .75rem 1.25rem; }
.lp-mailform .lp-btn:hover { transform: none; }
@media (max-width: 560px) {
  .lp-mailform__row { flex-wrap: wrap; }
  .lp-mailform input[type='email'] { flex: 1 1 100%; }
  .lp-mailform .lp-btn { flex: 1 1 100%; }
}
.lp-mailform .lp-feedback { display: none; margin-top: .625rem; font-size: 14px; color: var(--lp-muted); }
.lp-hero__note { margin-top: 1.25rem; font-size: 14px; color: var(--lp-muted); }

/* hero chat (animação em loop de 16s) */
.lp-chat {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--lp-line-strong);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 60px -24px rgba(0,0,0,.28);
}
.lp-chat__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: var(--lp-dark);
}
.lp-chat__avatar {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 14px; font-weight: 600;
}
.lp-chat__name { font-size: 14.5px; font-weight: 600; color: #fff; }
.lp-chat__status { display: flex; align-items: center; gap: .375rem; font-size: 11px; color: rgba(255,255,255,.6); }
.lp-chat__status i { width: 6px; height: 6px; border-radius: 9999px; background: #34d399; }
.lp-chat__messages {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 380px;
  background: #fafafa;
  padding: 1.25rem 1rem;
  font-size: 14.5px;
  line-height: 1.55;
}
.lp-chat .bubble { max-width: 85%; padding: .625rem .875rem; border-radius: 16px; }
.lp-chat .bubble--bot { align-self: flex-start; border-top-left-radius: 6px; border: 1px solid var(--lp-line); background: #fff; color: #222226; }
.lp-chat .bubble--user { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--lp-dark); color: #fff; }
.lp-chat .bubble__tool {
  display: flex; align-items: center; gap: .375rem;
  margin-bottom: .25rem;
  font-size: 11px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: #8f8f94;
}
.lp-chat__composer {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid #f0f0f1;
  background: #fff;
}
.lp-chat__composer input {
  flex: 1;
  padding: .5rem 1rem;
  border: 1px solid #e9e9eb;
  border-radius: 9999px;
  background: #fafafa;
  font-family: inherit;
  font-size: 13px;
  color: #222226;
  outline: none;
  cursor: pointer;
}
.lp-chat__composer input::placeholder { color: #a1a1a6; }
.lp-chat__send {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 9999px;
  background: var(--lp-dark); color: #fff;
}

/* bolhas animadas — cada uma entra UMA vez; o JS reinicia o guião completo
   no fim do ciclo (sem o "piscar" de loops desfasados) */
@keyframes lpBubbleIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lpDotsOnce { 0%, 100% { opacity: 0; } 15%, 85% { opacity: 1; } }
.lp-b { opacity: 0; animation: lpBubbleIn .45s var(--lp-ease) forwards; animation-delay: var(--t); will-change: opacity, transform; }
.lp-dots { opacity: 0; animation: lpDotsOnce 1.9s forwards; animation-delay: var(--t); display: flex; gap: .25rem; align-self: flex-start; border: 1px solid var(--lp-line); background: #fff; border-radius: 16px; padding: .75rem .875rem; }
.lp-chat__messages.is-resetting .lp-b,
.lp-chat__messages.is-resetting .lp-dots { animation: none; }
.lp-dots i { width: 5px; height: 5px; border-radius: 99px; background: #a1a1aa; display: inline-block; animation: lpBlink 1.1s infinite; }
.lp-dots i:nth-child(2) { animation-delay: .18s; }
.lp-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes lpBlink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.lp-overlap { margin-top: -45px; }

/* ── Secções genéricas ──────────────────────────────────────────────────── */
.lp-section { padding: 6rem 0; }
.lp-section__head { max-width: 640px; margin: 0 auto; text-align: center; }
.lp-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111113;
}
.lp-eyebrow--light { color: #fff; }
.lp-h2 {
  margin-top: .75rem;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
}
@media (min-width: 640px) { .lp-h2 { font-size: 52px; } }
.lp-section__sub { margin-top: 1rem; font-size: 17px; line-height: 1.65; color: var(--lp-text); }

/* ── Como funciona (step cards pastel) ──────────────────────────────────── */
.lp-steps { margin-top: 4rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-step { border-radius: 16px; border: 1px solid; padding: 2rem; }
.lp-step--1 { background: #f8e3ee; border-color: #eccadd; }
.lp-step--2 { background: #faf0b8; border-color: #e6d98f; }
.lp-step--3 { background: #cdebd3; border-color: #abd8b6; }
.lp-step svg { height: 88px; width: 100%; }
.lp-step__title {
  margin-top: 1.5rem;
  display: flex; align-items: baseline; gap: .625rem;
  font-size: 21px; font-weight: 500;
  color: var(--lp-ink);
}
.lp-step__num { font-size: 14px; font-weight: 600; color: var(--lp-muted); }
.lp-step__body { margin-top: .625rem; font-size: 15.5px; line-height: 1.65; color: var(--lp-text); }

/* animações de linha SVG */
@keyframes lpDash { to { stroke-dashoffset: -56; } }
.lp-dash { stroke-dasharray: 3 5; animation: lpDash 2.6s linear infinite; }
.lp-dash--slow { stroke-dasharray: 2 6; animation: lpDash 4s linear infinite; }
@keyframes lpPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lp-pulse { animation: lpPulse 2.2s ease-in-out infinite; }
@keyframes lpRing { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.lp-ring { transform-origin: center; animation: lpRing 2.8s var(--lp-ease) infinite; }
.lp-ring--d { animation-delay: 1.4s; }

/* ── Screenshot (sem caixas negras) ─────────────────────────────────────── */
.lp-shot-section { background: #f9f9f9; padding-top: 6rem; }
.lp-shot-section .lp-section__head { max-width: 680px; }
.lp-shot { max-width: 980px; margin: 3.5rem auto 0; }
.lp-frame { box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 60px -24px rgba(0,0,0,.28); }
.lp-shot__frame {
  overflow: hidden;
  border: 1px solid var(--lp-line-strong);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: #fff;
}
.lp-shot__bar {
  display: flex; align-items: center; gap: .375rem;
  padding: .625rem 1rem;
  border-bottom: 1px solid var(--lp-line);
  background: #fafafa;
}
.lp-shot__bar i { width: 10px; height: 10px; border-radius: 9999px; background: var(--lp-line-strong); }
.lp-shot__url {
  margin: 0 auto;
  padding: .125rem 1.5rem;
  border-radius: 6px;
  background: #fff;
  font-size: 10.5px;
  color: #a1a1a6;
}

/* ── Funcionalidades (secção escura) ────────────────────────────────────── */
.lp-features-section { background: #09090b; padding: 6rem 0; }
.lp-features-section .lp-h2 { color: #fff; }
.lp-features {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.1);
}
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { background: #09090b; padding: 2rem; transition: background .2s; }
.lp-feature:hover { background: #101013; }
.lp-feature__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: #fff;
  transition: background .2s, border-color .2s, color .2s;
}
.lp-feature:hover .lp-feature__icon { background: #fff; border-color: #fff; color: #09090b; }
.lp-feature__title { margin-top: 1.25rem; font-size: 18px; font-weight: 600; color: #fff; }
.lp-feature__body { margin-top: .5rem; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.55); }

/* ── Deck "O painel" (stacked sheets) ───────────────────────────────────── */
.lp-deck-section { background: #f9f9f9; padding: 6rem 0; }
.lp-deck { max-width: 980px; margin: 3.5rem auto 0; }
.lp-sheet {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--lp-line);
  background: #fff;
  transition: margin .5s var(--lp-ease), opacity .5s, transform .5s var(--lp-ease);
}
.lp-sheet.is-open { position: relative; z-index: 10; border-color: var(--lp-line-strong); }
.lp-sheet__bar {
  display: flex; align-items: center; gap: .75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  background: none;
  text-align: left;
}
.lp-sheet__diamond { width: 12px; height: 12px; flex-shrink: 0; border-radius: 3px; transform: rotate(45deg); }
.lp-sheet__title { font-size: 18px; font-weight: 600; color: #44444b; }
.lp-sheet.is-open .lp-sheet__title { color: var(--lp-ink); }
.lp-sheet__chev { margin-left: auto; color: #c9c9ce; }
.lp-sheet.is-open .lp-sheet__chev { display: none; }
.lp-sheet-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--lp-ease); }
.lp-sheet-panel > div { overflow: hidden; }
.lp-sheet.is-open .lp-sheet-panel { grid-template-rows: 1fr; }
.lp-sheet__content {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: .5rem 1.5rem 2rem;
}
@media (min-width: 640px) { .lp-sheet__content { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .lp-sheet__content { grid-template-columns: .85fr 1.15fr; gap: 3rem; } }
.lp-sheet__heading {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
}
@media (min-width: 640px) { .lp-sheet__heading { font-size: 34px; } }
.lp-sheet__body { margin-top: 1rem; max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--lp-text); }
.lp-sheet__visual { border-radius: 12px; border: 1px solid; padding: 1.25rem; }
@media (min-width: 640px) { .lp-sheet__visual { padding: 1.75rem; } }
.lp-sheet__visual svg { display: block; width: 100%; }

/* ── Preços ─────────────────────────────────────────────────────────────── */
.lp-pricing-section { position: relative; overflow: hidden; padding: 6rem 0; }
.lp-pricing-section__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lp-pricing-section__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, #fff 0%, transparent 22%, transparent 78%, #fff 100%); }
.lp-pricing-section .lp-container { position: relative; }
.lp-plans { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .lp-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-plans { grid-template-columns: repeat(4, 1fr); } }
.lp-plan {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--lp-line);
  background: #fff;
  padding: 1.75rem;
}
.lp-plan--highlight { border-color: var(--lp-dark); background: var(--lp-dark); color: #fff; }
.lp-plan__name { font-size: 16px; font-weight: 600; color: var(--lp-ink); }
.lp-plan--highlight .lp-plan__name { color: #fff; }
.lp-plan__popular {
  margin-left: .5rem;
  padding: .125rem .5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.15);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lp-plan__price {
  margin-top: 1rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem;
  font-size: 38px; font-weight: 600; letter-spacing: -0.02em;
}
.lp-plan__detail { font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--lp-muted); }
.lp-plan--highlight .lp-plan__detail { color: rgba(255,255,255,.6); }
.lp-plan__features { margin-top: 1.5rem; flex: 1; list-style: none; display: flex; flex-direction: column; gap: .625rem; font-size: 14.5px; color: var(--lp-text); }
.lp-plan--highlight .lp-plan__features { color: rgba(255,255,255,.85); }
.lp-plan__features li { display: flex; align-items: flex-start; gap: .625rem; }
.lp-plan__features svg { margin-top: 2px; flex-shrink: 0; color: var(--lp-dark); }
.lp-plan--highlight .lp-plan__features svg { color: #34d399; }
.lp-plan .lp-btn { margin-top: 2rem; text-align: center; font-size: 15px; padding: .75rem 1rem; }
.lp-plan--highlight .lp-btn--dark { background: #fff; color: var(--lp-dark); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.lp-faq-section { border-top: 1px solid #f0f0f1; background: #fafafa; padding: 6rem 0; }
.lp-faq-section .lp-container { max-width: 760px; }
.lp-faq { margin-top: 3rem; display: flex; flex-direction: column; gap: .75rem; }
.lp-faq details { border-radius: 12px; border: 1px solid var(--lp-line); background: #fff; padding: .25rem 1.5rem; }
.lp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  font-size: 16px; font-weight: 600;
  color: var(--lp-dark);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-chev { flex-shrink: 0; color: var(--lp-muted); transition: transform .3s var(--lp-ease); }
.lp-faq details[open] .lp-chev { transform: rotate(45deg); }
.lp-faq details p { padding-bottom: 1.25rem; font-size: 15.5px; line-height: 1.7; color: var(--lp-text); }

/* ── CTA final ──────────────────────────────────────────────────────────── */
.lp-cta { background: #09090b; padding: 6rem 0; color: #fff; }
.lp-cta .lp-container { max-width: 1000px; text-align: center; }
.lp-cta__title { font-size: 46px; line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; }
@media (min-width: 640px) { .lp-cta__title { font-size: 56px; } }
.lp-cta__sub { margin-top: 1.25rem; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.6); }
.lp-cta .lp-mailform { max-width: 560px; margin-left: auto; margin-right: auto; }
.lp-cta .lp-mailform__row { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
.lp-cta .lp-mailform__row:focus-within { border-color: rgba(255,255,255,.45); }
.lp-cta .lp-mailform input[type='email'] { color: #fff; }
.lp-cta .lp-mailform input[type='email']::placeholder { color: rgba(255,255,255,.4); }
.lp-cta .lp-mailform .lp-btn--dark { background: #fff; color: #09090b; }
.lp-cta .lp-mailform .lp-feedback { color: rgba(255,255,255,.8); }
.lp-cta__note { margin-top: 1rem; font-size: 14px; color: rgba(255,255,255,.4); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.lp-footer { border-top: 1px solid rgba(255,255,255,.1); background: #09090b; padding: 2.5rem 0; color: #fff; }
.lp-footer .lp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) { .lp-footer .lp-container { flex-direction: row; } }
.lp-footer__brand { display: flex; align-items: center; gap: .625rem; }
.lp-footer__mark {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #fff; color: #09090b;
  font-size: 14px; font-weight: 600;
}
.lp-footer__name { font-size: 16px; font-weight: 600; }
.lp-footer__copy { font-size: 13px; color: rgba(255,255,255,.4); }
.lp-footer__links { display: flex; align-items: center; gap: 1.5rem; font-size: 14px; color: rgba(255,255,255,.6); }
.lp-footer__links a { transition: color .2s; }
.lp-footer__links a:hover { color: #fff; }

/* ── Modal de contacto / agendar demo ───────────────────────────────────── */
.lp-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.5);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.lp-modal-overlay.open { display: flex; }
.lp-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  animation: lpSlideUp .2s ease;
}
@keyframes lpSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lp-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.3rem; line-height: 1;
  color: #9ca3af;
}
.lp-modal__title { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; color: var(--lp-ink); }
.lp-modal__sub { margin: 10px 0 1.5rem; font-size: .9rem; color: var(--lp-muted); }
.lp-modal form { display: flex; flex-direction: column; gap: 1rem; }
.lp-modal label { display: block; margin-bottom: .35rem; font-size: .8rem; font-weight: 500; color: #374151; }
.lp-modal label span { color: #9ca3af; font-weight: 400; }
.lp-modal input, .lp-modal textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.lp-modal input:focus, .lp-modal textarea:focus { border-color: var(--lp-dark); }
.lp-modal textarea { resize: vertical; }
.lp-modal .lp-feedback { display: none; font-size: .9rem; padding: .6rem .9rem; border-radius: 8px; }

/* ── Widget de chat (mantido como estava) ───────────────────────────────── */
#chatWidgetBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: #18181b;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .75rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background .15s, transform .15s;
}
#chatWidgetBtn:hover { background: #2d2d4e; transform: translateY(-2px); }

#chatWidgetOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.45);
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.5rem;
}
#chatWidgetOverlay.open { display: flex; }

#chatWidgetPanel {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 600px;
  max-height: calc(100vh - 3rem);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  animation: lpSlideUp .2s ease;
}
#chatWidgetPanel iframe { flex: 1; min-height: 0; border: none; width: 100%; display: block; }
.widget-header { display: none; }

@media (max-width: 480px) {
  #chatWidgetOverlay { padding: 0; align-items: stretch; background: transparent; height: 100dvh; }
  #chatWidgetPanel { max-width: 100%; width: 100%; height: 100%; max-height: 100%; border-radius: 0; box-shadow: none; }
  #chatWidgetPanel iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; flex: none; }
  #chatWidgetBtn { bottom: 1rem; right: 1rem; }
}

/* ── Movimento reduzido ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lp-reveal { opacity: 1; transform: none; }
  .lp-b, .lp-dots { opacity: 1; }
}
