/* ==========================================================================
   Growth.Etc — landing do pré-diagnóstico (briefing em 5 etapas)
   Herda os tokens de styles.css. Fundo claro, logo colorido, laranja do logo como acento.
   Mobile-first: a base é o celular; os @media só ampliam.
   ========================================================================== */

/* ---------- cabeçalho claro (logo nas cores originais) ---------- */
.lp-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.lp-header .hd { min-height: 64px; }
.lp-header .brand img { width: 168px; height: auto; }
.lp-hd-actions { display: flex; align-items: center; gap: 6px; }
.lp-hd-link { display: none; align-items: center; gap: .5em; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.lp-hd-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-hd-link svg { width: 18px; height: 18px; stroke: var(--orange-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (min-width: 720px) {
  .lp-header .brand img { width: 196px; }
  .lp-hd-link { display: inline-flex; }
  .lp-hd-actions { gap: 8px; }
}

/* ---------- hero claro ---------- */
.lp-hero { position: relative; z-index: 2; background: var(--paper); overflow: clip; --next: #fff; padding-top: clamp(28px, 6vw, 76px); --pb: clamp(14px, 3vw, 40px); }
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 90% at 100% 0%, rgba(223, 93, 43, .15), transparent 62%), linear-gradient(112deg, transparent 58%, rgba(24, 41, 51, .035) 58.1%, transparent 76%); }
.lp-hero-grid { position: relative; display: grid; gap: 28px; }
.lp-hero-copy { display: grid; gap: 18px; justify-items: start; }
.lp-hero h1 { font: 300 clamp(2.15rem, 8.8vw, 4.4rem)/1.04 var(--f-display); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; max-width: 16ch; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 94% / 100% .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .03em; }
.lp-hero .lead { max-width: 34rem; color: #3E4D57; }
.lp-cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; margin-top: 4px; }
.lp-cta .btn--link { min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.lp-cta .btn--link svg { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.lp-cta .btn--link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 34rem; margin-top: 6px; }
.lp-facts li { display: grid; gap: 3px; align-content: start; padding-top: 12px; border-top: 2px solid var(--ink); }
.lp-facts .i { color: var(--orange-ink); margin-bottom: 4px; width: 1.4em; height: 1.4em; }
.lp-facts b { font: 500 1.0625rem/1.15 var(--f-display); letter-spacing: -.01em; }
.lp-facts span { font-size: .8125rem; line-height: 1.35; color: var(--mute); }
.lp-media { display: none; position: relative; }
.lp-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 12%; border-radius: 22px; }
.lp-media::after { content: ""; position: absolute; width: 30px; height: 30px; background: var(--orange); left: -15px; bottom: 44px; }
@media (min-width: 560px) {
  .lp-cta { flex-direction: row; align-items: center; gap: 14px; width: auto; }
  .lp-cta .btn--link { padding: 0 8px; }
}
@media (min-width: 900px) {
  .lp-hero { padding-top: clamp(40px, 4.6vw, 72px); }
  .lp-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 84px); }
  .lp-hero-copy { gap: 22px; }
  .lp-media { display: block; aspect-ratio: 1 / 1; max-height: 500px; width: 100%; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(24, 41, 51, .55); }
}

/* ---------- o que você recebe ---------- */
.lp-after { margin-top: clamp(20px, 3vw, 32px); padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 4px 16px 16px 4px; display: grid; gap: 14px; align-items: center; }
.lp-after p { font: 300 clamp(1.125rem, 3.4vw, 1.4375rem)/1.35 var(--f-display); letter-spacing: -.01em; }
.lp-after p em { font-style: normal; color: var(--orange-ink); font-weight: 400; }
.lp-after .link-arrow { justify-self: start; }
@media (min-width: 800px) { .lp-after { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 22px 28px; } }

/* ---------- cinco etapas (escada) ---------- */
.stairs--5 .step h3 { font-size: 1.3125rem; }
.stairs--5 .step p { font-size: .96875rem; line-height: 1.5; }
.stairs-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stairs-cta p { color: var(--mute-lit); font-size: .9375rem; }
@media (min-width: 640px) { .stairs-cta { flex-direction: row; align-items: center; gap: 22px; } }
@media (min-width: 960px) {
  .stairs--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stairs--5 .step { min-height: calc(236px + var(--i, 0) * 54px); padding: 24px 20px 28px; }
  .stairs--5 .step-n { font-size: 3.6rem; }
  .stairs--5 .step--top::before { right: 18px; }
}

