/* LPTechX — Landing page v1 */
:root {
  /* Paleta da marca (logo LPTechX) */
  --navy: #0A1A2A;
  --navy-2: #12283F;
  --blue-deep: #1E7FD6;
  --blue: #2EA6F2;
  --blue-light: #6FD3FA;
  --blue-soft: #DDF0FD;
  --silver: #C3CAD3;
  --paper: #F3F6FA;
  --white: #FFFFFF;
  --ink: #0E1B2A;
  --muted: #586779;
  --line: #D7DFE9;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

.lp-wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.lp-skip { position: absolute; left: -9999px; }
.lp-skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; }

/* Botões */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--body);
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.lp-btn--blue { background: var(--blue); color: var(--navy); }
.lp-btn--blue:hover { background: #62C2F7; }
.lp-btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.lp-btn--ghost:hover { border-color: var(--white); }
.lp-btn--navy { background: var(--navy); color: var(--white); }
.lp-btn--navy:hover { background: var(--navy-2); }
.lp-btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.lp-btn--line:hover { background: var(--navy); color: var(--white); }

/* Cabeçalho */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.lp-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.lp-logo img { width: 40px; height: auto; }
.lp-logo strong { font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; }
.lp-logo strong { font-weight: 600; color: var(--silver); letter-spacing: -0.01em; }
.lp-logo strong span { color: var(--blue-light); }
.lp-logo small { font-size: .8rem; color: rgba(255,255,255,.55); padding-left: .65rem; border-left: 1px solid rgba(255,255,255,.18); }
.lp-nav { display: flex; align-items: center; gap: 2rem; }
.lp-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.85); }
.lp-nav a:hover { color: var(--white); }
.lp-nav .lp-btn { padding: .7rem 1.2rem; font-size: .9rem; color: var(--navy); }
.lp-menu-btn { display: none; background: none; border: 0; color: var(--white); padding: .5rem; cursor: pointer; }
.lp-menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.lp-hero { background: radial-gradient(ellipse 55% 70% at 78% 50%, rgba(46,166,242,.16), transparent 70%), var(--navy); color: var(--white); padding: 4.5rem 0 5.5rem; overflow: hidden; }
.lp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; max-width: 12ch; }
.lp-hero__lead { margin-top: 1.5rem; font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 46ch; }
.lp-hero__ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.lp-flow { width: 100%; max-width: 540px; justify-self: end; }
.lp-flow .node rect { fill: var(--navy-2); stroke: rgba(255,255,255,.18); }
.lp-flow .node--atender rect { fill: url(#lp-grad); stroke: none; }
.lp-flow .node text { font-family: var(--body); fill: var(--white); }
.lp-flow .node--atender text { fill: var(--navy); }
.lp-flow .t1 { font-weight: 700; font-size: 16px; }
.lp-flow .t2 { font-size: 13px; opacity: .78; }
.lp-flow .track { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-dasharray: 4 7; }
.lp-flow .loop { fill: none; stroke: rgba(111,211,250,.5); stroke-width: 2; stroke-dasharray: 2 6; }
.lp-flow .phase { font-family: var(--body); font-size: 12px; fill: rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { .lp-flow .dot { display: none; } }

/* Seções */
.lp-section { padding: 6rem 0; }
.lp-section--white { background: var(--white); }
.lp-h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 750; max-width: 18ch; color: var(--navy); }
.lp-intro { margin-top: 1rem; color: var(--muted); max-width: 58ch; font-size: 1.1rem; }

/* Funil */
.lp-steps { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(var(--lp-cols, 3), 1fr); gap: 0; counter-reset: passo; }
.lp-step { padding: 0 2rem 0 0; position: relative; }
.lp-step + .lp-step { padding-left: 2rem; border-left: 1px solid var(--line); }
.lp-step__n { font: 800 4.5rem/1 var(--display); color: var(--blue-deep); letter-spacing: -0.04em; }
.lp-step h3 { margin-top: 1rem; font-size: 1.75rem; color: var(--navy); }
.lp-step p { margin-top: .75rem; color: var(--muted); }
.lp-step ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.lp-step li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: .98rem; }

/* Pontos fortes */
.lp-strengths { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.lp-strengths__head { position: sticky; top: 110px; }
.lp-strengths dl { margin: 0; }
.lp-strength { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.lp-strength:last-child { border-bottom: 1px solid var(--line); }
.lp-strength svg { width: 2rem; height: 2rem; color: var(--blue-deep); margin-top: .2rem; }
.lp-strength dt { font: 700 1.3rem/1.25 var(--display); color: var(--navy); }
.lp-strength dd { margin: .45rem 0 0; color: var(--muted); }

/* Serviços */
.lp-services { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.lp-service { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.lp-service:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.lp-service h3 { font-size: 1.25rem; color: var(--navy); }
.lp-service p { margin-top: .6rem; color: var(--muted); font-size: .98rem; }

/* Segmentos */
.lp-segments { background: var(--navy-2); color: var(--white); padding: 4rem 0; }
.lp-segments__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.lp-segments h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 750; }
.lp-segments p { margin-top: .9rem; color: rgba(255,255,255,.8); max-width: 44ch; }
.lp-chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.lp-chips li { padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .95rem; }
.lp-chips li:last-child { background: var(--blue); color: var(--navy); border-color: var(--blue); font-weight: 600; }

/* Planos — degraus cumulativos */
.lp-plans { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.lp-plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 6px 6px; padding: 2rem; display: flex; flex-direction: column; }
.lp-plan--ouro { background: var(--navy); color: var(--white); border-color: var(--navy); }
.lp-plan__tier { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; color: var(--muted); }
.lp-plan--ouro .lp-plan__tier { color: rgba(255,255,255,.7); }
.lp-plan__medal { width: 14px; height: 14px; border-radius: 50%; }
.lp-plan--bronze .lp-plan__medal { background: #B87333; }
.lp-plan--prata .lp-plan__medal { background: #A9B4B8; }
.lp-plan--ouro .lp-plan__medal { background: #E2B53E; }
.lp-plan h3 { margin-top: .9rem; font-size: 2.1rem; color: var(--navy); }
.lp-plan--ouro h3 { color: var(--white); }
.lp-plan__goal { margin-top: .5rem; color: var(--muted); }
.lp-plan--ouro .lp-plan__goal { color: rgba(255,255,255,.78); }
.lp-plan__inherit { margin-top: 1.5rem; padding: .7rem .9rem; border-radius: 8px; background: var(--paper); font-size: .92rem; font-weight: 600; color: var(--navy); }
.lp-plan--ouro .lp-plan__inherit { background: rgba(255,255,255,.08); color: var(--blue-light); }
.lp-plan ul { list-style: none; padding: 0; margin: 1.25rem 0 0; flex: 1; }
.lp-plan li { position: relative; padding: .5rem 0 .5rem 1.6rem; font-size: .98rem; }
.lp-plan li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .7rem; height: .4rem; border-left: 2px solid var(--blue-deep); border-bottom: 2px solid var(--blue-deep); transform: rotate(-45deg); }
.lp-plan--ouro li::before { border-color: var(--blue-light); }
.lp-plan .lp-btn { margin-top: 1.75rem; width: 100%; }
.lp-plan--ouro .lp-btn { background: var(--blue); color: var(--navy); border-color: var(--blue); }
.lp-plan--ouro .lp-btn:hover { background: #62C2F7; }
/* Degraus: a altura mínima cresce com o plano, já que cada um soma ao anterior */
.lp-plan--bronze { min-height: 580px; }
.lp-plan--prata  { min-height: 650px; }
.lp-plan--ouro   { min-height: 720px; }
.lp-plans__note { margin-top: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); color: var(--muted); }
.lp-plans__note strong { color: var(--navy); display: block; margin-bottom: .25rem; }

/* Planos com quantidade livre (widgets do Elementor) */
.lp-plans--auto { grid-template-columns: repeat(var(--lp-cols, 3), 1fr); align-items: stretch; }
.lp-plans--auto .lp-plan { min-height: 0; margin-top: var(--lp-step, 0px); }
.lp-plan--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.lp-plan--dark .lp-plan__tier { color: rgba(255,255,255,.7); }
.lp-plan--dark h3 { color: var(--white); }
.lp-plan--dark .lp-plan__goal { color: rgba(255,255,255,.78); }
.lp-plan--dark .lp-plan__inherit { background: rgba(255,255,255,.08); color: var(--blue-light); }
.lp-plan--dark li::before { border-color: var(--blue-light); }
.lp-plan__medal { flex: none; }
.lp-strength__icon { display: block; width: 2rem; font-size: 1.7rem; line-height: 1; color: var(--blue-deep); margin-top: .2rem; }
.lp-strength__icon svg { width: 2rem; height: 2rem; fill: currentColor; }

/* Widgets do Elementor */
.lp-plan__price { margin-top: .6rem; font: 700 1.5rem/1.2 var(--display); color: var(--blue-deep); }
.lp-plan--dark .lp-plan__price { color: var(--blue-light); }
.lp-segments--plain .lp-chips li:last-child { background: transparent; color: inherit; border-color: rgba(255,255,255,.3); font-weight: 400; }
.elementor-widget-container > .lp-w { width: 100%; }

/* Rodapé com formulário */
.lp-footer { background: var(--navy); color: var(--white); padding: 6rem 0 0; }
.lp-footer__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.lp-footer h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 800; max-width: 14ch; }
.lp-footer__text { margin-top: 1.25rem; color: rgba(255,255,255,.8); max-width: 42ch; font-size: 1.1rem; }
.lp-footer__wa { margin-top: 2rem; display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.lp-footer__wa svg { width: 28px; height: 28px; color: var(--blue-light); }
.lp-footer__wa:hover span { text-decoration: underline; }

.lp-form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.lp-field { display: flex; flex-direction: column; gap: .4rem; }
.lp-field--full { grid-column: 1 / -1; }
.lp-field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.lp-field input {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, background .2s;
}
.lp-field input:focus { outline: none; border-color: var(--blue-deep); background: var(--white); box-shadow: 0 0 0 3px rgba(30,127,214,.2); }
.lp-field input:user-invalid { border-color: #C0392B; }
.lp-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lp-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.lp-form__foot small { color: var(--muted); max-width: 32ch; font-size: .85rem; }
.lp-form__plan { grid-column: 1 / -1; font-size: .92rem; color: var(--navy); background: var(--blue-soft); padding: .6rem .9rem; border-radius: 8px; }
.lp-form__plan[hidden] { display: none; }
.form-status { grid-column: 1 / -1; padding: .9rem 1rem; border-radius: 10px; font-weight: 600; }
.form-status.is-ok { background: #E3F2EC; color: #1C5E45; }
.form-status.is-erro { background: #FBE6E3; color: #8E2B20; }
.form-status[hidden] { display: none; }

.lp-footer__bottom { margin-top: 5rem; padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.lp-footer__bottom a { text-decoration: none; }
.lp-footer__bottom a:hover { color: var(--white); }

/* Responsivo */
@media (max-width: 980px) {
  .lp-hero__grid, .lp-strengths, .lp-segments__in, .lp-footer__grid { grid-template-columns: 1fr; }
  .lp-flow { justify-self: start; max-width: 460px; }
  .lp-strengths__head { position: static; }
  .lp-strengths { gap: 2rem; }
  .lp-services { grid-template-columns: 1fr 1fr; }
  .lp-service, .lp-service:not(:nth-child(3n+1)) { padding: 1.75rem 1.5rem 1.75rem 0; border-left: 0; }
  .lp-service:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .lp-plans, .lp-plans--auto { grid-template-columns: 1fr; align-items: stretch; }
  .lp-plans--auto .lp-plan { margin-top: 0; }
  .lp-plan--bronze, .lp-plan--prata, .lp-plan--ouro { min-height: 0; }
  .lp-footer__grid { gap: 2.5rem; }
}
@media (max-width: 820px) {
  .lp-menu-btn { display: block; }
  .lp-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); display: none; }
  .lp-nav.is-open { display: flex; }
  .lp-nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lp-nav .lp-btn { margin-top: 1rem; border-bottom: 0; }
  .lp-logo small { display: none; }
  .lp-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-step, .lp-step + .lp-step { padding: 0; border-left: 0; }
  .lp-step + .lp-step { padding-top: 2.5rem; border-top: 1px solid var(--line); }
  .lp-plans__note { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-section { padding: 4.25rem 0; }
  .lp-hero { padding: 3rem 0 4rem; }
  .lp-services { grid-template-columns: 1fr; }
  .lp-service, .lp-service:nth-child(2n) { padding: 1.5rem 0; border-left: 0; }
  .lp-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .lp-footer { padding-top: 4.25rem; }
}

/* Páginas comuns (sem Elementor) */
.lp-page { width: min(860px, 100% - 2.5rem); margin: 4rem auto 6rem; }
.lp-page h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); margin-bottom: 1.5rem; }
.lp-page p { margin-bottom: 1rem; }
/* Páginas do Elementor ocupam a largura toda */
.lp-elementor { width: 100%; }

/* Proteção: impede que a Tipografia/Cores globais do Elementor alterem a landing */
body :is(.lp-header, .lp-landing, .lp-footer) { font-family: var(--body); }
body :is(.lp-header, .lp-landing, .lp-footer) :is(h1, h2, h3) { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; }
body .lp-footer h2, body .lp-hero h1, body .lp-segments h2 { color: var(--white); }
body .lp-h2, body .lp-step h3, body .lp-service h3, body .lp-plan h3 { color: var(--navy); }
body .lp-plan--ouro h3, body .lp-plan--dark h3 { color: var(--white); }
body .lp-form .lp-field label { font: 600 .92rem/1.4 var(--body); color: var(--navy); }
body .lp-form .lp-field input {
  font: 400 1rem/1.4 var(--body); color: var(--ink); width: 100%;
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: none;
}
body .lp-form .lp-field input:focus { outline: none; border-color: var(--blue-deep); background: var(--white); box-shadow: 0 0 0 3px rgba(30,127,214,.2); }
body .lp-form .lp-field input:user-invalid { border-color: #C0392B; }
body .lp-form button.lp-btn { font: 600 1rem/1 var(--body); border-radius: 999px; padding: 1rem 1.5rem; }
