/* ===================================================
   PUXADA — Design System
   Font: Outfit (Google Fonts)
   Brand: #465FFF  |  Gray scale
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --font: 'Outfit', system-ui, sans-serif;

  /* Brand palette */
  --brand-50:  #EEF2FF;
  --brand-100: #E0E7FF;
  --brand-200: #C7D2FE;
  --brand-400: #818CF8;
  --brand-500: #465FFF;
  --brand-600: #4338CA;

  /* Gray scale */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --c-bg:       #F9FAFB;
  --c-surface:  #FFFFFF;
  --c-border:   #E5E7EB;
  --c-text-1:   #111827;
  --c-text-2:   #4B5563;
  --c-text-3:   #9CA3AF;
  --c-success:  #16A34A;
  --c-danger:   #DC2626;
  --c-warning:  #D97706;

  /* Tag colors */
  --tag-v-bg:   #EFF6FF;
  --tag-v-text: #1D4ED8;
  --tag-b-bg:   #FAF5FF;
  --tag-b-text: #7E22CE;

  /* Radii */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text-1);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text-1);
  margin-top: 0;
}

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===================================================
   NAVBAR
   =================================================== */
.site-nav {
  background: #fff;
  border-bottom: 1.5px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.5px;
  color: var(--c-text-1);
  text-decoration: none;
}

.nav-brand:hover { color: var(--c-text-1); }

.nav-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand-500);
  border-radius: 8px;
  color: #fff;
  font-size: .95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: .4rem .85rem;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--c-text-2);
  transition: background .15s, color .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  background: var(--gray-100);
  color: var(--c-text-1);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45rem 1rem;
  background: var(--brand-500);
  color: #fff !important;
  border-radius: var(--r-sm);
  font-size: .84rem;
  font-weight: 600;
  transition: background .15s, transform .1s;
  text-decoration: none;
}

.btn-nav-cta:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  color: #fff;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .35rem 1rem;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: .75rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--c-text-2);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .65rem 1.4rem;
  background: var(--brand-500);
  color: #fff;
  border-radius: var(--r);
  font-size: .92rem;
  font-weight: 600;
  transition: background .15s, transform .1s, box-shadow .15s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(70,95,255,.35);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .65rem 1.4rem;
  background: var(--gray-100);
  color: var(--c-text-1);
  border-radius: var(--r);
  font-size: .92rem;
  font-weight: 600;
  transition: background .15s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--gray-200);
  color: var(--c-text-1);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.hero-stat { text-align: center; }

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-600);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}

.hero-stat-label {
  font-size: .8rem;
  color: var(--c-text-3);
}

/* ===================================================
   SECTION CARDS (white rounded panels)
   =================================================== */
.section-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.section-header p {
  color: var(--c-text-2);
  max-width: 560px;
  margin: 0 auto;
  font-size: .93rem;
}

/* ===================================================
   FILTER PANEL
   =================================================== */
.filter-panel {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  position: sticky;
  top: 72px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.filter-header-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text-1);
}

.btn-filter-clear {
  background: none;
  border: none;
  font-size: .78rem;
  color: var(--brand-500);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-filter-clear:hover { color: var(--brand-600); }

.filter-section { margin-bottom: .25rem; }

.filter-section-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--c-text-3);
  margin-bottom: .5rem;
}

.filter-sep {
  border: none;
  border-top: 1.5px solid var(--c-border);
  margin: 1rem 0;
}

/* ===================================================
   RESULTS BAR
   =================================================== */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.results-count {
  font-size: .85rem;
  color: var(--c-text-2);
}

.results-count strong { color: var(--c-text-1); }

/* ===================================================
   FRETE CARD
   =================================================== */
.frete-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.frete-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
  transform: translateY(-2px);
  color: inherit;
}

/* Card header: company icon + name + distance badge */
.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fc-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.fc-product-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fc-company-name {
  font-size: .83rem;
  font-weight: 600;
  color: var(--c-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-dist-badge {
  flex-shrink: 0;
  padding: .2rem .65rem;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 8px;
}

/* Route row */
.fc-route-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.fc-route-side { flex: 1; min-width: 0; }
.fc-route-side.right { text-align: right; }

.fc-route-label {
  font-size: .68rem;
  color: var(--c-text-3);
  display: block;
  margin-bottom: 2px;
}

.fc-route-city {
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-text-1);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-route-state {
  font-size: .82rem;
  font-weight: 400;
  color: var(--c-text-3);
}

.fc-arrow-circle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
}

/* Divider */
.fc-divider {
  border: none;
  border-top: 1.5px solid var(--gray-100);
  margin: .85rem 0;
}

/* Product line */
.fc-product-line {
  font-size: .85rem;
  color: var(--c-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .65rem;
}

/* Tags */
.fc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: .65rem; }

.tag-v {
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 600;
  background: var(--tag-v-bg);
  color: var(--tag-v-text);
}

.tag-b {
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 600;
  background: var(--tag-b-bg);
  color: var(--tag-b-text);
}

.tag-pay {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--c-text-2);
}

