/* ============ TOKENS ============ */
:root {
  --bg:        #0E1116;
  --surface:   #181C24;
  --surface-2: #1F2530;
  --line:      #2A313D;
  --text:      #F5F7FA;
  --muted:     #9AA4B2;
  --accent:    #1FB87A;
  --accent-hi: #25D48C;
  --gold:      #C9A56A;
  --radius:    16px;
  --maxw:      1140px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; line-height: 1.1; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.gold { color: var(--gold); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 12px;
  cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #062014;
  box-shadow: 0 10px 30px -10px rgba(31,184,122,.6);
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============ HEADER ============ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,17,22,.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-img.sm { height: 28px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a.link:hover { color: var(--text); }
.nav-cta { padding: 10px 20px; font-size: .9rem; }

/* ============ HERO ============ */
.hero { position: relative; padding: 90px 0 80px; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(31,184,122,.18), transparent 60%);
  filter: blur(20px); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: .85rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 900px; margin: 0 auto 24px; }
.hero p.sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 660px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px; color: var(--muted); font-size: .9rem; font-weight: 500;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ============ AUTHORITY BAR ============ */
.authority { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 22px 0; overflow: hidden; }
.authority .label { display: block; text-align: center; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 16px; padding: 0 24px; }
.authority .marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.authority .marquee-track { display: flex; width: max-content; gap: 40px; will-change: transform; animation: marquee 32s linear infinite; }
.authority .marquee:hover .marquee-track { animation-play-state: paused; }
.authority .niche { flex: 0 0 auto; color: var(--text); font-weight: 600; font-size: .95rem; opacity: .85; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .authority .marquee-track { animation: none; } }

/* ============ SECTIONS ============ */
section.block { padding: 90px 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ============ PAIN ============ */
.pain { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pain .inner { max-width: 760px; margin: 0 auto; text-align: center; }
.pain h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 24px; }
.pain p { color: var(--muted); font-size: 1.12rem; margin-bottom: 18px; }
.pain strong { color: var(--text); }

/* ============ PORTFOLIO ============ */
.grid-portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-4px); border-color: var(--accent); }
.case-frame {
  height: 230px; position: relative; padding: 20px 20px 0;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  display: flex; align-items: flex-end; justify-content: center;
  border-bottom: 1px solid var(--line);
}
/* browser mockup holding the live preview */
.mock {
  width: 100%; height: 100%; background: var(--bg); border-radius: 10px 10px 0 0;
  border: 1px solid var(--line); border-bottom: none; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.mock-bar { height: 26px; flex: 0 0 26px; background: var(--surface-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.shot {
  width: 100%; flex: 1; min-height: 0;
  object-fit: cover; object-position: top center;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='10' fill='none' stroke='%232A313D' stroke-width='3'/%3E%3C/svg%3E") center no-repeat;
}
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
  display: inline-block; align-self: flex-start;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); background: rgba(201,165,106,.1); border: 1px solid rgba(201,165,106,.3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.case-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.case-body p { color: var(--muted); font-size: .96rem; flex: 1; margin-bottom: 18px; }
.case-link { color: var(--accent); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.case-link:hover { gap: 10px; }

/* ============ DIFFERENTIALS ============ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: var(--accent); transform: translateY(-4px); }
.feat .ico { font-size: 1.8rem; margin-bottom: 16px; }
.feat h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: .95rem; }

/* ============ PROCESS ============ */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { position: relative; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora'; font-weight: 700; font-size: 1.1rem; margin-bottom: 18px;
}
.step .when { color: var(--accent); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ============ OFFER ============ */
.offer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch; }
.includes { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.includes h3 { font-size: 1.4rem; margin-bottom: 24px; }
.includes ul { list-style: none; }
.includes li { padding: 11px 0 11px 34px; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.includes li:last-child { border-bottom: none; }
.includes li::before { content: '✓'; position: absolute; left: 0; top: 11px; color: var(--accent); font-weight: 700; background: rgba(31,184,122,.12); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.price-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column; justify-content: center; text-align: center;
  box-shadow: 0 20px 60px -25px rgba(31,184,122,.4);
}
.price-card .tag { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 14px; }
.price-card .value { font-family: 'Sora'; font-weight: 800; font-size: 3.4rem; line-height: 1; margin-bottom: 8px; }
.price-card .value small { font-size: 1.3rem; color: var(--muted); font-weight: 600; }
.price-card .note { color: var(--muted); margin-bottom: 28px; }
.price-card .btn { width: 100%; justify-content: center; }
.scarcity { margin-top: 16px; font-size: .85rem; color: var(--gold); }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 14px; overflow: hidden;
}
details[open] { border-color: var(--accent); }
summary {
  cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 26px 24px; color: var(--muted); }

/* ============ FINAL CTA ============ */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(31,184,122,.22), transparent 55%);
  z-index: 0;
}
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); max-width: 760px; margin: 0 auto 20px; }
.final p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; }
.final .btn { font-size: 1.1rem; padding: 18px 40px; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(31,184,122,.7);
  transition: transform .2s; animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #062014; }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px -8px rgba(31,184,122,.7), 0 0 0 0 rgba(31,184,122,.5); }
  70% { box-shadow: 0 10px 30px -8px rgba(31,184,122,.7), 0 0 0 16px rgba(31,184,122,0); }
  100% { box-shadow: 0 10px 30px -8px rgba(31,184,122,.7), 0 0 0 0 rgba(31,184,122,0); }
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .nav-links .link { display: none; }
}
@media (max-width: 620px) {
  .grid-portfolio { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .hero { padding: 60px 0 56px; }
}

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