/* ============================================================
                      CSS
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--container-width-narrow); }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cyan);
  color: var(--color-black);
}
.btn--primary:hover {
  background: var(--color-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-line);
  color: var(--text-on-dark);
}
.btn--ghost:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--large { padding: 16px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header, .header__inner {
  position: relative;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-on-dark);
}
.logo__accent { color: var(--color-cyan); }

.brand__tagline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text-on-dark-soft);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--color-cyan); }

.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* ---- Menu mobile (hambúrguer) ---- */
@media (max-width: 820px) {
  .nav-cta-desktop { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-cyan);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--color-black);
    border-bottom: 1px solid var(--color-line);
    padding: 12px 24px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  padding: 120px 0 100px;
}

.hero__bg-radar {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__bg-radar { opacity: 0.25; right: -220px; }
}

.radar-svg { width: 100%; height: 100%; }
.radar-ring { fill: none; stroke: var(--color-cyan); stroke-opacity: 0.25; stroke-width: 1; }
.radar-axis { stroke: var(--color-cyan); stroke-opacity: 0.12; stroke-width: 1; }
.radar-dot { fill: var(--color-cyan); animation: pulse 2.4s ease-in-out infinite; }
.radar-dot--delay { animation-delay: 1.1s; }

.radar-sweep path {
  fill: url(#none);
  fill: var(--color-cyan);
  opacity: 0.18;
  transform-origin: 300px 300px;
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; r: 5; }
  50%      { opacity: 1;   r: 7; }
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep path, .radar-dot { animation: none; }
}

.hero__inner { position: relative; z-index: 2; max-width: 620px; }

.eyebrow {
  color: var(--color-cyan);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  color: var(--text-on-dark);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  color: var(--text-on-dark-soft);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__microcopy {
  color: var(--text-on-dark-soft);
  font-size: 13px;
  opacity: 0.8;
}

.hero__steps-inline {
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 30px;
}

.offer-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 560px;
  margin-top: 40px;
  padding: 24px;
  background: var(--color-black-soft);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}

.offer-card__icon { font-size: 24px; line-height: 1; }

.offer-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 10px;
}

.offer-card__text {
  font-size: 14px;
  color: var(--text-on-dark-soft);
  margin-bottom: 10px;
}
.offer-card__text:last-child { margin-bottom: 0; }
.offer-card__text--accent { color: var(--text-on-dark); }

/* ---------------- Seções genéricas ---------------- */
.section { padding: 96px 0; }
.section--dark { background: var(--color-black); }
.section--light { background: var(--color-gray-light); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--text-on-light);
  max-width: 720px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section--dark .section__title { color: var(--text-on-dark); }

.section__title--onDark { color: var(--text-on-dark); margin-left: auto; margin-right: auto; text-align: center; max-width: 640px; }

.section__subtitle {
  color: var(--text-on-light-soft);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 48px;
}
.section--dark .section__subtitle { color: var(--text-on-dark-soft); }
.section__subtitle--onDark { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------------- Grids e cards ---------------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

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

.card {
  background: var(--color-white);
  border: 1px solid #E4E9EC;
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.card--dark {
  background: var(--color-black-soft);
  border: 1px solid var(--color-line);
}
.card--dark h3 { color: var(--text-on-dark); }
.card--dark p { color: var(--text-on-dark-soft); }

.card__icon { font-size: 26px; display: block; margin-bottom: 16px; }
.card h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-on-light-soft); }

/* ---------------- Passos (como funciona) ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}

.step__number {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  background: var(--color-cyan);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-on-light-soft); font-size: 15px; }

/* ---------------- Estatísticas ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  color: var(--color-cyan);
  font-weight: 700;
}
.stat__label {
  display: block;
  color: var(--text-on-dark-soft);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------------- Depoimentos ---------------- */
.testimonial {
  background: var(--color-gray-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  margin-bottom: 18px;
  background: #DDE3E7;
}
.testimonial__text {
  font-size: 15px;
  color: var(--text-on-light);
  margin-bottom: 16px;
}
.testimonial__author {
  font-size: 13px;
  color: var(--text-on-light-soft);
  font-weight: 600;
}

/* ---------------- CTA / Planos ---------------- */
.section--cta {
  background: linear-gradient(180deg, var(--color-black) 0%, #071016 100%);
  text-align: center;
}

.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--color-black-soft);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}

.pricing-card .lead-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 24px;
}

.pricing-card__name {
  font-family: var(--font-display);
  color: var(--color-cyan);
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--text-on-dark);
  font-weight: 700;
  margin-bottom: 22px;
}
.pricing-card__price span {
  display: block;
  font-size: 13px;
  color: var(--text-on-dark-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.pricing-card__text {
  text-align: left;
  color: var(--text-on-dark-soft);
  font-size: 14px;
  margin-bottom: 16px;
}
.pricing-card__text--accent {
  color: var(--text-on-dark);
  padding: 14px 16px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.beta-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--text-on-dark-soft);
  opacity: 0.8;
}

.finalcta__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 20px;
}
.finalcta__microcopy {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-on-dark-soft);
}

/* ---------------- Página de obrigado ---------------- */
.thanks { padding-top: 100px; padding-bottom: 110px; min-height: 70vh; display: flex; align-items: center; }
.thanks__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; text-align: center; }
.thanks__inner .eyebrow { justify-content: center; }
.thanks__inner .hero__subtitle { margin-left: auto; margin-right: auto; }
.thanks__inner .hero__actions { justify-content: center; }

.thanks__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--color-cyan);
  color: var(--color-black);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ---------------- Formulário de captação (Netlify) ---------------- */
.lead-form {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-black-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.lead-form__group {
  margin-bottom: 18px;
  text-align: left;
}

.lead-form__group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  margin-bottom: 8px;
}

.lead-form__group input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-on-dark);
  background: var(--color-black);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.lead-form__group input::placeholder { color: #5B6672; }

.lead-form__group input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.lead-form__group input:invalid:not(:placeholder-shown) {
  border-color: #FF5C5C;
}

.lead-form button[type="submit"] {
  margin-top: 6px;
}

.lead-form__microcopy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-on-dark-soft);
  text-align: center;
  opacity: 0.8;
}

/* Campo anti-spam: fica escondido da pessoa, mas visível para robôs de leitura de página */
.lead-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 560px) {
  .lead-form { padding: 28px 22px; }
}

/* ---------------- FAQ ---------------- */
.faq__item {
  border-bottom: 1px solid #E4E9EC;
  padding: 18px 0;
}
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-cyan);
  font-size: 20px;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p {
  margin-top: 12px;
  color: var(--text-on-light-soft);
  font-size: 15px;
}

/* ---------------- CTA final ---------------- */
.section--finalcta { text-align: center; }
.section--finalcta .section__title { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 32px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--color-black); border-top: 1px solid var(--color-line); padding: 28px 0; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-on-dark-soft);
  font-size: 13px;
}
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--color-cyan); }

/* ---------------- Botão flutuante ---------------- */
/* Tamanho e link deste botão são controlados em js/config.js
   (propriedades floatingButton.size e links.ctaPrincipal) */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: var(--color-cyan);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
  transition: transform .15s ease, opacity .2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-cta:hover { transform: translateY(-3px) scale(1.02); }

@media (max-width: 600px) {
  .floating-cta { right: 16px; bottom: 16px; }
}