/* Stats row */
.fc-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--c-text-2);
  margin-bottom: .75rem;
}

.fc-stats-row .fc-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Price footer */
.fc-price-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1.5px solid var(--gray-100);
}

.fc-price-label {
  font-size: .72rem;
  color: var(--c-text-3);
}

.fc-price-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-600);
}

/* Badge novo */
.badge-novo {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ===================================================
   LOADING / EMPTY STATES
   =================================================== */
.loading-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 4rem 1rem;
  text-align: center;
}

.spinner-border {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-icon {
  font-size: 2.5rem;
  color: var(--c-text-3);
}

.empty-state h5 {
  font-size: 1rem;
  color: var(--c-text-1);
  margin: 0;
}

.empty-state p {
  font-size: .88rem;
  color: var(--c-text-2);
  margin: 0;
}

/* ===================================================
   PAGINATION
   =================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-text-2);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}

.page-item .page-link:hover {
  border-color: var(--brand-200);
  background: var(--brand-50);
  color: var(--brand-600);
}

.page-item.active .page-link {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  font-weight: 700;
}

.page-item.disabled .page-link {
  opacity: .4;
  pointer-events: none;
}

/* ===================================================
   DETAIL PAGE
   =================================================== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1.5px solid var(--c-border);
  padding: .6rem 0;
}

.breadcrumb-bar a {
  color: var(--c-text-2);
  font-size: .78rem;
  text-decoration: none;
}

.breadcrumb-bar a:hover { color: var(--brand-500); }

.code-chip {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--c-text-2);
  padding: .15rem .55rem;
  border-radius: 4px;
  letter-spacing: .5px;
}

.detail-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.detail-card-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--c-text-3);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-route {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-state-block { flex: 1; }

.detail-state-badge {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text-1);
  letter-spacing: -.5px;
}

.detail-state-city {
  display: block;
  font-size: .85rem;
  color: var(--c-text-2);
  margin-top: 2px;
}

.detail-arrow {
  font-size: 1.25rem;
  color: var(--brand-400);
  flex-shrink: 0;
}

.detail-product {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-top: .75rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
}

.info-cell-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--c-text-3);
  margin-bottom: 3px;
}

.info-cell-value {
  font-size: .92rem;
  font-weight: 600;
  color: var(--c-text-1);
}

/* Reveal / WhatsApp buttons */
.btn-reveal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .6rem 1.2rem;
  background: var(--brand-500);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background .15s;
  font-family: var(--font);
}

.btn-reveal:hover { background: var(--brand-600); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .55rem 1rem;
  background: #16A34A;
  color: #fff;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.btn-whatsapp:hover { background: #15803D; color: #fff; }

/* ===================================================
   FORM PAGE
   =================================================== */
.page-title-bar {
  background: #fff;
  border-bottom: 1.5px solid var(--c-border);
  padding: 1.5rem 0 1.25rem;
}

.page-title-bar h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.page-title-bar .subtitle {
  font-size: .85rem;
  color: var(--c-text-2);
}

.form-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.form-card-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--c-text-3);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: .4rem;
  display: block;
}

/* Pill checkboxes */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.pill-opt {
  padding: .3rem .8rem;
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--c-text-2);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}

.pill-opt:hover {
  border-color: var(--brand-400);
  color: var(--brand-600);
}

.pill-opt.checked {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-600);
  font-weight: 600;
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: .7rem 1.25rem;
  width: 100%;
  background: var(--brand-500);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--brand-600);
  box-shadow: 0 4px 12px rgba(70,95,255,.35);
}

.btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Alert OK */
.alert-ok {
  background: #DCFCE7;
  border: 1.5px solid #86EFAC;
  border-radius: var(--r);
  color: #15803D;
  padding: 1rem 1.25rem;
  font-size: .9rem;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.step-card {
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: box-shadow .2s;
}

.step-card:hover { box-shadow: var(--shadow); }

.step-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.step-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 1.3rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

/* ===================================================
   BENEFITS
   =================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--r);
  transition: background .15s;
}

.benefit-item:hover { background: var(--gray-50); }

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  font-size: 1.2rem;
}

/* ===================================================
   POPULAR ROUTES
   =================================================== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}

.route-card {
  display: block;
  padding: 1.1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: all .2s;
  text-decoration: none;
  color: inherit;
}

.route-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
  color: inherit;
}

.route-badge-popular {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: .5rem;
}

/* ===================================================
   FAQ
   =================================================== */
.faq-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: .5rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text-1);
  transition: background .15s;
}

