/* Landing do GuiaFlow (/). why: sem framework; só esta folha e o Inter local. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #2a9d8f;
  --teal-600: #238579;
  --teal-700: #1f6b62;
  --teal-50: #e8f5f3;
  --ink: #101010;
  --ink-2: #27272a;
  --muted: #52525b;
  --line: #e4e4e7;
  --bg: #ffffff;
  --bg-soft: #f6f7f7;
  --dark: #101010;
  --dark-2: #1a1a1a;
  --dark-line: #2a2a2a;
  --dark-muted: #a1a1aa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 16, 16, 0.04), 0 8px 24px rgba(16, 16, 16, 0.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-700);
}

h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 70%, white);
  outline-offset: 2px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-600);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-700);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.92rem;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1.04rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--dark) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--dark-line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand img {
  height: 26px;
  width: auto;
}

.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-row > .btn {
  margin-left: auto;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .header-row > .btn {
    margin-left: 8px;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(42, 157, 143, 0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(42, 157, 143, 0.14), transparent 60%),
    var(--dark);
  color: #fafafa;
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero {
    padding: 88px 0 104px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero-sub {
  margin: 20px 0 0;
  max-width: 56ch;
  color: #d4d4d8;
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .btn-ghost {
  color: #fafafa;
  border-color: #3f3f46;
}

.hero .btn-ghost:hover {
  border-color: var(--teal);
  color: #fff;
  background: rgba(42, 157, 143, 0.12);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dark-muted);
  font-size: 0.9rem;
}

.hero-proof li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 6px;
}

/* Ilustração do hero (CSS puro) */
.hero-art {
  position: relative;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}

.mock {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d4d8;
}

.mock-bar i {
  margin-left: 10px;
  flex: 1;
  max-width: 220px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e4e4e7;
  color: #71717a;
  font-size: 11px;
  font-style: normal;
  line-height: 18px;
  padding: 0 8px;
  overflow: hidden;
}

.mock-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 787;
  background: #fff;
}

.mock-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* why: posições em % da captura (cartão Meta do passo 1 do tour do LeadPronto) */
.mock-target {
  position: absolute;
  left: 27.6%;
  top: 70.6%;
  width: 28.6%;
  height: 25.4%;
  border-radius: 10px;
  box-shadow: 0 0 0 3px var(--teal), 0 0 0 9999px rgba(15, 50, 72, 0.32);
}

.mock-hotspot {
  position: absolute;
  left: calc(53.4% - 8px);
  top: calc(76.9% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--teal);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.6); }
  100% { box-shadow: 0 0 0 16px rgba(42, 157, 143, 0); }
}

.mock-pop {
  position: absolute;
  left: 27.6%;
  bottom: calc(29.4% + 12px);
  width: min(270px, 60%);
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mock-pop::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

.mock-desc {
  color: #52525b;
  font-size: 12px;
  line-height: 1.4;
}

.mock-pop small {
  color: #71717a;
  font-size: 11px;
}

.mock-pop strong {
  font-size: 14px;
  line-height: 1.3;
}

.mock-pop em {
  justify-self: end;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  padding: 4px 10px;
  border-radius: 6px;
}

.mock-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.mock-wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--teal);
  height: 40%;
  animation: wave 1.1s ease-in-out infinite;
}

