/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:   #6D28D9;
  --accent-h: #5B21B6;
  --text:     #1C1033;
  --text2:    #3D2E5C;
  --muted:    #7C6D9A;
  --light:    #A89DC0;
  --bg:       #FAF8F4;
  --bg2:      #F5F1EA;
  --bg3:      #EDE8DE;
  --border:   #DDD6C8;
  --card:     #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.06); }

.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}

.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: var(--text);
  text-decoration: none; letter-spacing: .02em; flex-shrink: 0;
}
.logo-h { position: relative; width: 30px; height: 30px; }
.logo-h.small { width: 22px; height: 22px; }
.h-bar { position: absolute; width: 6px; border-radius: 2px; height: 30px; }
.logo-h.small .h-bar { width: 5px; height: 22px; }
.h-bar.left  { left: 0;  background: var(--accent); }
.h-bar.right { right: 0; background: var(--text); }
.h-cross {
  position: absolute; left: 6px; right: 6px; top: 10px; height: 7px;
  background: var(--accent); border-radius: 2px;
}
.logo-h.small .h-cross { top: 7px; left: 5px; right: 5px; height: 6px; }
.h-dot {
  position: absolute; right: -4px; top: -3px;
  width: 7px; height: 7px; border-radius: 50%; background: #F59E0B;
}
.logo-h.small .h-dot { width: 5px; height: 5px; right: -3px; top: -2px; }

.nav-links { display: flex; gap: 24px; list-style: none; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500; transition: color .18s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  flex-shrink: 0; background: var(--accent); color: #fff;
  padding: 8px 20px; border-radius: 7px;
  text-decoration: none; font-weight: 600; font-size: .875rem;
  transition: background .18s;
}
.btn-nav:hover { background: var(--accent-h); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; margin-left: auto;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none; flex-direction: column;
  padding: 10px 28px 20px; border-top: 1px solid var(--border); gap: 2px;
  background: var(--bg);
}
.mobile-menu a {
  color: var(--text2); text-decoration: none;
  padding: 11px 0; font-size: .95rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; }
.btn-mobile {
  margin-top: 8px; background: var(--accent); color: #fff !important;
  padding: 12px 20px !important; border-radius: 7px;
  text-align: center; font-weight: 600; border: none !important;
}
.mobile-menu.open { display: flex; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 28px 72px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.hero-content { flex: 1; max-width: 560px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #EDE9F8; border: 1px solid #C4B5FD;
  color: var(--accent); padding: 5px 12px; border-radius: 6px;
  font-size: .78rem; font-weight: 600; margin-bottom: 24px;
  letter-spacing: .01em;
}

#hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.12;
  color: var(--text); margin-bottom: 18px;
  letter-spacing: -.02em;
}
#hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  margin-bottom: 36px; max-width: 460px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .18s; border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-h); }

.btn-ghost {
  color: var(--text2); padding: 13px 22px; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: .95rem;
  border: 1px solid var(--border); background: var(--card);
  transition: border-color .18s, color .18s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--text); font-family: 'Sora', sans-serif; }
