/* ============================================================
   Growmni — Shared Design System
   growmni.com.br
   ============================================================ */

:root {
  --google-blue: #1A73E8;
  --google-red: #EA4335;
  --google-yellow: #FBBC04;
  --google-green: #34A853;
  --ink: #0B0F19;
  --ink2: #3D4352;
  --ink3: #7B8099;
  --white: #FFFFFF;
  --paper: #F8F9FA;
  --border: #E4E7F0;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 40px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--ink); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { font-size: 20px; font-weight: 800; color: var(--ink); }
.nav-logo span { color: var(--google-blue); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper); }
.nav-links a.active { color: var(--google-blue); font-weight: 600; }

/* ── Dropdown Produtos ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: .15s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-trigger:hover { color: var(--ink); background: var(--paper); }
.nav-dropdown-trigger.active { color: var(--google-blue); font-weight: 600; }
.nav-chevron { font-size: 10px; transition: transform .2s; display: inline-block; }
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: .12s;
  color: var(--ink);
}
.nav-dropdown-menu a:hover { background: var(--paper); }
.nav-dd-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-dd-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-dd-sub { font-size: 11px; color: var(--ink3); font-family: var(--font-b); margin-top: 1px; }

.nav-cta {
  background: var(--google-blue);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  transition: .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1251CC; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-blue {
  background: var(--google-blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  transition: .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-blue:hover { background: #1251CC; transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--border);
  color: var(--ink);
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  transition: .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { border-color: var(--google-blue); color: var(--google-blue); }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 80px 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--google-blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-family: var(--font-b);
  font-size: 17px;
  color: var(--ink2);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Google dots ────────────────────────────────────────── */
.google-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.dot { width: 16px; height: 16px; border-radius: 50%; }

/* ── Hero badge ─────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F0FE;
  color: var(--google-blue);
  padding: 6px 16px;
  border-radius: var(--r-xl);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ── CTA section (dark) ─────────────────────────────────── */
.cta-section {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 72px 48px;
  text-align: center;
  margin: 0 5vw 80px;
}
.cta-section h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-section p {
  font-family: var(--font-b);
  font-size: 17px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 36px 5vw;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 18px; font-weight: 800; color: var(--ink); }
.footer-logo span { color: var(--google-blue); }
.footer-links { display: flex; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--ink3); margin-left: 20px; transition: .15s; }
.footer-links a:hover { color: var(--google-blue); }
.footer-copy { font-size: 13px; color: var(--ink3); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testi {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.testi-stars { color: #FBBC04; font-size: 14px; margin-bottom: 12px; }
.testi p { font-family: var(--font-b); font-size: 14px; color: var(--ink2); line-height: 1.7; margin-bottom: 16px; }
.testi-author { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--ink3); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-q {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after { content: '↓'; color: var(--google-blue); transition: .2s; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px 18px;
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── Lucide icons ───────────────────────────────────────── */
[data-lucide] { display: block; stroke-width: 1.5; }

.icon-box {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box [data-lucide] { width: 22px; height: 22px; }

.icon-box-sm {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box-sm [data-lucide] { width: 16px; height: 16px; }

/* ── Hamburger toggle ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: .15s;
}
.nav-toggle:hover { background: rgba(0,0,0,.06); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: .2s;
}
/* branco para navs dark */
.nav-dark .nav-toggle span { background: #fff; }
.nav-dark .nav-toggle:hover { background: rgba(255,255,255,.08); }

/* ── Drawer lateral ─────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #0F1219;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  transition: .15s;
}
.drawer-close:hover { color: #fff; }

.drawer-body { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }

.drawer-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 12px 12px 6px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: .15s;
}
.drawer-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.drawer-link .dl-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.drawer-link small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); margin-top: 1px; }
.drawer-divider { height: 1px; background: rgba(255,255,255,.06); margin: 8px 12px; }

.drawer-footer {
  padding: 16px 24px 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #1A73E8;
  color: #fff;
  padding: 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: .15s;
}
.drawer-cta:hover { background: #1251CC; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 48px 24px; margin: 0 16px 48px; }
}