.mock-wave i:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.mock-wave i:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.mock-wave i:nth-child(4) { animation-delay: 0.3s; height: 60%; }
.mock-wave i:nth-child(5) { animation-delay: 0.4s; height: 85%; }
.mock-wave i:nth-child(6) { animation-delay: 0.5s; height: 45%; }
.mock-wave i:nth-child(7) { animation-delay: 0.6s; height: 65%; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.mock-toast {
  position: absolute;
  left: -8px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--dark-2);
  border: 1px solid #333;
  color: #fafafa;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.mock-toast .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

@media (min-width: 980px) {
  .mock-toast {
    left: -28px;
  }
}

/* Seções */
section {
  scroll-margin-top: 72px;
}

.demo,
.cases,
.how,
.features,
.pricing,
.testers,
.faq {
  padding: 72px 0;
}

@media (min-width: 980px) {
  .demo,
  .cases,
  .how,
  .features,
  .pricing,
  .testers,
  .faq {
    padding: 96px 0;
  }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 750;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.demo {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.demo-frame {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 1.83 / 1;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16, 16, 16, 0.14);
}

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  background: radial-gradient(circle at 50% 35%, rgba(42, 157, 143, 0.22), transparent 60%), var(--dark);
}

.demo-placeholder p {
  margin: 0;
  max-width: 34ch;
  font-size: 1.05rem;
  text-wrap: balance;
}

.demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.grid-3 {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3,
.feature h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.card p,
.feature p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

.features-grid {
  gap: 36px 28px;
}

.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.6;
  white-space: nowrap;
}

.tag-pro {
  background: #fdf6e3;
  color: #8a6100;
  border: 1px solid #f3e2b3;
}

.tag-soon {
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid #e4e4e7;
}

/* Preços */
.pricing {
  background: var(--bg);
}

.plans {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.plan h3 {
  margin: 0;
  font-size: 1.2rem;
}

.price {
  margin: 14px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price .per {
  color: var(--muted);
  font-weight: 500;
}

.plan-lead,
.plan-alt {
  margin: 6px 0 0 !important;
  color: var(--muted);
}

.plan-alt strong {
  color: var(--ink);
}

.save {
  color: var(--teal-700);
  font-weight: 700;
}

.checks {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6b62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.plan-pro {
  border: 2px solid var(--teal);
  box-shadow: 0 20px 50px rgba(42, 157, 143, 0.16);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  margin: 0 !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
}

.plan-note {
  margin: 12px 0 0 !important;
  font-size: 0.86rem;
  text-align: center;
}

/* Testers */
.testers {
  background: var(--dark);
  color: #fafafa;
}

.testers-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 980px) {
  .testers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.testers h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.testers-copy > p:not(.eyebrow) {
  color: #d4d4d8;
  margin: 16px 0 0;
  font-size: 1.06rem;
}

.testers .checks li::before {
  background-color: rgba(42, 157, 143, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.testers .checks {
  color: #e4e4e7;
}

.tester-form {
  display: grid;
  gap: 16px;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #d4d4d8;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.2);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #dc2626;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
  flex: none;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.92rem;
}

.form-status.ok {
  color: var(--teal-700);
  font-weight: 600;
}

.form-status.err {
  color: #b91c1c;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 20px;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-700);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* CTA final + rodapé */
.final-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(42, 157, 143, 0.25), transparent 70%),
    var(--dark);
  color: #fafafa;
  padding: 72px 0;
  border-top: 1px solid var(--dark-line);
}

.final-inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  max-width: 22ch;
}

.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  border-top: 1px solid var(--dark-line);
  padding: 32px 0 24px;
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.footer-row img {
  height: 23px;
  width: auto;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.site-footer a {
  color: #d4d4d8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.locale {
  margin-left: auto;
}

.locale select {
  font: inherit;
  color: #e4e4e7;
  background: var(--dark-2);
  border: 1px solid #3f3f46;
  border-radius: 8px;
  padding: 6px 10px;
  min-height: 36px;
}

.copy {
  margin-top: 18px;
  font-size: 0.82rem;
}

@media (max-width: 759px) {
  .feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 14px;
    align-items: start;
  }
  .feature .icon {
    grid-row: span 2;
  }
  .feature h3 {
    margin-top: 8px;
  }
  .features-grid {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .mock-desc,
  .mock-wave {
    display: none;
  }

  .mock-pop {
    padding: 9px 11px;
  }

  .mock-pop strong {
    font-size: 13px;
  }
}
