/* ================================================================
   Engineering on Web CAD — Landing page stylesheet (independente do app).
   O app (app.php) usa assets/styles.css; a landing usa só este arquivo
   para não herdar `html,body{overflow:hidden}` e o tema do workspace.
   ================================================================ */

:root {
  --lp-bg: #070b16;
  --lp-bg-2: #0b1020;
  --lp-bg-3: #111a2e;
  --lp-card: rgba(17, 26, 46, 0.72);
  --lp-card-hover: rgba(24, 36, 62, 0.9);
  --lp-line: rgba(255, 255, 255, 0.08);
  --lp-line-strong: rgba(255, 255, 255, 0.16);
  --lp-fg: #f4f6fb;
  --lp-fg-2: #aab4c8;
  --lp-fg-3: #6f7a92;
  --lp-accent: #38bdf8;
  --lp-accent-2: #6366f1;
  --lp-accent-3: #c084fc;
  --lp-ok: #34d399;
  --lp-grad: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #6366f1 100%);
  --lp-radius: 16px;
  --lp-radius-sm: 10px;
  --lp-max: 1200px;
  --lp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lp-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body.lp-body {
  margin: 0;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-fg);
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
code { font-family: var(--lp-mono); font-size: 0.92em; background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lp-skip {
  position: absolute; top: -60px; left: 16px; z-index: 1000;
  background: var(--lp-accent); color: #04121f; padding: 10px 14px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.lp-skip:focus { top: 12px; }

/* ---------------------------------------------------------------- Header */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-header-inner {
  max-width: 1360px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-img { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45)); }
.lp-brand-title {
  font-size: 20px; font-weight: 800; letter-spacing: -0.4px;
  background: linear-gradient(135deg, #7dd3fc 0%, #a5b4fc 60%, #d8b4fe 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-version-badge {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.16); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.35);
  white-space: nowrap;
}
.lp-nav { display: flex; align-items: center; gap: 18px; }
.lp-nav-link { color: var(--lp-fg-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; white-space: nowrap; }
@media (max-width: 1400px) { .lp-nav { gap: 12px; } .lp-nav-link { font-size: 13px; } .lp-version-badge { display: none; } }
.lp-nav-link:hover, .lp-nav-link:focus-visible { color: var(--lp-accent); }
.lp-lang-wrap { display: inline-flex; }
.lp-lang-select {
  background: rgba(17, 26, 46, 0.9); color: var(--lp-fg); border: 1px solid var(--lp-line-strong);
  border-radius: 8px; padding: 7px 10px; font-size: 13px; font-family: inherit; cursor: pointer;
}
.lp-nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--lp-line-strong); border-radius: 10px;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.lp-nav-toggle span { width: 20px; height: 2px; background: var(--lp-fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-size: 15px; font-weight: 700; border-radius: 12px;
  cursor: pointer; text-decoration: none; border: 1px solid transparent; font-family: inherit;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.lp-btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.lp-btn.lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.lp-btn.primary { background: var(--lp-grad); color: #fff; box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35); }
.lp-btn.primary:hover, .lp-btn.primary:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37, 99, 235, 0.5); }
.lp-btn.outline { background: rgba(17, 26, 46, 0.6); color: var(--lp-fg); border-color: var(--lp-line-strong); }
.lp-btn.outline:hover, .lp-btn.outline:focus-visible { border-color: var(--lp-accent); transform: translateY(-2px); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- Hero */
.lp-hero { position: relative; overflow: hidden; padding: 72px 24px 56px; }
.lp-hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(56, 189, 248, 0.18) 0%, transparent 60%),
    radial-gradient(50% 45% at 85% 20%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
    radial-gradient(40% 40% at 60% 90%, rgba(192, 132, 252, 0.10) 0%, transparent 60%);
}
.lp-hero-grid {
  position: relative; max-width: var(--lp-max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.lp-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--lp-accent);
  background: rgba(56, 189, 248, 0.10); border: 1px solid rgba(56, 189, 248, 0.30);
}
.lp-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-accent); box-shadow: 0 0 10px var(--lp-accent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .6; } }
.lp-hero-title {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -1.2px;
  background: linear-gradient(180deg, #ffffff 0%, #c7d2e6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero-desc { font-size: clamp(16px, 1.4vw, 18px); color: var(--lp-fg-2); max-width: 58ch; }
.lp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-hero-stats {
  display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 8px; padding-top: 22px;
  border-top: 1px solid var(--lp-line);
}
.lp-stat { display: flex; flex-direction: column; }
.lp-stat-val { font-size: 22px; font-weight: 800; color: var(--lp-accent); line-height: 1.1; }
.lp-stat-lbl { font-size: 12px; color: var(--lp-fg-3); font-weight: 500; }

.lp-hero-visual { position: relative; }
.lp-shot {
  position: relative; margin: 0; border-radius: var(--lp-radius); overflow: visible;
  background: #0b1020; border: 1px solid var(--lp-line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(56, 189, 248, 0.14);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.lp-shot:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.lp-shot-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: #0f172a; border-bottom: 1px solid var(--lp-line); border-radius: var(--lp-radius) var(--lp-radius) 0 0;
}
.lp-dots { display: flex; gap: 6px; }
.lp-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.lp-dots i:nth-child(1) { background: #ef4444; } .lp-dots i:nth-child(2) { background: #f59e0b; } .lp-dots i:nth-child(3) { background: #10b981; }
.lp-shot-url { font-family: var(--lp-mono); font-size: 12px; color: var(--lp-fg-3); }
.lp-shot picture img { width: 100%; height: auto; border-radius: 0 0 var(--lp-radius) var(--lp-radius); }
.lp-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(11, 16, 32, 0.92); border: 1px solid var(--lp-line-strong); color: var(--lp-fg);
  box-shadow: 0 10px 30px rgba(0,0,0,.45); backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
.lp-chip-a { top: 56px; left: -18px; }
.lp-chip-b { bottom: 70px; right: -14px; animation-delay: -1.5s; }
.lp-chip-c { bottom: -14px; left: 40px; animation-delay: -3s; border-color: rgba(192,132,252,.5); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------------------------------------------------------------- Strip */
.lp-strip {
  max-width: var(--lp-max); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line);
}
.lp-strip-label, .lp-strip-note { font-size: 13px; color: var(--lp-fg-3); font-weight: 500; }
.lp-strip-list { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.lp-strip-list li { font-weight: 700; color: var(--lp-fg-2); letter-spacing: .2px; font-size: 14px; opacity: .85; }

/* ---------------------------------------------------------------- Sections */
.lp-section { max-width: var(--lp-max); margin: 0 auto; padding: 88px 24px; }
.lp-section-alt { position: relative; }
.lp-section-alt::before {
  content: ""; position: absolute; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0)); pointer-events: none; z-index: -1;
  border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line);
}
.lp-section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.lp-section-tag {
  display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--lp-accent);
}
.lp-section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; line-height: 1.15; }
.lp-section-head p { font-size: 17px; color: var(--lp-fg-2); }

/* Workflow */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.lp-step {
  position: relative; padding: 32px 26px 28px; border-radius: var(--lp-radius);
  background: var(--lp-card); border: 1px solid var(--lp-line);
  display: flex; flex-direction: column; gap: 14px;
}
.lp-step-num {
  position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: rgba(56,189,248,.12); color: var(--lp-accent); border: 1px solid rgba(56,189,248,.35);
}
.lp-step-icon { width: 56px; height: 56px; color: var(--lp-accent); border-radius: 14px; padding: 8px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); }
.lp-step h3 { font-size: 20px; font-weight: 700; }
.lp-step p { color: var(--lp-fg-2); font-size: 15px; }

