/* ============================================================
   scaloo, Google Meu Negócio
   Dark-first · editorial · cinematic
   ============================================================ */

:root {
  --bg:            #0a0610;
  --bg-soft:       #110a1c;
  --surface:       rgba(255, 255, 255, 0.024);
  --surface-2:     rgba(255, 255, 255, 0.04);
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:          #f4f1f8;
  --text-soft:     #b6aec6;
  --text-dim:      #7d748f;

  --violet:        #7c3aed;
  --fuchsia:       #d946ef;
  --orange:        #fb923c;
  --grad:          linear-gradient(100deg, #7c3aed 0%, #d946ef 50%, #fb923c 100%);
  --grad-soft:     linear-gradient(100deg, rgba(124,58,237,.16), rgba(217,70,239,.14), rgba(251,146,60,.16));

  --radius:        18px;
  --radius-lg:     26px;
  --maxw:          1180px;

  --ease:          cubic-bezier(.22, 1, .36, 1);
  --shadow:        0 30px 80px -30px rgba(0,0,0,.7);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 3px solid rgba(251, 146, 60, .9);
  outline-offset: 4px;
}

/* ---------- Ambient background ---------- */
.bg-grain {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #1a1030 0%, var(--bg) 55%),
    var(--bg);
}
.bg-glow {
  position: fixed; z-index: -2; pointer-events: none;
  border-radius: 50%; filter: blur(120px); opacity: .5;
}
.bg-glow--top {
  width: 700px; height: 700px; top: -280px; right: -120px;
  background: radial-gradient(circle, rgba(217,70,239,.4), transparent 65%);
}
.bg-glow--mid {
  width: 620px; height: 620px; top: 38%; left: -240px;
  background: radial-gradient(circle, rgba(124,58,237,.34), transparent 65%);
}

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

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography helpers ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  padding: 7px 15px; border: 1px solid var(--border);
  border-radius: 100px; background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fuchsia); box-shadow: 0 0 12px var(--fuchsia);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fuchsia); margin-bottom: 18px;
}
.kicker--danger { color: var(--orange); }