/* ---------- briefing (wizard) ---------- */
.brief { display: grid; gap: 22px; }
.brief-side { display: grid; gap: 18px; align-content: start; }
.brief-side h2 { font-size: clamp(1.9rem, 6vw, 2.75rem); }
.brief-steps { display: none; }
.brief-trust { display: grid; gap: 10px; }
.brief-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: .96875rem; line-height: 1.4; }
.brief-trust .i { color: var(--orange-ink); margin-top: 1px; width: 1.2em; height: 1.2em; }
.brief-alt { font-size: .9375rem; color: var(--mute); }
.brief-alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .brief { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .brief-side { position: sticky; top: 100px; gap: 24px; }
  .brief-steps { display: grid; counter-reset: bs; }
  .brief-steps li { counter-increment: bs; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; align-items: center; min-height: 48px; position: relative; color: var(--mute); font-weight: 500; transition: color .25s; }
  .brief-steps li::before { content: counter(bs); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 500 .9375rem/1 var(--f-display); border: 1.5px solid rgba(24, 41, 51, .25); background: #fff; color: var(--mute); transition: background-color .25s, border-color .25s, color .25s; position: relative; z-index: 1; }
  .brief-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 41px; bottom: -7px; width: 1.5px; background: var(--line); }
  .brief-steps li.is-current { color: var(--ink); }
  .brief-steps li.is-current::before { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
  .brief-steps li.is-done { color: var(--ink); }
  .brief-steps li.is-done::before { background: var(--navy); border-color: var(--navy); color: #fff; }
}

.wiz { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 30px 60px -40px rgba(24, 41, 51, .45); min-width: 0; }
@media (min-width: 720px) { .wiz { padding: 32px; } }
.wiz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.wiz-count { font: 600 .75rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.wiz-title { font: 400 clamp(1.375rem, 4.6vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -.015em; margin-top: 6px; outline: none; }
.wiz-chip { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: .75rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.wiz-stairs { display: flex; align-items: flex-end; gap: 4px; height: 28px; flex: none; }
.wiz-stairs li { width: 14px; border-radius: 3px 3px 0 0; background: rgba(24, 41, 51, .14); transition: background-color .3s; }
.wiz-stairs li:nth-child(1) { height: 8px; }
.wiz-stairs li:nth-child(2) { height: 13px; }
.wiz-stairs li:nth-child(3) { height: 18px; }
.wiz-stairs li:nth-child(4) { height: 23px; }
.wiz-stairs li:nth-child(5) { height: 28px; }
.wiz-stairs li.is-done { background: var(--navy); }
.wiz-stairs li.is-current { background: var(--orange); }

.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .wiz-step:not([hidden]) { animation: wiz-in .4s var(--ease) backwards; }
@keyframes wiz-in { from { opacity: 0; transform: translateX(12px); } }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* campos (estende .field de styles.css) */
.field .hint { font-size: .8125rem; line-height: 1.45; color: var(--mute); }
.field textarea { width: 100%; min-height: 104px; padding: 12px 14px; border: 1.5px solid rgba(24, 41, 51, .22); border-radius: 12px; background: #fff; font-size: 1rem; line-height: 1.5; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 4px rgba(223, 93, 43, .22); }
.field textarea::placeholder { color: #657480; }
.field[data-invalid] textarea { border-color: var(--orange-ink); }
.opt-tag { font-weight: 500; color: var(--mute); font-size: .8125rem; }
.row2 { display: grid; }
@media (min-width: 720px) { .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .row2 .hint { min-height: 2.9em; } }

/* grupos de opções (rádio e caixas) */
.grp { display: grid; gap: 8px; margin-bottom: 16px; }
.grp > .q { font-weight: 600; font-size: .9375rem; }
.grp .hint { font-size: .8125rem; line-height: 1.45; color: var(--mute); margin-top: -4px; }
.grp[data-invalid] .err { display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts--grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; display: inline-flex; min-width: 0; }
.opts--grid .opt, .opts--grid .opt span { width: 100%; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.opt span { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 8px 16px 8px 12px; border: 1.5px solid rgba(24, 41, 51, .22); border-radius: 12px; background: #fff; font-weight: 500; font-size: .96875rem; line-height: 1.25; transition: border-color .2s, background-color .2s; }
.opt span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(24, 41, 51, .4); background: #fff center / 13px no-repeat; flex: none; transition: border-color .2s, background-color .2s; }
.opt--check span::before { border-radius: 6px; }
.opt:hover span { border-color: rgba(24, 41, 51, .5); }
.opt input:checked + span { border-color: var(--orange-ink); background: rgba(223, 93, 43, .08); }
.opt input:checked + span::before { border-color: var(--orange); background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* linhas Sim / Não */
.yn-list { display: grid; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.yn { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.yn .q { font-weight: 500; font-size: .96875rem; line-height: 1.35; }
.yn .opts { flex-wrap: nowrap; }
.yn .opt { flex: 1; }
.yn .opt span { width: 100%; min-height: 46px; justify-content: center; padding: 6px 14px; }
.yn .opt span::before { display: none; }
.yn .opt input:checked + span { font-weight: 600; }
.yn[data-invalid] { box-shadow: -4px 0 0 var(--orange-ink); padding-left: 12px; margin-left: -12px; }
.yn .err { margin-top: -2px; }
.yn[data-invalid] .err { display: block; }
@media (min-width: 720px) {
  .yn { grid-template-columns: minmax(0, 1fr) 190px; gap: 8px 20px; align-items: center; }
  .yn .err { grid-column: 1 / -1; }
}

/* mostrar/ocultar condicional */
.cond[hidden] { display: none; }

/* aceite */
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid rgba(24, 41, 51, .22); border-radius: 12px; background: var(--paper); cursor: pointer; font-size: .9375rem; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--orange-ink); cursor: pointer; }
.field--consent[data-invalid] .consent { border-color: var(--orange-ink); }

/* navegação do wizard */
.wiz-status { min-height: 1.3em; margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--orange-ink); }
.wiz-nav { display: flex; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.wiz-nav .btn { flex: 1; }
.wiz-nav .btn[data-back] { flex: 0 0 auto; min-width: 110px; }
.wiz-nav .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.wiz-legal { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--mute); }
.wiz-legal a, .consent a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* retorno: sucesso e alternativa de envio */
.wiz-panel { display: grid; gap: 16px; justify-items: start; }
.wiz-panel h3 { font: 300 clamp(1.75rem, 5.4vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.02em; outline: none; text-wrap: balance; }
.wiz-panel p { color: var(--mute); max-width: 36rem; }
.wiz-panel p b { color: var(--ink); font-weight: 600; word-break: break-word; }
.wiz-ok-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.wiz-ok-ico svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wiz-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.wiz-actions .btn { flex: 1 1 220px; }
.wiz-next { width: 100%; display: grid; gap: 10px; padding: 16px 18px; background: var(--paper); border-radius: 14px; }
.wiz-next b { font: 600 .6875rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.wiz-next ol { display: grid; gap: 8px; counter-reset: n; }
.wiz-next li { counter-increment: n; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .96875rem; line-height: 1.4; }
.wiz-next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 500 .8125rem/1 var(--f-display); }
.wiz-mail { font-weight: 600; color: var(--ink); user-select: all; -webkit-user-select: all; white-space: nowrap; }
.wiz-sum-wrap { width: 100%; }
.wiz-sum-wrap summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.wiz-sum-wrap summary::-webkit-details-marker { display: none; }
.wiz-sum-wrap summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 1.25rem; line-height: 1; color: var(--orange-ink); background: rgba(223, 93, 43, .1); }
.wiz-sum-wrap[open] summary::after { content: "\2212"; }
.wiz-sum { width: 100%; min-height: 180px; margin-top: 8px; padding: 12px 14px; border: 1.5px solid rgba(24, 41, 51, .22); border-radius: 12px; background: var(--paper); font: 400 .8125rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); resize: vertical; }
.wiz-preview { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(223, 93, 43, .09); font-size: .875rem; line-height: 1.45; color: var(--ink); }

/* envio: WhatsApp, PDF e cópia por e-mail */
.wiz-steps { display: grid; gap: 12px; width: 100%; counter-reset: wz; }
.wiz-card { counter-increment: wz; display: grid; gap: 10px; justify-items: stretch; min-width: 0; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.wiz-card--main { border: 2px solid var(--orange); padding: 17px 17px 19px; box-shadow: 0 18px 40px -26px rgba(223, 93, 43, .6); }
.wiz-card h4 { display: flex; align-items: center; gap: 10px; font: 600 1.0625rem/1.3 var(--f-body); letter-spacing: 0; color: var(--ink); }
.wiz-card h4::before { content: counter(wz); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 500 .8125rem/1 var(--f-display); flex: none; }
.wiz-card--main h4::before { background: var(--orange); }
.wiz-card p { max-width: none; font-size: .96875rem; line-height: 1.5; }
.wiz-card .wiz-actions .btn { flex: 1 1 200px; }
.wiz-panel .wiz-small { font-size: .8125rem; line-height: 1.45; color: var(--mute); overflow-wrap: anywhere; }
.wiz-panel .wiz-warn { padding: 10px 12px; border-radius: 10px; background: rgba(223, 93, 43, .09); font-size: .875rem; line-height: 1.45; color: var(--ink); }
@media (min-width: 560px) { .wiz-card--main > .btn { justify-self: start; min-width: 280px; } }
.wiz-mailrow { width: 100%; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.wiz-panel .wiz-mailrow p { max-width: none; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.wiz-dot { width: 12px; height: 12px; margin-top: .4em; border-radius: 50%; background: #9AA7B0; }
.wiz-dot.is-ok { background: #1E8E5A; }
.wiz-dot.is-fail { background: var(--orange-ink); }
.wiz-dot.is-wait { animation: wiz-pulse 1.1s ease-in-out infinite alternate; }
@keyframes wiz-pulse { from { opacity: .3; } to { opacity: 1; } }
.wiz-actions--sm { margin-top: 10px; }
.wiz-actions--sm .btn { flex: 0 1 auto; }
.wiz-sum-wrap .wiz-actions { margin-top: 10px; }

/* resultados (cartões numéricos) */
.lp-res .num { align-content: start; }
.lp-res .num small { color: var(--orange-ink); }

/* rodapé enxuto */
.lp-foot .f-grid { gap: 28px; }
.lp-foot .f-legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-lit); }

@media (prefers-reduced-motion: reduce) {
  .js .wiz-step:not([hidden]) { animation: none; }
  .wiz-dot.is-wait { animation: none; opacity: .6; }
  .wiz-stairs li, .opt span, .opt span::before, .brief-steps li, .brief-steps li::before { transition: none; }
}

.lp-hd-link--back svg { transform: rotate(180deg); }
