/* Poppins — reaproveita as fontes da LP /indique */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/indique/assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/indique/assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/indique/assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/indique/assets/fonts/poppins-700.woff2') format('woff2');
}

:root {
  --brand: #ff6700;
  --brand-600: #e55c00;
  --brand-700: #cc5200;
  --cream: #ffeae1;
  --ink: #1c1c1c;
  --ink-2: #262626;
  --muted: #6b6b6b;
  --paper: #f3f4f8;
  --white: #fff;
  --line: rgba(28, 28, 28, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(28, 28, 28, 0.12);
  --err: #c62828;
  --ok: #1b7a3d;
  --fab-size: 58px;
}

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

html,
body {
  margin: 0;
  height: 100%;
  font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.topbar__brand img {
  height: 28px;
  width: auto;
}

.topbar__meta {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

.topbar__meta strong {
  color: var(--brand);
}

.stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  padding: 1rem 1.25rem 5.5rem;
  overflow: hidden;
}

.slide.is-active {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.slide__inner {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  flex: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-700);
  text-transform: uppercase;
}

.slide h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
}

.slide__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 62ch;
}

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.bullets li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.35;
}

.bullets li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
}

.video-shell {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0.25rem auto 0;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

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

.video-shell__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(145deg, #2a2a2a, #111);
}

.video-shell__placeholder strong {
  color: #fff;
  font-size: 1.05rem;
}

.video-shell__placeholder span {
  font-size: 0.85rem;
  opacity: 0.75;
  max-width: 36ch;
}

.gate-hint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.gate-hint a {
  color: var(--brand-700);
  text-decoration: underline;
  cursor: pointer;
}

.nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.18);
  padding: 0;
  cursor: pointer;
}

.dots button.is-active {
  width: 1.35rem;
  background: var(--brand);
}

.dots button.is-done {
  background: var(--brand-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
}

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

.btn--primary:not(:disabled):hover {
  background: var(--brand-600);
}

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

.btn--block {
  width: 100%;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.plan {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan:hover {
  border-color: rgba(255, 103, 0, 0.45);
}

.plan.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.15);
}

.plan__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.plan__desc {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.plan__price {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-700);
}

.plan__price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.plan__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.plan__features li {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink-2);
}

.plan__features li::before {
  content: '✓ ';
  color: var(--brand);
  font-weight: 700;
}

.plan-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.plan-actions .linkish {
  background: none;
  border: 0;
  color: var(--brand-700);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  text-align: center;
}

.confirm {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  padding: 2rem 1.25rem;
  min-height: calc(100dvh - 70px);
}

.confirm.is-visible {
  display: flex;
}

.confirm__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(27, 122, 61, 0.12);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.confirm h2 {
  margin: 0;
  font-size: 1.5rem;
}

.confirm p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.45;
}

.identify {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.identify.is-visible {
  display: grid;
}

.identify h3 {
  margin: 0;
  font-size: 1.05rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

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

.field input,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(255, 103, 0, 0.35);
  border-color: var(--brand);
}

.field__error {
  color: var(--err);
  font-size: 0.75rem;
  min-height: 1em;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.fab {
  position: fixed;
  right: 1rem;
  bottom: calc(4.6rem + env(safe-area-inset-bottom));
  z-index: 40;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.fab__label {
  position: absolute;
  right: calc(100% + 0.5rem);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.fab:hover .fab__label,
.fab:focus-visible .fab__label {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(28, 28, 28, 0.45);
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  width: min(720px, 100%);
  max-height: min(85dvh, 720px);
  overflow: auto;
  padding: 1.25rem;
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.modal__head h3 {
  margin: 0;
}

.modal__close {
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.boot,
.error-state {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.error-state h1 {
  color: var(--ink);
  font-size: 1.3rem;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .modal {
    align-items: center;
  }

  .modal__panel {
    border-radius: var(--radius);
  }
}

/* Telas baixas: libera scroll interno no slide em vez de cortar */
@media (max-height: 720px) {
  .slide {
    overflow: auto;
  }

  .video-shell {
    max-width: 560px;
  }

  .slide h1 {
    font-size: 1.25rem;
  }

  .slide__lead {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .slide h1.is-long {
    font-size: 1.2rem;
  }

  .topbar__meta {
    font-size: 0.72rem;
  }
}