.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section__title {
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06;
  font-weight: 700; letter-spacing: -0.03em;
}
.section__lead { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-soft); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 6, 16, .72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 58px; width: auto; display: block; }
.footer__brand .brand__logo { height: 52px; }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 14.5px; color: var(--text-soft); font-weight: 500;
  position: relative; transition: color .2s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--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__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 16px 24px 28px;
  background: rgba(10,6,16,.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a { padding: 13px 4px; color: var(--text-soft); font-weight: 500; border-bottom: 1px solid var(--border); }
.nav__mobile .btn { margin-top: 14px; justify-content: center; }
.nav__mobile.is-open { display: flex; animation: slideDown .3s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; border-radius: 100px; cursor: pointer;
  padding: 13px 24px; transition: transform .2s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  min-height: 48px;
  text-align: center;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn--primary {
  color: #fff; background: var(--grad); background-size: 160% 160%;
  box-shadow: 0 10px 30px -8px rgba(217,70,239,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(217,70,239,.65), inset 0 1px 0 rgba(255,255,255,.3); background-position: 100% 50%; }

.btn--ghost { color: var(--text); background: var(--surface-2); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--text-dim); transform: translateY(-2px); }

.btn--whats { color: #fff; background: #25d366; box-shadow: 0 10px 30px -10px rgba(37,211,102,.6); width: 100%; }
.btn--whats:hover { transform: translateY(-2px); background: #20bd5a; box-shadow: 0 16px 40px -12px rgba(37,211,102,.7); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(50px, 8vw, 90px); padding-bottom: clamp(40px, 5vw, 60px); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}
.hero__title {
  margin-top: 26px; font-size: clamp(38px, 6vw, 70px); line-height: 1.02;
  font-weight: 800; letter-spacing: -0.04em;
}
.hero__title em { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.hero__title .strike { position: relative; color: var(--text-dim); }
.hero__title .strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: 4px;
  background: var(--grad); border-radius: 4px; transform: rotate(-2.5deg);
}
.hero__sub { margin-top: 26px; font-size: clamp(16px, 1.7vw, 19px); color: var(--text-soft); max-width: 540px; }

.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__trust { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-soft); }
.hero__trust strong { color: var(--text); }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }

/* Hero visual */
.hero__visual { position: relative; }
.gprofile {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.gprofile__top { display: flex; gap: 14px; align-items: center; }
.gprofile__avatar {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--grad); display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 16px;
}
.gprofile__name { font-weight: 700; font-size: 16px; }
.gprofile__meta { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.gprofile__rating { color: var(--orange); font-weight: 600; }

.gprofile__actions { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.gpill {
  font-size: 12.5px; padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--text-soft); background: var(--surface);
}
.gpill--active { background: var(--grad); color: #fff; border-color: transparent; }

.gprofile__chart, .dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bar { flex: 1; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.1); height: var(--h); transition: height 1s var(--ease); }
.bar--peak { background: var(--grad); box-shadow: 0 0 20px rgba(217,70,239,.5); }

.gprofile__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--text-dim); }
.trend { color: #4ade80; font-weight: 700; }

.float-card {
  position: absolute; background: rgba(17,10,28,.9); border: 1px solid var(--border-strong);
  border-radius: 16px; padding: 14px 18px; backdrop-filter: blur(14px);
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.float-card--calls { top: -22px; left: -28px; }
.float-card--reply { bottom: -22px; right: -22px; animation-delay: -2.5s; }
.float-card__num { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.float-card--calls .float-card__num { color: #4ade80; }
.float-card__label { font-size: 12px; color: var(--text-dim); }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Proof bar */
.proofbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 28px 20px; backdrop-filter: blur(10px);
}
.proofbar__item { text-align: center; }
.proofbar__item strong { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.proofbar__item:nth-child(1) strong { color: var(--violet); }
.proofbar__item:nth-child(2) strong { color: var(--fuchsia); }
.proofbar__item:nth-child(3) strong { color: var(--orange); }
.proofbar__item:nth-child(4) strong { color: #4ade80; }
.proofbar__item span { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   CARDS (pain / feature / step)
   ============================================================ */
.pain, .feature, .step {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 28px; transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.pain::before, .feature::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-soft); opacity: 0; transition: opacity .35s; pointer-events: none;
}
.pain:hover, .feature:hover, .step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pain:hover::before, .feature:hover::before { opacity: 1; }

.pain__icon { font-size: 28px; margin-bottom: 16px; }
.pain h3, .feature h3, .step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; position: relative; }
.pain p, .feature p, .step p { color: var(--text-soft); font-size: 15px; position: relative; }

.feature__num {
  font-family: 'Instrument Serif', serif; font-size: 34px; color: var(--text-dim);
  margin-bottom: 8px; -webkit-text-fill-color: transparent; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; opacity: .9;
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.section--showcase { background: linear-gradient(180deg, transparent, rgba(124,58,237,.04), transparent); }
.showcase { display: flex; flex-direction: column; gap: 22px; }
.showcase__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: clamp(28px, 4vw, 48px);
}
.showcase__row--reverse .showcase__text { order: 2; }
.showcase__text h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.showcase__text p { color: var(--text-soft); font-size: 16px; }
.showcase__text strong { color: var(--text); }
.showcase__card {
  background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}

.info-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .ok { color: #4ade80; font-weight: 600; font-size: 13px; }

.rating-big { text-align: center; padding: 8px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.rating-big__score { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; }
.rating-big__stars { color: var(--orange); font-size: 18px; letter-spacing: 3px; }
.rating-big__count { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-dim); }
.rb i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.rb i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: var(--grad); border-radius: 6px; }

.dash__big { text-align: center; margin-bottom: 18px; }
.dash__big span { display: block; font-size: 42px; font-weight: 800; letter-spacing: -0.04em; }
.dash__big small { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   METRICS + STEPS
   ============================================================ */
.metrics { margin-bottom: 48px; }
.metric {
  text-align: center; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 28px 18px;
}
.metric strong { display: block; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.metric:nth-child(1) strong { color: var(--violet); }
.metric:nth-child(2) strong { color: var(--fuchsia); }
.metric:nth-child(3) strong { color: var(--orange); }
.metric:nth-child(4) strong { color: #4ade80; }
.metric span { font-size: 13.5px; color: var(--text-dim); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(217,70,239,.6);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 30px; transition: transform .3s var(--ease), border-color .3s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 17px; color: var(--text); line-height: 1.55; letter-spacing: -0.015em; }
.quote footer { margin-top: 16px; font-size: 13px; color: var(--text-dim); font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__chevron::before, .faq__chevron::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--fuchsia); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__chevron::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__chevron::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__chevron::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body { padding: 0 24px 22px; color: var(--text-soft); font-size: 15.5px; }
.faq__body p { max-width: 600px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta__card {
  position: relative; text-align: center; overflow: hidden;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(124,58,237,.12), rgba(10,6,16,.4));
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
}
.cta__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 520px; height: 320px; background: radial-gradient(ellipse, rgba(217,70,239,.4), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.cta__title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; position: relative; }
.cta__lead { margin: 20px auto 0; max-width: 560px; color: var(--text-soft); font-size: 17px; position: relative; }

.cta__form { position: relative; margin: 36px auto 0; max-width: 560px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta__form input {
  flex: 1; min-width: 180px; padding: 15px 20px; font-family: inherit; font-size: 15px;
  color: var(--text); background: rgba(0,0,0,.3); border: 1px solid var(--border-strong);
  border-radius: 100px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.cta__form input::placeholder { color: var(--text-dim); }
.cta__form input:focus { border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(217,70,239,.18); }
.cta__form .btn { width: 100%; }

.cta__note { margin-top: 16px; font-size: 14.5px; font-weight: 500; position: relative; }
.cta__note.is-success { color: #4ade80; }
.cta__note.is-error { color: #fb7185; }

.cta__or { position: relative; margin: 28px auto; max-width: 560px; text-align: center; }
.cta__or::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.cta__or span { position: relative; background: var(--bg); padding: 0 16px; color: var(--text-dim); font-size: 13px; }

.cta__card .btn--whats { max-width: 560px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer__brand { max-width: 340px; }
.footer__brand p { margin-top: 14px; color: var(--text-dim); font-size: 14.5px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; }
.footer__links a { color: var(--text-soft); font-size: 14.5px; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--text-dim); font-size: 13px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card { transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase__row { grid-template-columns: 1fr; gap: 28px; }
  .showcase__row--reverse .showcase__text { order: 0; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid--2, .grid--3, .grid--4, .proofbar, .metrics, .steps { grid-template-columns: 1fr; }
  .proofbar { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .btn { white-space: normal; }
  .bg-glow { filter: blur(70px); opacity: .32; }
  .nav.is-scrolled, .nav__mobile, .gprofile, .float-card, .proofbar {
    backdrop-filter: none;
  }
  .float-card--calls { left: -8px; top: -16px; }
  .float-card--reply { right: -6px; }
  .cta__form { flex-direction: column; }
}

.section__title,
.hero__title,
.cta__title,
.metric strong,
.proofbar__item strong,
.dash__big span,
.rating-big__score,
.float-card__num {
  letter-spacing: 0;
}