.stat-label { font-size: .75rem; color: var(--light); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Browser mockup */
.hero-visual {
  flex: 1; display: flex; justify-content: center; align-items: center;
  padding-left: 48px;
}

.browser-mock {
  width: 100%; max-width: 440px;
  background: var(--card); border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(109,40,217,.08), 0 1px 4px rgba(0,0,0,.04);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red    { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #27C93F; }
.url-bar {
  flex: 1; background: var(--card); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 10px;
  font-size: .74rem; color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.browser-body { padding: 14px; }
.mock-nav { height: 26px; background: var(--bg3); border-radius: 5px; margin-bottom: 10px; }
.mock-hero-img {
  height: 100px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 7px; justify-content: center;
}
.mock-headline { height: 11px; width: 60%; background: var(--bg3); border-radius: 3px; }
.mock-sub      { height: 7px;  width: 48%; background: var(--border); border-radius: 3px; }
.mock-btn      { height: 20px; width: 90px; background: var(--accent); border-radius: 5px; margin-top: 4px; opacity: .85; }
.mock-cards    { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.mock-card     { height: 52px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg2); }

/* ── SECTION SHARED ── */
section { padding: 88px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800;
  color: var(--text); margin-bottom: 12px; letter-spacing: -.02em;
}
.section-header h2 span { color: var(--accent); }
.section-header p { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto; }

/* ── SERVIÇOS ── */
#servicos { background: var(--card); border-bottom: 1px solid var(--border); }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.service-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 30px 26px; position: relative;
  transition: box-shadow .2s, border-color .2s;
}
.service-card:hover { box-shadow: 0 4px 24px rgba(109,40,217,.1); border-color: #C4B5FD; }
.service-card.featured { background: var(--card); border-color: var(--accent); }
.card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 3px 12px; border-radius: 100px; white-space: nowrap;
}
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-card p  { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-card li { font-size: .875rem; color: var(--text2); padding-left: 16px; position: relative; }
.service-card li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* ── COMO FUNCIONA ── */
#como { background: var(--bg2); border-bottom: 1px solid var(--border); }

.steps { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.step {
  flex: 1; min-width: 175px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 26px 22px; transition: box-shadow .2s;
}
.step:hover { box-shadow: 0 4px 20px rgba(109,40,217,.08); border-color: #C4B5FD; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem; font-weight: 500;
  color: var(--accent); margin-bottom: 12px;
}
.step-content h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-content p  { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.step-arrow { font-size: 1.1rem; color: var(--border); padding-top: 28px; flex-shrink: 0; }

/* ── PREÇOS ── */
#precos { background: var(--card); border-bottom: 1px solid var(--border); }

.price-note { margin-top: 18px; font-size: .82rem; color: var(--muted); text-align: center; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 32px; }

.price-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; position: relative;
  transition: box-shadow .2s; display: flex; flex-direction: column;
}
.price-card:hover { box-shadow: 0 6px 28px rgba(109,40,217,.1); }
.price-card.popular { background: var(--card); border-color: var(--accent); }

.popular-badge {
  position: absolute; top: 44px; right: 14px;
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
}

.price-top { height: 4px; background: var(--bg3); }
.price-card.popular .price-top { background: var(--accent); }

.price-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); padding: 22px 22px 0; }

.price-desc { font-size: .82rem; color: var(--muted); padding: 5px 22px 0; min-height: 2.5em; }

.price-range-display {
  font-size: 1.6rem; font-weight: 800; color: var(--text);
  font-family: 'Sora', sans-serif; padding: 14px 22px 6px; line-height: 1.2;
}

.price-meta { display: flex; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin: 0 22px 16px; padding-bottom: 16px; }
.price-meta span { font-size: .8rem; color: var(--muted); }

.price-maintenance {
  margin: 0 22px 20px; background: var(--bg3); border-radius: 8px;
  padding: 10px 14px; font-size: .82rem; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 5px;
}
.price-card.popular .price-maintenance { background: #EDE9F8; }
.price-maintenance strong { color: var(--text); font-size: .95rem; font-family: 'Sora', sans-serif; }

.btn-price {
  display: block; margin: auto 22px 22px; padding: 12px;
  border-radius: 8px; text-align: center;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  border: 1px solid var(--border); color: var(--text2); background: var(--card);
  transition: border-color .18s, color .18s;
}
.btn-price:hover { border-color: var(--accent); color: var(--accent); }
.popular-btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.popular-btn:hover { background: var(--accent-h); color: #fff; border-color: var(--accent-h); }

/* Includes */
.includes {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 30px; margin-bottom: 18px;
}
.includes h3 { font-size: 1rem; color: var(--muted); margin-bottom: 22px; text-align: center; }
.includes h3 strong { color: var(--text); }
.includes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.include-item { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--text2); }
.include-icon { font-size: 1.1rem; }

/* Maintenance */
.maintenance-box {
  background: #EDE9F8; border: 1px solid #C4B5FD;
  border-radius: 12px; padding: 26px 30px;
}
.maint-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.maint-icon   { font-size: 1.4rem; }
.maint-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.maint-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.maint-item { font-size: .875rem; color: var(--text2); display: flex; gap: 8px; }
.maint-item span { color: var(--accent); font-weight: 600; }

/* ── FAQ ── */
#faq { background: var(--bg2); border-bottom: 1px solid var(--border); }

.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .18s;
}
.faq-item:hover { border-color: #C4B5FD; }
.faq-item[open] { border-color: var(--accent); }

.faq-item summary {
  list-style: none; padding: 16px 20px;
  font-weight: 600; color: var(--text); font-size: .9rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.1rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 20px 16px; color: var(--muted); font-size: .875rem; line-height: 1.65;
  border-top: 1px solid var(--border); padding-top: 13px;
}

/* ── CONTATO ── */
#contato { background: var(--bg2); }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }

.contact-left .section-tag { display: block; margin-bottom: 10px; }
.contact-left h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800;
  color: var(--text); margin-bottom: 12px; letter-spacing: -.02em;
}
.contact-left h2 span { color: var(--accent); }
.contact-left > p { color: var(--muted); margin-bottom: 28px; font-size: .95rem; }

.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 8px; text-decoration: none;
  font-weight: 500; font-size: .9rem;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text2); transition: border-color .18s;
}
.contact-link:hover { border-color: var(--accent); }

.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  display: flex; flex-direction: column; gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .8rem; color: var(--muted); font-weight: 500; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: .9rem;
  outline: none; transition: border-color .18s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: var(--card); }
.form-group textarea { resize: vertical; }

.btn-submit {
  background: var(--accent); color: #fff;
  padding: 13px; border-radius: 8px; border: none;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background .18s;
}
.btn-submit:hover { background: var(--accent-h); }

.form-success {
  display: none; text-align: center; color: #15803D; font-weight: 600;
  padding: 10px; border-radius: 7px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
}

/* ── FOOTER ── */
footer { padding: 36px 0; background: #1C1033; border-top: 1px solid #2D1B5E; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo .logo { color: #fff; font-size: 1.05rem; }
.footer-logo .h-bar.left  { background: #A78BFA; }
.footer-logo .h-bar.right { background: #6B7280; }
.footer-logo .h-cross     { background: #A78BFA; }
.footer-tagline { color: #7C6D9A; font-size: .875rem; }
.footer-copy    { color: #3D2E5C; font-size: .78rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  #hero { flex-direction: column; gap: 40px; text-align: center; padding-top: 100px; }
  .hero-content { max-width: 100%; }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { padding: 0; width: 100%; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .includes-grid { grid-template-columns: repeat(2,1fr); }
  .maint-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .includes-grid { grid-template-columns: 1fr; }
  .stat-divider  { display: none; }
}
