/* =====================================================================
   SALÁRIO SECRETO — Folha de estilos
   Para mudar as cores do site, edite as variáveis em :root.
   ===================================================================== */

:root {
  /* Cores */
  --navy-950: #071120;
  --navy-900: #0b1a30;
  --navy-800: #12263f;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;

  --green-300: #6ee7b7;
  --green-400: #34d399;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;

  /* Medidas e sombras */
  --header-h: 68px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 48, 0.06), 0 2px 8px rgba(11, 26, 48, 0.05);
  --shadow-md: 0 12px 34px rgba(11, 26, 48, 0.1);
  --shadow-lg: 0 30px 70px rgba(7, 17, 32, 0.35);

  /* Tipografia */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg, video, iframe { max-width: 100%; }
a { color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

/* ------------------------------ Botões ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--green-400), var(--green-500));
  color: #03130c;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ------------------------------ Cabeçalho ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.brand-light { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--bg-alt); }
.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 76px 0 150px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(16, 185, 129, 0.28), transparent 60%),
    radial-gradient(700px 480px at 0% 10%, rgba(59, 110, 200, 0.26), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d7f5e8;
  font-size: 0.85rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 22px auto 20px;
  max-width: 18ch;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(90deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  margin: 0 auto 34px;
  color: #b9c6d8;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin-top: 24px; color: #8fa1b8; font-size: 0.95rem; }
.hero-note strong { color: #fff; }

/* ------------------------------ Vídeo ------------------------------ */
.video-section { position: relative; z-index: 2; margin-top: -104px; padding-bottom: 12px; }
.container-video { width: min(980px, 100% - 32px); }

.video-card {
  background: var(--navy-800);
  padding: 10px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}
.video-card.is-vertical { max-width: 420px; margin-inline: auto; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: #9fb0c6;
  font-size: 0.95rem;
}
.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--green-400);
  animation: spin 0.9s linear infinite;
}
.video-frame[data-state="message"] .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.video-cta { text-align: center; margin-top: 32px; }

/* ------------------------------ Seções ------------------------------ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 16px;
  text-wrap: balance;
}

.muted { color: var(--muted); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 48px; }
.section-head p { font-size: 1.08rem; }

/* O que é */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.col-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 14px; }

.facts { display: grid; gap: 14px; }
.facts li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.fact-value {
  min-width: 112px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.fact-label { color: var(--muted); font-size: 0.95rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(16, 185, 129, 0.45); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-700);
}
.card h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Benefícios */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: var(--bg-alt);
  border-radius: 20px;
}
.benefit h3 { font-size: 1.1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.benefit p { color: var(--muted); font-size: 0.97rem; }

.tick {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
}
.tick::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--green-700);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.tick-sm { width: 22px; height: 22px; }
.tick-sm::after { left: 7.5px; top: 4px; width: 5px; height: 9px; border-width: 0 2px 2px 0; }

/* Preço */
.price-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 44px 32px 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-300), var(--green-600));
}
.price-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 700;
}
.price {
  margin: 20px 0 6px;
  font-size: clamp(3rem, 10vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-sub { color: var(--muted); font-size: 1.05rem; }
.price-sub strong { color: var(--ink); }

.price-list { display: grid; gap: 12px; margin: 28px 0; text-align: left; }
.price-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.price-note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.is-open { border-color: rgba(16, 185, 129, 0.5); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: inherit; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--green-700);
  transition: transform 0.3s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
.faq-a p { padding: 0 22px 22px; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { visibility: visible; transition-delay: 0s; }

/* Chamada final */
.final-cta {
  padding: 92px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(16, 185, 129, 0.3), transparent 65%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.final-cta h2 { max-width: 20ch; margin-inline: auto; }
.final-cta p { color: #b9c6d8; font-size: 1.12rem; margin-bottom: 30px; }
.final-cta p strong { color: #fff; }

/* ------------------------------ Rodapé ------------------------------ */
.site-footer { background: var(--navy-950); color: #8fa1b8; padding: 52px 0 30px; font-size: 0.93rem; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #b9c6d8; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-contact { margin-top: 22px; }
.footer-contact a { color: var(--green-300); }
.footer-disclaimer { margin-top: 22px; max-width: 760px; font-size: 0.85rem; line-height: 1.7; }
.footer-bottom { margin-top: 22px; font-size: 0.85rem; }

/* ------------------------------ Barra fixa (celular) ------------------------------ */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  color: #fff;
  background: rgba(11, 26, 48, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  transform: translateY(140%);
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.sticky-cta.is-visible { visibility: visible; transform: none; transition-delay: 0s; }
.sticky-text { font-size: 0.95rem; }

/* ------------------------------ Animações de entrada ------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ------------------------------ Responsivo ------------------------------ */
@media (max-width: 860px) {
  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 13px 12px; font-size: 1.02rem; }
  .nav-cta { margin: 10px 0 0; padding: 14px 18px; }

  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .section-head.center { margin-bottom: 36px; }
  .hero { padding: 52px 0 128px; }
  .video-section { margin-top: -88px; }
  .video-card { padding: 6px; border-radius: 20px; }
  .video-frame { border-radius: 15px; }
  .hero-actions .btn { width: 100%; max-width: 360px; }
  .price-card { padding: 38px 22px 28px; }
  .fact-value { min-width: 96px; font-size: 1.3rem; }
  .final-cta { padding: 72px 0; }
}

/* ------------------------------ Acessibilidade ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
