/* ============================================================
   natto — marketing e vendas
   Identidade monocromática: branco sobre preto (cores da logo)
   ============================================================ */

:root {
  --black: #0a0a0c;
  --black-soft: #101013;
  --black-card: #16161a;
  --white: #ffffff;
  --blue: #0066b8; /* azul da logo natto */
  --blue-mid: #2196f0;
  --blue-light: #4da9ff;
  --gray-100: #f2f2f4;
  --gray-400: #b9b9c0;
  --gray-500: #8d8d96;
  --gray-700: #3a3a42;
  --line: rgba(255, 255, 255, 0.09);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius: 18px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--gray-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Tracing beam (serpenteia pelo centro e desce com o scroll) ---------- */
.trace {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.trace-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  overflow: visible;
}
.trace path { fill: none; }
.trace-track {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
}
.trace-fill {
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 2;
}
.trace-tip {
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.trace-dot {
  position: absolute;
  top: -5.5px;
  left: -5.5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 6px 2px rgba(255, 255, 255, 0.9),
    0 0 22px 8px rgba(255, 255, 255, 0.35),
    0 0 60px 18px rgba(255, 255, 255, 0.12);
  will-change: transform;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--white); line-height: 1.15; }

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; font-weight: 600; }

h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(105deg, #7cc0ff 0%, var(--blue-mid) 45%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Tags / labels ---------- */
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-blue {
  background: linear-gradient(105deg, var(--blue-mid), var(--blue));
  color: var(--white);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(33, 150, 240, 0.35);
}

.btn-full { width: 100%; }
.btn-nav { padding: 11px 24px; font-size: 0.88rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 56px; width: auto; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--gray-400);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 165px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background:
    radial-gradient(ellipse at center, rgba(33, 150, 240, 0.16), transparent 62%),
    radial-gradient(ellipse 60% 45% at center, rgba(0, 102, 184, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

.hero-sub {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: 1.08rem;
  color: var(--gray-400);
}
.hero-sub strong { color: var(--white); font-weight: 600; }

/* ---------- Logos strip ---------- */
.logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
  background: var(--black-soft);
}
.logos-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 26px;
}
.logos-marquee {
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 16s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}
@keyframes logos-scroll {
  to { transform: translateX(-50%); }
}
.logo-item {
  height: 72px;
  width: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.logo-item:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-contrast {
  background-color: var(--black-soft);
  background-image:
    radial-gradient(ellipse 85% 65% at 50% 115%, rgba(0, 102, 184, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 40% at 12% -10%, rgba(33, 150, 240, 0.07), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-sub { margin-top: 18px; color: var(--gray-400); font-size: 1.05rem; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray-400); font-size: 0.97rem; }

.card-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.card-big { padding: 42px 38px; }

.check-list { list-style: none; margin-top: 18px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--gray-400);
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-light);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 5.9-4.2 4.8a.75.75 0 0 1-1.1.04L4.3 8.6a.75.75 0 1 1 1.06-1.06l1.5 1.5 3.7-4.2a.75.75 0 1 1 1.13 1z"/></svg>') center / contain no-repeat;
}

.fvp-cta { text-align: center; margin-top: 50px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 22px;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px;
}
.step-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--blue-light);
}
.step-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step-arrow { color: var(--gray-500); font-weight: 400; margin: 0 2px; }
.step-name {
  background: linear-gradient(105deg, #7cc0ff 0%, var(--blue-mid) 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-body {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 30px;
  margin: 0;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.97rem;
}

/* ---------- Numbers ---------- */
.numbers {
  padding: 90px 0;
  background-image: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 102, 184, 0.1), transparent 70%);
}
.numbers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.number-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.number-label {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 0.92rem;
  max-width: 220px;
  margin-inline: auto;
}

/* ---------- Depoimentos em vídeo ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.video-grid-centered {
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
}
.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.25); }
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card.playing video { object-fit: contain; }
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: grid;
  place-items: center;
  box-shadow: 0 0 28px rgba(46, 123, 246, 0.5);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--white);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.video-card:hover .video-play { transform: scale(1.1); }
.video-card.playing .video-play { opacity: 0; pointer-events: none; }
.video-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black-card);
}

/* ---------- Form ---------- */
.lead-form {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 38px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lead-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.lead-form input,
.lead-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.lead-form input:focus,
.lead-form select:focus { border-color: rgba(255, 255, 255, 0.4); }
.lead-form input::placeholder { color: var(--gray-500); }
.lead-form select:invalid { color: var(--gray-500); }
.lead-form select option {
  color: var(--gray-100);
  background: var(--black-card);
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Formulário do hero ---------- */
.hero-form {
  padding: 30px 26px;
  background: rgba(22, 22, 26, 0.85);
  backdrop-filter: blur(8px);
}
.hero-form input,
.hero-form select {
  margin: 0 0 12px;
  border-radius: 999px;
  padding: 14px 22px;
}
.hero-form select { appearance: none; }
.hero-form input::placeholder { color: var(--gray-500); }
.hero-form select:invalid { color: var(--gray-500); }
.hero-form .form-note { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--black-soft);
  padding: 70px 0 0;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--gray-500); font-size: 0.92rem; max-width: 340px; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.footer-links a { color: var(--gray-500); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
  color: var(--gray-700);
  font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .card-big { padding: 34px 28px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 72px; }
  .grid-3, .steps, .numbers-row, .form-row { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lead-form { padding: 30px 20px; }

  .navbar { padding: 10px 0; }
  .nav-inner { gap: 12px; }
  .nav-logo img { height: 44px; }
  .btn-nav { padding: 10px 18px; font-size: 0.8rem; white-space: nowrap; }

  .hero-sub { font-size: 1.02rem; }
  .hero-form { padding: 24px 18px; }

  .tag { font-size: 0.7rem; padding: 7px 14px; }
  .section-head { margin-bottom: 44px; }
  .card { padding: 28px 22px; }
  .card-big { padding: 30px 22px; }
  .step-head { padding: 14px 18px; }
  .step-head h3 { font-size: 1.05rem; }
  .step-body { padding: 20px 18px; }
  .numbers { padding: 64px 0; }
  .logos-strip { padding: 34px 0; }
  .logo-item { height: 60px; }
  .footer { padding-top: 54px; }
}
