/* Frete Pronto — pure HTML/CSS conversion (1:1 visual port of the Next.js/Tailwind app) */

@font-face {
  font-family: "Manrope Fallback";
  size-adjust: 100%;
  src: local(Arial);
}

:root {
  color-scheme: dark;
  --background: oklch(0.16 0.02 250);
  --foreground: oklch(0.97 0.005 250);
  --card: oklch(0.2 0.022 250);
  --card-foreground: oklch(0.97 0.005 250);
  --popover: oklch(0.2 0.022 250);
  --popover-foreground: oklch(0.97 0.005 250);
  --primary: oklch(0.68 0.16 245);
  --primary-foreground: oklch(0.16 0.02 250);
  --secondary: oklch(0.26 0.025 250);
  --secondary-foreground: oklch(0.97 0.005 250);
  --muted: oklch(0.24 0.022 250);
  --muted-foreground: oklch(0.68 0.02 250);
  --accent: oklch(0.68 0.16 245);
  --accent-foreground: oklch(0.16 0.02 250);
  --destructive: oklch(0.62 0.22 25);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 12%);
  --ring: oklch(0.68 0.16 245);
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-3xl: calc(var(--radius) * 2.2);
  --radius-4xl: calc(var(--radius) * 2.6);
  --font-sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

.dark {
  color-scheme: dark;
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    color-scheme: dark;
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.205 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.922 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --ring: oklch(0.556 0 0);
  }
}

/* ---------- base / reset ---------- */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
  margin: 0;
  padding: 0;
}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
svg { display: inline-block; vertical-align: middle; }

