:root {
  --ink: #07110c;
  --ink-soft: #0d1b13;
  --surface: #f3f7f4;
  --white: #ffffff;
  --green: #29e47d;
  --green-dark: #0da85a;
  --green-pale: #dffbec;
  --muted: #607067;
  --line: rgba(7, 17, 12, 0.12);
  --shadow: 0 24px 70px rgba(7, 17, 12, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px; background: var(--green); color: var(--ink);
  border-radius: 10px; font-weight: 800; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-white { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  color: var(--green-dark); font-size: .76rem; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--green); }
.display {
  margin: 0; max-width: 900px; font-size: clamp(2.5rem, 6.8vw, 5.9rem);
  line-height: .94; letter-spacing: -.065em; font-weight: 900;
}
.section-title {
  margin: 0; max-width: 800px; font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.02; letter-spacing: -.05em; font-weight: 900;
}
.lead { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.section-dark .lead, .hero .lead { color: #aab8af; }
.highlight { color: var(--green); }
.text-link { color: var(--green-dark); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 100; color: var(--white);
  background: rgba(7, 17, 12, .88); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; background: transparent; border: 0; text-decoration: none; box-shadow: none; }
.brand-logo { width: 82px; height: 82px; object-fit: contain; background: transparent; border: 0; box-shadow: none; }
.brand-logo-icon { display: none; }
.site-footer .brand-logo { width: 150px; height: 150px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 13px; color: #c8d2cc; border-radius: 10px; text-decoration: none; font-size: .93rem; font-weight: 750; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.07); }
.nav-cta { margin-left: 8px; color: var(--ink) !important; background: var(--green) !important; }
.menu-button { display: none; width: 46px; height: 46px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); padding: 96px 0 88px; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -250px; top: -310px; border-radius: 50%; background: var(--green); opacity: .11; filter: blur(3px); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 21px; border: 1px solid transparent; border-radius: 13px;
  color: var(--ink); background: var(--green); text-decoration: none; font-weight: 900;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(41,228,125,.2); }
.button-secondary { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.button-dark { color: var(--white); background: var(--ink); }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button-small { min-height: 44px; padding: 10px 15px; font-size: .88rem; }
.button svg { width: 18px; height: 18px; }

.hero-panel { position: relative; min-height: 470px; }
.signal-card {
  position: absolute; padding: 22px; color: var(--ink); background: var(--white);
  border-radius: 22px; box-shadow: var(--shadow); transform: rotate(-3deg);
}
.signal-card:nth-child(1) { width: 78%; right: 0; top: 20px; }
.signal-card:nth-child(2) { width: 68%; left: 0; top: 185px; transform: rotate(3deg); }
.signal-card:nth-child(3) { width: 72%; right: 2%; bottom: 10px; transform: rotate(-1deg); }
.signal-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 16px; color: var(--ink); background: var(--green); border-radius: 12px; font-weight: 900; }
.signal-card strong { display: block; font-size: 1.05rem; }
.signal-card p { margin: 5px 0 0; color: var(--muted); font-size: .85rem; }
.signal-line { height: 7px; margin-top: 17px; overflow: hidden; background: var(--green-pale); border-radius: 99px; }
.signal-line::after { content: ""; display: block; width: 72%; height: 100%; background: var(--green); border-radius: inherit; }

.trust-strip { color: var(--white); background: var(--ink-soft); border-top: 1px solid rgba(255,255,255,.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-item:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.trust-item strong { display: block; color: var(--green); font-size: 1.12rem; }
.trust-item span { color: #96a59c; font-size: .82rem; }

.grid-2, .grid-3, .grid-4, .demo-grid, .pricing-grid, .product-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.demo-grid { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
.product-grid { grid-template-columns: repeat(3, 1fr); margin-top: 42px; }

.feature-card, .demo-card, .product-card, .info-card {
  position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.feature-card { min-height: 260px; }
.feature-card .number { color: var(--green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.feature-card h3, .demo-card h3, .product-card h3, .info-card h3 { margin: 45px 0 10px; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.025em; }
.feature-card p, .demo-card p, .product-card p, .info-card p { margin: 0; color: var(--muted); }
.feature-card::after { content: "↗"; position: absolute; top: 28px; right: 28px; font-size: 1.3rem; }
.demo-card { overflow: hidden; padding: 0; }
.demo-visual { min-height: 230px; display: flex; align-items: flex-end; padding: 26px; color: white; background: var(--ink); }
.demo-visual span { display: inline-flex; padding: 7px 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font-size: .72rem; font-weight: 800; }
.demo-visual--imovel { background: linear-gradient(145deg, #10261a, #1e6843); }
.demo-visual--delivery { background: linear-gradient(145deg, #2b1307, #d76117); }
.demo-visual--servicos { background: linear-gradient(145deg, #071c2b, #147aa2); }
.demo-visual--clinica { background: linear-gradient(145deg, #18242a, #41a1a0); }
.demo-visual--consultoria { background: linear-gradient(145deg, #141229, #675bc4); }
.demo-content { padding: 28px; }
.demo-content h3 { margin: 0 0 16px; }
.demo-fact { padding: 14px 0; border-top: 1px solid var(--line); }
.demo-fact strong { display: block; margin-bottom: 3px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.demo-fact p { font-size: .92rem; }
.demo-card--wide { grid-column: span 2; display: grid; grid-template-columns: .85fr 1.15fr; }
.demo-card--wide .demo-visual { min-height: 100%; }

.process-list { margin-top: 48px; border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-row .step { color: var(--green-dark); font-weight: 900; }
.process-row h3 { margin: 0; font-size: 1.2rem; }
.process-row p { margin: 0; color: var(--muted); }

.cta-band { padding: 56px 0; color: var(--white); background: var(--green-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { max-width: 680px; margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.05em; }
.cta-inner .button { flex-shrink: 0; background: var(--ink); color: var(--white); }

.page-hero { padding: 78px 0 72px; color: var(--white); background: var(--ink); }
.page-hero .display { max-width: 980px; font-size: clamp(2.8rem, 7vw, 6.2rem); }
.page-hero .lead { max-width: 760px; }
.breadcrumb { margin-bottom: 32px; color: #8fa096; font-size: .85rem; }
.breadcrumb a { color: white; text-decoration: none; }

.pricing-grid { margin-top: 50px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { color: white; background: var(--ink); transform: translateY(-16px); box-shadow: var(--shadow); }
.price-badge { position: absolute; right: 25px; top: 25px; padding: 6px 10px; color: var(--ink); background: var(--green); border-radius: 99px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.price-name { margin: 0 0 24px; color: var(--green-dark); font-size: .76rem; font-weight: 950; letter-spacing: .16em; }
.featured .price-name { color: var(--green); }
.setup-price { color: var(--muted); font-size: .9rem; }
.featured .setup-price { color: #9eada4; }
.monthly-price { margin: 3px 0 26px; font-size: 3rem; line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.monthly-price small { font-size: .85rem; font-weight: 700; letter-spacing: 0; }
.feature-list { flex: 1; padding: 0; margin: 0 0 30px; list-style: none; }
.feature-list li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); }
.featured .feature-list li { border-color: rgba(255,255,255,.1); }
.feature-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-dark); font-weight: 950; }
.featured .feature-list li::before { color: var(--green); }
.price-card .button { width: 100%; }

.product-card h3 { margin-top: 18px; }
.product-icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--ink); background: var(--green-pale); border-radius: 15px; font-size: 1.25rem; font-weight: 900; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-list { margin: 34px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list strong { display: block; margin-bottom: 3px; }
.contact-form { padding: 38px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #f8faf8; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(41,228,125,.16); }
.field-error { display: none; margin-top: 5px; color: #a62828; font-size: .76rem; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #cf3f3f; }
.form-note { margin: 15px 0 0; color: var(--muted); font-size: .78rem; }

.site-footer { padding: 72px 0 28px; color: white; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 70px; padding-bottom: 54px; }
.footer-copy { max-width: 420px; margin-top: 20px; color: #93a198; }
.footer-title { margin: 0 0 15px; color: var(--green); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b7c2bb; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; color: #dce5df; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; text-decoration: none; font-weight: 750; }
.social-link:hover { color: var(--ink); background: var(--green); border-color: var(--green); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.contact-socials { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-socials h3 { margin: 0 0 12px; font-size: 1rem; }
.contact-socials .social-link { color: var(--ink); border-color: var(--line); background: var(--white); }
.contact-socials .social-link:hover { background: var(--green); border-color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: #74837a; border-top: 1px solid rgba(255,255,255,.09); font-size: .8rem; }

.toast { position: fixed; z-index: 500; right: 22px; bottom: 22px; max-width: 390px; padding: 18px 48px 18px 18px; color: white; background: var(--ink); border: 1px solid rgba(41,228,125,.35); border-radius: 16px; box-shadow: var(--shadow); transform: translateY(140%); opacity: 0; transition: .28s; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast strong { display: block; color: var(--green); }
.toast p { margin: 3px 0 0; color: #b4c0b8; font-size: .86rem; }
.toast button { position: absolute; right: 12px; top: 12px; color: white; background: transparent; border: 0; cursor: pointer; font-size: 1.15rem; }

/* Demo mini-sites */
.demo-site { --demo-accent: var(--green); --demo-bg: #f4f7f5; background: var(--demo-bg); }
.demo-site .site-header { background: rgba(7,17,12,.94); }
.demo-ribbon { padding: 8px 20px; text-align: center; color: var(--ink); background: var(--green); font-size: .74rem; font-weight: 850; }
.demo-hero { padding: 92px 0; color: white; background: var(--ink); }
.demo-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.demo-kicker { color: var(--demo-accent); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.demo-title { margin: 18px 0 22px; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.06em; }
.demo-subtitle { max-width: 630px; color: #afbbb3; font-size: 1.14rem; }
.demo-mockup { position: relative; padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 30px; transform: rotate(2deg); }
.demo-mockup-inner { min-height: 390px; padding: 28px; color: var(--ink); background: white; border-radius: 18px; }
.mockup-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 900; }
.mockup-hero { height: 128px; display: flex; align-items: flex-end; margin: 20px 0; padding: 20px; color: white; background: linear-gradient(135deg, var(--demo-accent), var(--ink)); border-radius: 14px; font-size: 1.3rem; font-weight: 900; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mockup-box { min-height: 76px; padding: 12px; background: #eff4f0; border-radius: 10px; font-size: .72rem; font-weight: 800; }
.demo-metric { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.demo-metric strong { display: block; color: var(--green-dark); font-size: 2rem; }
.demo-service-card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.demo-service-card span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--demo-accent); border-radius: 12px; font-weight: 900; }
.demo-service-card h3 { margin: 22px 0 8px; }
.demo-service-card p { margin: 0; color: var(--muted); }
.demo-proof { padding: 40px; color: white; background: var(--ink); border-radius: 28px; }
.demo-proof blockquote { margin: 0 0 28px; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.25; letter-spacing: -.03em; }
.demo-proof small { color: #8e9f95; }
.demo-site--delivery { --demo-accent: #ff7a2f; --demo-bg: #fff8f2; }
.demo-site--servicos { --demo-accent: #4ac7f3; --demo-bg: #f2faff; }
.demo-site--clinica { --demo-accent: #55d7ca; --demo-bg: #f2fbfa; }
.demo-site--consultoria { --demo-accent: #a798ff; --demo-bg: #f6f4ff; }

@media (max-width: 920px) {
  .section { padding: 78px 0; }
  .menu-button { display: block; }
  .nav-links { position: fixed; inset: 96px 0 auto; display: none; padding: 22px 20px 30px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero-grid, .demo-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; max-width: 600px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 650px) {
  .nav { min-height: 78px; }
  .brand-logo-main { display: none; }
  .brand-logo-icon { display: block; width: 54px; height: 54px; }
  .site-footer .brand-logo-main { display: block; width: 132px; height: 132px; }
  .site-footer .brand-logo-icon { display: none; }
  .nav-links { inset-block-start: 78px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 72px 0 58px; }
  .hero-grid { gap: 38px; }
  .display { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .hero-actions .button, .card-actions .button { width: 100%; }
  .hero-panel { min-height: 350px; }
  .signal-card { padding: 17px; }
  .signal-card:nth-child(1) { width: 84%; }
  .signal-card:nth-child(2) { width: 76%; top: 140px; }
  .signal-card:nth-child(3) { width: 80%; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .demo-grid, .product-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .demo-card--wide { grid-column: auto; display: block; }
  .process-row { grid-template-columns: 55px 1fr; }
  .process-row p { grid-column: 2; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .demo-hero { padding: 64px 0; }
  .demo-mockup { transform: none; }
  .mockup-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
