/* =========================================================
   EXPRESSO BARRA LONGA — Design System
   Navy escuro + trilha de velocidade roxo > azul > magenta
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores base */
  --navy-950: #050914;
  --navy-900: #0a0f24;
  --navy-800: #10163a;
  --navy-700: #171f4d;

  /* Trilha de velocidade (gradiente da logo) */
  --trail-purple: #7c3aed;
  --trail-blue: #3355ff;
  --trail-magenta: #d626c9;
  --trail-gradient: linear-gradient(100deg, var(--trail-purple) 0%, var(--trail-blue) 45%, var(--trail-magenta) 100%);

  /* Texto */
  --ink-100: #f5f6fb;
  --ink-300: #c7cbe6;
  --ink-500: #8b91b8;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
}

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink-100);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.page-frame { overflow-x: clip; }

h1, h2, h3, .display {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.5vw + 1rem, 1.4rem); font-weight: 700; }

p { color: var(--ink-300); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Trilha de velocidade - elemento assinatura, usado como divisor */
.speed-trail {
  position: relative;
  height: 34px;
  width: 100%;
  overflow: hidden;
  margin: 0;
}
.speed-trail svg { width: 100%; height: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 9, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-badge img {
  height: 42px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-desktop a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-300);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--ink-100); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink-100);
  font-size: 1.8rem;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 600;
  color: var(--ink-300);
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--trail-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--ink-100);
}
.btn-outline:hover { border-color: var(--trail-blue); background: rgba(51, 85, 255, 0.08); }
.btn-block { width: 100%; justify-content: center; }

.header-cta { display: none; }
@media (min-width: 860px) { .header-cta { display: inline-flex; } }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(124,58,237,0.20), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(214,38,201,0.16), transparent 60%);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-100);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.stat-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.stat-card .num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.7rem;
  background: var(--trail-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat-card .label { font-size: 0.78rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--trail-gradient);
  opacity: 0.12;
}
.hero-visual .logo-big { position: relative; z-index: 1; }
.hero-visual .logo-big img {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

/* ===== SECTIONS ===== */
.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { font-size: 1.05rem; }
.section-alt { background: var(--navy-900); }

.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-3px); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--trail-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }

/* Passos / processo (só quando faz sentido como sequência real) */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.1rem;
}

/* Lista de cidades */
.city-search {
  width: 100%;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--navy-800);
  color: var(--ink-100);
  font-size: 1rem;
  margin-bottom: 28px;
}
.city-search::placeholder { color: var(--ink-500); }

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.city-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}
.city-pill:hover { border-color: var(--trail-blue); background: var(--navy-700); }
.city-pill span.arrow { color: var(--trail-magenta); font-size: 1.1rem; }

/* CTA banda final */
.cta-band {
  background: var(--trail-gradient);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
}
.cta-band h2 { color: #fff; -webkit-text-fill-color: unset; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 50ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--navy-950); box-shadow: none; }
.cta-band .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.25); }

/* Tabela de preços B2B */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--navy-800);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.price-table th { background: var(--navy-700); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-300); }
.price-table tr:last-child td { border-bottom: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.3fr repeat(3, 1fr);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-300); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--ink-100); }
.footer-logo img { height: 36px; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-500);
}

/* ===== WHATSAPP FLUTUANTE ===== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  font-size: 1.7rem;
  color: #fff;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== PÁGINA DE CIDADE ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-300); }
.breadcrumb a:hover { color: var(--ink-100); }

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  * { transition: none !important; }
}

@media (max-width: 859px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}