/* Feature cards */
.lp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-card {
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s, box-shadow .3s;
}
.lp-card:hover { transform: translateY(-5px); background: var(--lp-card-hover); border-color: rgba(56,189,248,.4); box-shadow: 0 24px 48px -20px rgba(0,0,0,.7); }
.lp-card-icon { font-size: 28px; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(56,189,248,.10); border: 1px solid rgba(56,189,248,.25); }
.lp-card h3 { font-size: 19px; font-weight: 700; }
.lp-card p { font-size: 15px; color: var(--lp-fg-2); }

/* Tools */
.lp-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.lp-tool {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--lp-radius-sm);
  background: rgba(17, 26, 46, 0.45); border: 1px solid var(--lp-line); transition: border-color .2s, background .2s;
}
.lp-tool:hover { border-color: rgba(99,102,241,.5); background: var(--lp-card); }
.lp-tool-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: rgba(99,102,241,.14); color: #c7d2fe; border: 1px solid rgba(99,102,241,.3); }
.lp-tool h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.lp-tool p { font-size: 14px; color: var(--lp-fg-2); }
.lp-tools-cta { text-align: center; margin-top: 36px; }

/* AI */
.lp-ai { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lp-ai-copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.6px; margin: 4px 0 12px; }
.lp-ai-copy > p { color: var(--lp-fg-2); font-size: 17px; margin-bottom: 22px; }
.lp-ai-list { display: flex; flex-direction: column; gap: 12px; }
.lp-ai-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-left: 3px solid var(--lp-accent-3); background: rgba(192,132,252,.06); border-radius: 0 10px 10px 0; }
.lp-ai-list strong { font-size: 15px; }
.lp-ai-list span { font-size: 14px; color: var(--lp-fg-2); }
.lp-ai-demo {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--lp-radius);
  background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.lp-ai-msg { max-width: 92%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.lp-ai-msg.user { align-self: flex-end; background: var(--lp-grad); color: #fff; border-bottom-right-radius: 4px; }
.lp-ai-msg.bot { align-self: flex-start; display: flex; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--lp-line); border-bottom-left-radius: 4px; }
.lp-ai-spark { font-size: 18px; }
.lp-ai-ops { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-family: var(--lp-mono); font-size: 12px; color: var(--lp-ok); }
.lp-ai-ops .is-running { color: var(--lp-accent); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* Formats */
.lp-formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-format {
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 26px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.lp-format:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.5); }
.lp-format-badge { align-self: flex-start; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(99,102,241,.14); color: #c7d2fe; border: 1px solid rgba(99,102,241,.3); }
.lp-format h3 { font-size: 18px; font-weight: 700; }
.lp-format p { font-size: 14px; color: var(--lp-fg-2); flex: 1; }
.lp-format-io { font-size: 12px; font-weight: 700; color: var(--lp-ok); letter-spacing: .3px; }

/* FAQ */
.lp-faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 14px; overflow: hidden; }
.lp-faq-item[open] { border-color: rgba(56,189,248,.4); }
.lp-faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; user-select: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; font-size: 22px; color: var(--lp-accent); line-height: 1; transition: transform .2s; }
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item p { padding: 0 22px 20px; font-size: 15px; color: var(--lp-fg-2); }

