/* ===================== Base / tokens ===================== */
:root {
  --green: #25d366;
  --green-dark: #128c7e;
  --teal-deep: #075e54;
  --ink: #0b141a;
  --ink-2: #111b21;
  --panel: #1f2c33;
  --muted: #667781;
  --line: #e6e9eb;
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(11, 20, 26, 0.08);
  --shadow-lg: 0 24px 70px rgba(11, 20, 26, 0.16);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.grad {
  background: linear-gradient(120deg, var(--green), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-dark); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35); }
.btn--outline { background: #fff; color: var(--green-dark); border: 1.5px solid var(--green-dark); }
.btn--outline:hover { background: #f0faf7; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--green-dark); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { box-shadow: var(--shadow-lg); }
.btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; border-radius: 9px; font-weight: 900;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: #3b4a54; }
.nav__links a:hover { color: var(--green-dark); }
.nav__login-mobile { display: none; } /* só aparece no menu mobile */
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ===================== Hero ===================== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(37, 211, 102, 0.12), transparent),
    linear-gradient(180deg, #f4f7f6, #ffffff);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block;
  background: rgba(18, 140, 126, 0.1);
  color: var(--green-dark);
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.07; font-weight: 900; letter-spacing: -0.02em; }
.hero__sub { font-size: 18px; color: #3b4a54; margin: 22px 0 30px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Hero art — telefone */
.hero__art { position: relative; display: grid; place-items: center; }
.phone {
  width: 320px;
  background: var(--ink-2);
  border-radius: 30px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #0b141a;
}
.phone__top {
  display: flex; align-items: center; gap: 10px;
  background: var(--teal-deep); color: #fff;
  padding: 12px 14px; border-radius: 14px 14px 0 0;
}
.phone__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  font-weight: 800;
}
.phone__top small { display: block; opacity: 0.8; font-size: 12px; }
.phone__chat {
  background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='%230b141a'/%3E%3Ccircle cx='8' cy='8' r='1' fill='%23142028'/%3E%3C/svg%3E");
  padding: 16px 12px; display: flex; flex-direction: column; gap: 10px;
  border-radius: 0 0 14px 14px; min-height: 320px;
}
.bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.4;
}
.bubble--in { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble--out { background: #d9fdd3; color: #0b1f17; align-self: flex-end; border-bottom-right-radius: 3px; }
.bubble--ai { background: #fff6d6; color: #7a5c00; font-size: 12px; font-weight: 600; align-self: center; max-width: 95%; text-align: center; }
.hero__badge {
  position: absolute; background: #fff; box-shadow: var(--shadow);
  padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.hero__badge--1 { top: 18px; left: -6px; color: var(--green-dark); }
.hero__badge--2 { bottom: 32px; right: -10px; color: #3b4a54; }

/* ===================== Strip ===================== */
.strip { background: var(--ink); color: #fff; padding: 30px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip strong { display: block; font-size: 30px; font-weight: 900; color: var(--green); }
.strip span { font-size: 14px; opacity: 0.8; }

/* ===================== Sections ===================== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { color: var(--green-dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.section__head h2 { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; margin: 10px 0 14px; }
.section__head p { font-size: 17px; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(37,211,102,0.15), rgba(18,140,126,0.15));
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; }
.step__num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__arrow::before {
  content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%);
  color: var(--green); font-size: 28px; font-weight: 700;
}

/* ===================== Preços ===================== */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.billing-toggle__label { font-size: 15px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.billing-toggle__label.is-active { color: var(--ink); }
.billing-toggle__label em { font-style: normal; background: rgba(37,211,102,0.15); color: var(--green-dark); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.switch {
  width: 52px; height: 28px; border-radius: 999px; border: none;
  background: var(--green-dark); cursor: pointer; position: relative; padding: 0;
}
.switch span {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  background: #fff; border-radius: 50%; transition: transform 0.2s ease;
}
.switch.is-yearly span { transform: translateX(24px); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 28px; position: relative;
}
.plan--featured {
  border: 2px solid var(--green-dark);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green-dark); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 22px; }
.plan__desc { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 40px; }
.plan__price { display: flex; align-items: flex-start; gap: 2px; }
.plan__currency { font-size: 20px; font-weight: 700; margin-top: 8px; }
.plan__amount { font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.plan__period { color: var(--muted); font-size: 15px; align-self: flex-end; margin-bottom: 6px; }
.plan__yearly { color: var(--green-dark); font-size: 13px; font-weight: 600; min-height: 18px; margin: 6px 0 20px; }
.plan__subscribe {
  display: block; text-align: center; margin-top: 10px;
  font-size: 13.5px; font-weight: 700; color: var(--green-dark);
}
.plan__subscribe:hover { text-decoration: underline; }
.plan__list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 11px; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: #2c3a42; }
.plan__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px;
}
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--green-dark); font-size: 22px; font-weight: 700; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ===================== CTA final ===================== */
.cta-final {
  background: linear-gradient(120deg, var(--teal-deep), var(--green-dark));
  color: #fff; text-align: center; padding: 76px 0;
}
.cta-final h2 { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.cta-final p { font-size: 18px; opacity: 0.92; margin: 12px 0 28px; }

/* ===================== Footer ===================== */
.footer { background: var(--ink); color: #c5ccd0; padding: 52px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.brand--footer { color: #fff; }
.footer__tag { margin-top: 12px; font-size: 14px; opacity: 0.7; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { padding-top: 22px; font-size: 13px; opacity: 0.6; }

/* ===================== Modal ===================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 20, 26, 0.55); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; background: #fff; border-radius: 18px;
  width: 100%; max-width: 440px; padding: 32px 30px;
  box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto;
  animation: pop 0.18s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal__head { margin-bottom: 20px; }
.modal__head h3 { font-size: 23px; font-weight: 800; }
.modal__head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: #3b4a54; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input {
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.15s;
}
.field input:focus { border-color: var(--green-dark); }
.modal__error { background: #fff0f0; color: #c0392b; font-size: 14px; padding: 10px 13px; border-radius: 8px; }
.modal__foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }
.modal__foot a { color: var(--green-dark); font-weight: 600; }

/* ===================== Selo Provedor Meta ===================== */
.meta-badge {
  margin-top: 18px; display: inline-flex; align-items: flex-start; gap: 10px;
  background: #eef4ff; border: 1px solid #d3e3ff; border-radius: 12px;
  padding: 11px 14px; font-size: 13.5px; color: #1c3a63; max-width: 460px; line-height: 1.45;
}
.meta-badge__check {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  background: #1877f2; color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.meta-badge strong { color: #1877f2; }

.eyebrow--blue { color: #1877f2; }
.meta-blue {
  background: linear-gradient(120deg, #1877f2, #0a59c9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.meta-feature {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.meta-feature__lead { font-size: 17px; color: #3b4a54; margin: 14px 0 18px; }
.meta-feature__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.meta-feature__list li {
  position: relative; padding-left: 30px; font-size: 15px; color: #2c3a42; line-height: 1.5;
}
.meta-feature__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: #1877f2; color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.meta-card {
  background: linear-gradient(160deg, #1877f2, #0a59c9); color: #fff;
  border-radius: 20px; padding: 32px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(24, 119, 242, 0.30);
}
.meta-card__seal { font-size: 46px; line-height: 1; }
.meta-card__title { display: block; font-size: 21px; font-weight: 800; margin-top: 12px; }
.meta-card__org { display: block; font-size: 13px; opacity: 0.85; margin-top: 4px; }
.meta-card__line { height: 1px; background: rgba(255,255,255,0.25); margin: 20px 0; }
.meta-card__checks { list-style: none; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.meta-card__checks li { position: relative; padding-left: 26px; font-size: 14.5px; }
.meta-card__checks li::before {
  content: "✓"; position: absolute; left: 0; color: #fff; font-weight: 800;
}

.plan__meta { color: #1877f2; font-weight: 700; }
.plan__meta::before { color: #1877f2 !important; }

.footer__meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===================== Responsivo ===================== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .hero__art { order: -1; }
  /* selos flutuantes são decorativos — escondidos no mobile p/ não vazar a tela */
  .hero__badge { display: none; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .step__arrow::before { display: none; }
  .nav__links { display: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .meta-feature { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: block; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--line);
  }
  .nav__login-mobile {
    display: block; color: var(--green-dark); font-weight: 800;
    border-top: 1px solid var(--line); padding-top: 16px;
  }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 33px; }
  .hero__sub { font-size: 16px; }
  .section { padding: 60px 0; }
  .section__head h2, .cta-final h2 { font-size: 28px; }
  .hero__cta .btn { flex: 1; }
  .phone { width: 100%; max-width: 300px; }
  .meta-feature__lead { font-size: 15.5px; }
  .meta-card { padding: 26px 22px; }
}

/* ===== Botão flutuante WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  z-index: 1000;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}
.wa-float svg { width: 32px; height: 32px; display: block; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 29px; height: 29px; }
}