.faq-question:hover { background: var(--gray-100); }

.faq-chevron {
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--c-text-3);
  transition: transform .2s;
  margin-left: .75rem;
}

.faq-chevron.open { transform: rotate(180deg); }

.faq-answer {
  padding: 1rem 1.25rem;
  font-size: .88rem;
  color: var(--c-text-2);
  line-height: 1.65;
  background: #fff;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: var(--brand-500);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-section h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: .75rem;
}

.cta-section p {
  opacity: .85;
  max-width: 500px;
  margin: 0 auto 1.75rem;
  font-size: .95rem;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .7rem 1.5rem;
  background: #fff;
  color: var(--brand-600);
  border-radius: var(--r);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  color: var(--brand-600);
}

/* ===================================================
   SEO CONTENT SECTION
   =================================================== */
.seo-content {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.seo-content h2 {
  font-size: 1.35rem;
  color: var(--c-text-1);
  margin-bottom: .75rem;
}

.seo-content h3 {
  font-size: 1.05rem;
  color: var(--c-text-1);
  margin: 1.5rem 0 .5rem;
  font-weight: 700;
}

/* ===================================================
   CARGO TYPES
   =================================================== */
.cargo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}

.cargo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.1rem .75rem;
  background: var(--gray-50);
  border-radius: var(--r-lg);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text-2);
  text-align: center;
  transition: background .15s, color .15s;
}

.cargo-item:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

.cargo-item-icon { font-size: 1.75rem; }

/* ===================================================
   WHATSAPP BANNER
   =================================================== */
.whatsapp-banner {
  background: #15803D;
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.whatsapp-banner-text h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}

.whatsapp-banner-text p {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  margin: 0;
}

.btn-whatsapp-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1.4rem;
  background: #fff;
  color: #15803D;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s;
  flex-shrink: 0;
}

.btn-whatsapp-banner:hover {
  transform: translateY(-1px);
  color: #15803D;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #fff;
  border-top: 1.5px solid var(--c-border);
  padding: 1.5rem 0;
  font-size: .8rem;
  color: var(--c-text-3);
  margin-top: 3rem;
}

/* ===================================================
   BLAZOR ERROR UI
   =================================================== */
#blazor-error-ui {
  background: #FEF2F2;
  border-top: 1.5px solid #FCA5A5;
  color: #DC2626;
  padding: .6rem 1rem;
  font-size: .82rem;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
}

#blazor-error-ui.blazor-error-boundary { display: block; }

/* ===================================================
   BOOTSTRAP OVERRIDES
   =================================================== */
.form-control, .form-select {
  font-family: var(--font) !important;
  font-size: .88rem !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-sm) !important;
  color: var(--c-text-1) !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-400) !important;
  box-shadow: 0 0 0 3px rgba(70,95,255,.12) !important;
}

.form-control-sm, .form-select-sm {
  font-size: .82rem !important;
  padding: .38rem .75rem !important;
}

.input-group-text {
  font-family: var(--font);
  font-size: .82rem;
  background: var(--gray-50);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-2);
  border-right: none;
}

.input-group .form-control {
  border-left: none !important;
}

.validation-message {
  font-size: .75rem;
  color: var(--c-danger);
  margin-top: .25rem;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .site-nav { height: 56px; }
  .hero { padding: 2rem 0 1.5rem; }
  .section-card { padding: 1.25rem; }
  .frete-card { padding: 1rem; }
  .detail-card { padding: 1.1rem; }
  .form-card { padding: 1.1rem; }
  .cta-section { padding: 2rem 1.25rem; }
  .whatsapp-banner { padding: 1.25rem; }
  .filter-panel { position: static; }
  .hero-stats { gap: 1.5rem; }
}

/* ===================================================
   WHATSAPP MODAL
   =================================================== */
.wap-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wap-modal {
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  width: 100%;
  max-width: 440px;
  padding: 1.75rem 1.5rem 1.5rem;
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.wap-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: .85rem;
}

.wap-body p {
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.wap-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.wap-btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.25rem;
  background: #16a34a;
  color: #fff;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s;
}
.wap-btn-join:hover { background: #15803d; color: #fff; }

.wap-btn-later {
  background: none;
  border: none;
  color: var(--c-text-3);
  font-size: .83rem;
  cursor: pointer;
  text-align: center;
  padding: .4rem;
}
.wap-btn-later:hover { color: var(--c-text-2); }
