:root {
  --ink: #091211;
  --muted: #5c6b66;
  --border: #dbe3e0;
  --accent: #21e094;
  --accent-soft: #e0fcf0;
  --accent-text: #14a86e;
  --brand: #0dd97a;
  --dark: #0e1816;
  --white: #ffffff;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section-gap: 120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.2;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1281px) { .container { padding: 0; } }

/* ---------- Shared ---------- */
.pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
}
.pill--strong { background: var(--accent); color: var(--ink); }
.pill--dark { background: #1f2e29; color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(9, 18, 17, .45); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #3ae8a2; box-shadow: 0 10px 28px -8px rgba(33, 224, 148, .55); }
.btn--outline { background: transparent; border: 1px solid #b8ccc4; color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, .06); }
.btn__arrow { width: 16px; font-size: 16px; font-weight: 700; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted); }
.checks--light li { color: var(--white); }
.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding-top: 2px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.section { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: var(--section-gap); }
.h2 { font-size: 40px; font-weight: 700; letter-spacing: -.01em; max-width: 840px; }
.h2--38 { font-size: 38px; }
.h2--36 { font-size: 36px; }
.sub { font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 640px; }

.link { display: inline-flex; gap: 6px; color: var(--accent-text); font-size: 13px; font-weight: 600; }
.link span { font-weight: 700; transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(3px); }

/* ---------- Header fixo ---------- */
.nav-wrap {
  position: fixed; inset: 0 0 auto;
  z-index: 50;
  padding: 11px 0;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.nav-wrap.is-scrolled {
  background: rgba(14, 24, 22, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  padding: 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 8px; height: 36px; font-size: 20px; font-weight: 700; }
.brand__mark { width: 36px; height: 36px; padding: 3px; border-radius: 10px; background: var(--white); }
.brand__finaliza { color: #f5faf7; }
.brand__tcc { color: var(--brand); margin-left: -2px; }
.nav__links { display: flex; gap: 26px; font-size: 13px; font-weight: 500; color: var(--white); }
.nav__links a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(33, 224, 148, .16), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, rgba(33, 224, 148, .08), transparent 70%),
    var(--dark);
  padding: 150px 0 110px;
  border-radius: 0 0 40px 40px;
}
.hero__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 18px; }
.hero__title { font-size: 64px; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; color: var(--white); }
.hero__lead { font-size: 20px; line-height: 1.4; color: #ccd9d4; max-width: 570px; }
.hero__copy .checks { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 28px; margin-top: 4px; }
.hero__actions { display: flex; gap: 12px; margin-top: 8px; }
.hero__art {
  width: 100%; height: auto;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35));
}

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 12px; }
.service {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: #bfe9d6; box-shadow: 0 18px 40px -22px rgba(20, 168, 110, .45); }
.service__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 12px; font-weight: 700;
  transition: background-color .3s, color .3s;
}
.service:hover .service__icon { background: var(--accent); color: var(--ink); }
.service__title { font-size: 18px; font-weight: 600; }
.service__text { font-size: 14px; line-height: 1.45; color: var(--muted); flex: 1; }

/* ---------- Como funciona ---------- */
.section--steps { gap: 22px; }
.steps {
  list-style: none;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  width: 100%; margin-top: 8px;
}
.steps::before {
  content: '';
  position: absolute; top: 19px; left: 19px; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #bfe9d6 0 8px, transparent 8px 16px);
}
.step { position: relative; display: flex; flex-direction: column; gap: 8px; }
.step__num {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 19px;
  background: var(--accent); font-size: 14px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--white);
  margin-bottom: 6px;
}
.step__title { font-size: 16px; font-weight: 600; }
.step__text { font-size: 14px; color: var(--muted); }

/* ---------- Cards escuros ---------- */
.dark-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: var(--section-gap);
  padding: 56px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(33, 224, 148, .14), transparent 70%),
    var(--dark);
}
.dark-card__title { font-size: 38px; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }

.story__copy, .cta__copy, .analysis__copy { display: flex; flex-direction: column; gap: 18px; }
.story__text, .cta__text { font-size: 16px; line-height: 1.45; color: #bfd1c9; max-width: 470px; }
.story__art {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 22px;
  -webkit-mask-image: radial-gradient(120% 110% at 60% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 110% at 60% 50%, #000 55%, transparent 100%);
}

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 12px; }
.plan {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(9, 18, 17, .35); }
.plan .checks { flex: 1; }
.plan .btn { margin-top: 6px; }
.plan--featured { background: var(--accent-soft); border: 2px solid var(--accent); }
.plan--featured .pill { position: absolute; top: -15px; left: 22px; }
.plan--featured { position: relative; }
.plan__name { font-size: 16px; font-weight: 600; }
.plan__price { font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.plan__price small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 2px; }

/* ---------- Análise ---------- */
.analysis__title { font-size: 36px; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
.analysis__text { font-size: 16px; line-height: 1.45; color: #a6b8b2; max-width: 420px; }
.analysis__art { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.analysis__art img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border: 1px solid #2e473d; border-radius: 18px;
  transition: transform .4s var(--ease);
}
.analysis__art img:nth-child(2) { transform: translateY(28px); }
.analysis__art img:hover { transform: translateY(-4px) scale(1.02); }
.analysis__art img:nth-child(2):hover { transform: translateY(22px) scale(1.02); }

/* ---------- FAQ ---------- */
.section--faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.faq__intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--white);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.faq details:hover { border-color: #bfe9d6; }
.faq details[open] { border-color: var(--accent); background: #f7fdfa; box-shadow: 0 12px 30px -20px rgba(20, 168, 110, .5); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 18px; font-weight: 500;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq details p { padding: 0 20px 18px; font-size: 14px; line-height: 1.5; color: var(--muted); animation: faq-in .35s var(--ease); }

/* ---------- CTA ---------- */
.cta { margin-bottom: 80px; }
.cta__art {
  justify-self: end;
  width: 100%; max-width: 440px;
  padding: 12px;
  background: #ebf7f0;
  border-radius: 22px;
}
.cta__art img { width: 100%; aspect-ratio: 406 / 250; object-fit: contain; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand--footer { font-size: 16px; }
.brand--footer .brand__finaliza { color: var(--ink); }
.brand--footer .brand__mark { width: 28px; height: 28px; padding: 0; }

/* ---------- Animações ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* depois de aparecer, hover volta a ser instantâneo */
.service.is-visible, .plan.is-visible { transition-delay: 0ms; transition-duration: .3s; }
.analysis__art img.reveal.is-visible:nth-child(2) { transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__art { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  :root { --section-gap: 96px; }
  .hero__title { font-size: 52px; }
  .services, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .dark-card { padding: 44px; gap: 36px; }
}

@media (max-width: 860px) {
  .hero__body, .dark-card, .section--faq { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; margin: 0 auto; }
  .faq__intro { position: static; }
  .cta__art { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --section-gap: 72px; }
  .nav__links { display: none; }
  .nav { height: 60px; }
  .nav .btn { padding: 9px 14px; border-radius: 999px; font-size: 12px; }
  .nav .btn .btn__arrow { display: none; }
  .brand { font-size: 18px; }
  .brand__mark { width: 30px; height: 30px; }
  .hero { padding: 110px 0 64px; border-radius: 0 0 28px 28px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 16px; }
  .hero__copy .checks { grid-template-columns: 1fr; }
  .hero__actions { flex-wrap: wrap; }
  .h2, .h2--38, .h2--36, .dark-card__title, .analysis__title { font-size: 30px; }
  .services, .plans, .steps { grid-template-columns: 1fr; }
  .dark-card { padding: 28px 22px; border-radius: 22px; }
  .analysis__art img:nth-child(2),
  .analysis__art img.reveal.is-visible:nth-child(2) { transform: none; }
}

/* ---------- Páginas de serviço ---------- */
.hero--page { padding-top: 130px; }
.back { display: inline-block; margin-bottom: 28px; font-size: 13px; font-weight: 500; color: #a6b8b2; transition: color .2s; }
.back:hover { color: var(--accent); }
.hero--page .hero__title { font-size: 52px; }
.hero__art--card { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; animation: float 8s ease-in-out infinite; }
.price-box { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.price-box small { font-size: 13px; color: #a6b8b2; }
.price-box strong { font-size: 36px; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.price-box strong span { font-size: 18px; font-weight: 500; color: #a6b8b2; margin-left: 2px; }

.includes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 12px; }
.include {
  display: flex; gap: 12px; padding: 22px;
  border: 1px solid var(--border); border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.include:hover { transform: translateY(-3px); border-color: #bfe9d6; box-shadow: 0 16px 36px -22px rgba(20, 168, 110, .45); }
.include h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.include p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.include .check { margin-top: 1px; }

.checks--big { gap: 18px; }
.checks--big li { font-size: 17px; line-height: 1.35; }
.checks--big .check { width: 22px; height: 22px; border-radius: 11px; font-size: 13px; padding-top: 3px; }

.services--mini { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service--mini { gap: 14px; padding: 20px; }
.service--mini .service__title { font-size: 15px; flex: 1; }

@media (max-width: 1100px) {
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero--page { padding-top: 100px; }
  .hero--page .hero__title { font-size: 36px; }
  .includes, .services--mini { grid-template-columns: 1fr; }
}