/* Engineering on Web FEA (simulador FEM em ../fea/): cartao de produto irmao.
   Com o link a mais no menu, o nome do produto nao quebra linha: quem cede
   espaco e o selo de novidade, que encolhe com reticencias. */
.lp-brand { min-width: 0; }
.lp-brand-title { white-space: nowrap; }
.lp-version-badge { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1101px) { .lp-nav { flex-shrink: 0; } }
@media (min-width: 1401px) { .lp-nav { gap: 14px; } }
.lp-nav-fem { display: inline-flex; align-items: center; gap: 6px; }
.lp-nav-fem img { width: 18px; height: 18px; border-radius: 4px; }
.lp-fem-wrap { padding-top: 24px; }
.lp-fem {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 32px; border-radius: 22px; background: var(--lp-card);
  border: 1px solid rgba(60, 199, 180, 0.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.lp-fem-logo { width: 72px; height: 72px; border-radius: 16px; }
.lp-fem-copy h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-bottom: 10px; }
.lp-fem-copy p { color: var(--lp-fg-2); font-size: 15.5px; max-width: 64ch; }
.lp-fem-copy .lp-section-tag { color: #3cc7b4; margin-bottom: 8px; }
.lp-fem-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-fem-chips li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(60, 199, 180, 0.10); border: 1px solid rgba(60, 199, 180, 0.28); color: #b9ece4; }
.lp-fem-ctas { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1024px) {
  .lp-fem { grid-template-columns: auto minmax(0, 1fr); }
  .lp-fem-ctas { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .lp-fem { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .lp-fem-logo { width: 56px; height: 56px; }
  .lp-fem-ctas .lp-btn { flex: 1 1 100%; white-space: normal; }
}

/* CTA */
.lp-cta { padding: 20px 24px 96px; }
.lp-cta-inner {
  max-width: 1000px; margin: 0 auto; text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(99,102,241,.22));
  border: 1px solid rgba(56,189,248,.35); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 60px rgba(56,189,248,.15);
}
.lp-cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; }
.lp-cta-inner p { color: var(--lp-fg-2); font-size: 17px; margin-bottom: 28px; }

/* Footer */
.lp-footer { border-top: 1px solid var(--lp-line); background: var(--lp-bg-2); }
.lp-footer-inner {
  max-width: var(--lp-max); margin: 0 auto; padding: 36px 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center;
}
.lp-footer-brand { display: flex; align-items: center; gap: 12px; }
.lp-footer-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.lp-footer-brand span { font-size: 13px; color: var(--lp-fg-3); }
.lp-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer-links a { font-size: 14px; color: var(--lp-fg-2); text-decoration: none; }
.lp-footer-links a:hover { color: var(--lp-accent); }
.lp-footer-note { grid-column: 1 / -1; font-size: 12px; color: var(--lp-fg-3); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { max-width: 760px; margin: 0 auto; width: 100%; }
  .lp-shot { transform: none; }
  .lp-steps, .lp-features-grid, .lp-formats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-ai { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .lp-nav-toggle { display: inline-flex; }
  .lp-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 12px 20px 18px; background: rgba(7, 11, 22, 0.97); border-bottom: 1px solid var(--lp-line);
  }
  .lp-nav.is-open { display: flex; }
  .lp-nav-link { padding: 10px 6px; font-size: 16px; }
  .lp-lang-wrap { padding: 6px; }
  .lp-lang-select { width: 100%; }
  .lp-version-badge { display: none; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 44px 18px 40px; }
  .lp-section { padding: 60px 18px; }
  .lp-steps, .lp-features-grid, .lp-formats-grid, .lp-tools-grid { grid-template-columns: 1fr; }
  .lp-chip-a { left: 8px; top: 48px; } .lp-chip-b { right: 8px; } .lp-chip-c { left: 12px; bottom: -12px; }
  .lp-hero-ctas .lp-btn { width: 100%; }
  .lp-footer-inner { grid-template-columns: 1fr; }
  .lp-cta { padding-bottom: 60px; }
  .lp-cta-inner { padding: 44px 20px; }
}

[dir="rtl"] .lp-ai-list li { border-left: 0; border-right: 3px solid var(--lp-accent-3); border-radius: 10px 0 0 10px; }
[dir="rtl"] .lp-step-num { right: auto; left: 18px; }
/* Em RTL, com `inset: 0` + largura fixa quem vale e o `right`: a faixa de
   fundo saia pela esquerda (o lado rolavel em RTL) e a pagina inteira em
   arabe ganhava rolagem horizontal de meia tela. */
[dir="rtl"] .lp-section-alt::before { left: auto; right: 50%; transform: translateX(50%); }

/* Aviso de Termos / Privacidade (index.php #lp-consent, assets/src/landing.js) */
.lp-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto;
  display: none; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--lp-radius);
  background: rgba(11, 16, 32, 0.96); border: 1px solid var(--lp-line-strong);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.5;
}
.lp-consent.is-visible { display: flex; animation: lp-consent-in .3s ease both; }
.lp-consent p { flex: 1; margin: 0; color: var(--lp-fg-2); }
.lp-consent a { color: var(--lp-accent); font-weight: 600; text-decoration: none; }
.lp-consent a:hover, .lp-consent a:focus-visible { text-decoration: underline; }
.lp-consent .lp-btn { flex-shrink: 0; }
@keyframes lp-consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .lp-consent { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .lp-consent.is-visible { animation: none; } }