.container { margin: 0 auto; max-width: 72rem; }
.logo { height: 1.5rem; width: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header .inner {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.site-header nav.desktop-nav { display: none; align-items: center; gap: 2rem; }
.desktop-nav a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.desktop-nav a:hover { color: var(--foreground); }
.site-header .desktop-actions { display: none; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  color: var(--foreground);
}
.mobile-menu { display: none; border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background-color: var(--background); }
.mobile-menu.open { display: block; }
.mobile-menu nav {
  margin: 0 auto;
  display: flex;
  max-width: 72rem;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}
.mobile-menu a { border-radius: var(--radius-md); padding: 0.5rem 0.75rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.mobile-menu a:hover { background-color: var(--secondary); color: var(--foreground); }
.mobile-menu .mobile-actions { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2rem;
  padding: 0 0.625rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background-clip: padding-box;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  outline: none;
  user-select: none;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.btn svg { pointer-events: none; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
}
.btn-lg { height: 2.25rem; padding: 0 0.625rem; }
.btn-default { background-color: var(--primary); color: var(--primary-foreground); }
.btn-outline { border-color: var(--border); background-color: var(--background); }
.btn-outline:hover { background-color: var(--muted); color: var(--foreground); }
.btn-outline.bg-transparent { background-color: transparent; }
.btn-ghost:hover { background-color: var(--muted); color: var(--foreground); }
.btn-full { width: 100%; }
.bg-transparent { background-color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(to right, var(--foreground) 1px, transparent 1px),
    linear-gradient(to bottom, var(--foreground) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  left: 50%;
  height: 24rem;
  width: 42rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 20%, transparent);
  filter: blur(120px);
}
.hero-inner {
  position: relative;
  margin: 0 auto;
  max-width: 72rem;
  padding: 4rem 1rem;
}
.hero-copy { margin: 0 auto; max-width: 48rem; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--secondary) 60%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.hero-badge .dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; background-color: var(--primary); }
.hero-title {
  margin-top: 1.5rem;
  text-wrap: balance;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-title .accent { color: var(--primary); }
.hero-desc {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  text-wrap: pretty;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
.hero-highlights { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 1.5rem; row-gap: 0.5rem; }
.hero-highlights li { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.hero-highlights svg { color: var(--primary); }
.hero-shot { position: relative; margin: 3.5rem auto 0; max-width: 64rem; }
.hero-shot-glow {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: -1.5rem;
  height: 6rem;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 20%, transparent);
  filter: blur(64px);
}
.hero-shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.hero-shot-frame img { width: 100%; height: auto; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: color-mix(in oklab, var(--card) 40%, transparent); }
.stats .inner { margin: 0 auto; display: grid; max-width: 72rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 1rem; }
.stat { text-align: center; }
.stat-value { font-family: var(--font-mono); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; color: var(--foreground); }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* ---------- section heading ---------- */
.section { margin: 0 auto; max-width: 72rem; padding: 5rem 1rem; }
.section-head { margin: 0 auto; max-width: 42rem; text-align: center; }
.eyebrow { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); display: inline-flex; align-items: center; gap: 0.5rem; }
.section-title { margin-top: 0.75rem; text-wrap: balance; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.025em; }
.section-desc { margin-top: 1rem; text-wrap: pretty; color: var(--muted-foreground); }

/* ---------- features ---------- */
.features-grid { margin-top: 3.5rem; display: grid; gap: 1rem; }
.feature-card { border-radius: var(--radius-xl); border: 1px solid var(--border); background-color: var(--card); padding: 1.5rem; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.feature-card:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); }
.feature-icon { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: var(--radius-lg); background-color: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.feature-card:hover .feature-icon { background-color: var(--primary); color: var(--primary-foreground); }
.feature-card h3 { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.feature-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- how it works ---------- */
.steps-grid { margin-top: 3.5rem; display: grid; gap: 1rem; }
.step-card { position: relative; border-radius: var(--radius-xl); border: 1px solid var(--border); background-color: var(--card); padding: 1.5rem; }
.step-num { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--primary); }
.step-card h3 { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- integrations ---------- */
.integrations { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-color: color-mix(in oklab, var(--card) 40%, transparent); }
.integrations-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
.integration-card { border-radius: var(--radius-2xl); border: 1px solid var(--border); background-color: var(--card); padding: 1.5rem; }
.integration-head { display: flex; align-items: center; gap: 0.75rem; }
.integration-icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: var(--radius-lg); background-color: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--primary); }
.integration-head h3 { font-weight: 600; }
.integration-head p { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.chip-list { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { border-radius: var(--radius-lg); border: 1px solid var(--border); background-color: color-mix(in oklab, var(--secondary) 60%, transparent); padding: 0.5rem 0.75rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--secondary-foreground); }
.integrations-cta { margin-top: 2rem; border-radius: var(--radius-xl); border: 1px dashed var(--border); background-color: color-mix(in oklab, var(--background) 40%, transparent); padding: 1.5rem; text-align: center; }
.integrations-cta p { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.integrations-cta strong { font-weight: 500; color: var(--foreground); }

/* ---------- pricing ---------- */
.pricing { border-top: 1px solid var(--border); background-color: color-mix(in oklab, var(--card) 40%, transparent); }
.pricing-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
.plan-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-2xl); border: 1px solid var(--border); background-color: var(--card); padding: 2rem; }
.plan-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px color-mix(in oklab, var(--primary) 10%, transparent),
    0 4px 6px -4px color-mix(in oklab, var(--primary) 10%, transparent);
}
.plan-badge { position: absolute; top: -0.75rem; left: 2rem; border-radius: 9999px; background-color: var(--primary); padding: 0.25rem 0.75rem; font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--primary-foreground); }
.plan-card h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.plan-price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.25rem; }
.plan-price .amount { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.plan-price .period { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.plan-card > .plan-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.plan-features { margin-top: 1.5rem; flex: 1 1 0%; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; }
.plan-features li + li { margin-top: 0.75rem; }
.plan-features svg { margin-top: 0.125rem; flex-shrink: 0; color: var(--primary); }
.plan-features span { color: var(--muted-foreground); }
.plan-card .btn { margin-top: 2rem; width: 100%; font-weight: 600; }

/* ---------- cta + footer ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: var(--radius-3xl); border: 1px solid var(--border); background-color: var(--card); padding: 3.5rem 1.5rem; text-align: center; }
.cta-glow { pointer-events: none; position: absolute; top: -6rem; left: 50%; height: 16rem; width: 36rem; transform: translateX(-50%); border-radius: 9999px; background-color: color-mix(in oklab, var(--primary) 20%, transparent); filter: blur(100px); }
.cta-box .content { position: relative; }
.cta-box h2 { margin: 0 auto; max-width: 42rem; text-wrap: balance; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.025em; }
.cta-box p { margin: 1rem auto 0; max-width: 36rem; text-wrap: pretty; color: var(--muted-foreground); }
.cta-actions { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }

.site-footer { border-top: 1px solid var(--border); }
.site-footer .inner { margin: 0 auto; max-width: 72rem; padding: 3rem 1rem; }
.footer-top { display: flex; flex-direction: column; gap: 2.5rem; }
.footer-brand { max-width: 20rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-col h4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--foreground); }
.footer-col ul { margin-top: 1rem; }
.footer-col li + li { margin-top: 0.75rem; }
.footer-col a { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 150ms cubic-bezier(0.4,0,0.2,1); }
.footer-col a:hover { color: var(--foreground); }
.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--foreground); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-actions, .cta-actions { flex-direction: row; }
  .hero-actions .btn, .cta-actions .btn { width: auto; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .site-header .inner { padding: 0 1.5rem; }
  .site-header nav.desktop-nav { display: flex; }
  .site-header .desktop-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .section { padding: 7rem 1.5rem; }
  .stats .inner { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2.5rem 1.5rem; }
  .stat { text-align: left; }
  .stat-value { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-inner { padding: 6rem 1.5rem; }
  .hero-title { font-size: 3.75rem; line-height: 1.05; }
  .integration-card { padding: 2rem; }
  .cta-box { padding: 5rem 4rem; }
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; }
  .site-footer .inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section-title, .cta-box h2 { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .integrations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
