/* ===== WEB VEÍCULOS — RESET & VARS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:   #1a7a3e;
  --green2:  #156032;
  --green3:  #0d4d20;
  --greenlt: rgba(26,122,62,.10);
  --orange:  #f07c00;
  --orange2: #d46d00;
  --bg:      #f2f4f6;
  --surface: #ffffff;
  --dark:    #1a1a1a;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --text:    #374151;
  --white:   #ffffff;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0,0,0,.07);
  --shadow-h: 0 6px 24px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  background: var(--green);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  flex-shrink: 0;
}

.logo span { color: var(--green); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  font-size: 0.875rem;
}
.nav-links a { color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--dark); }

.btn-anunciar {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background .15s;
}
.btn-anunciar:hover { background: var(--green2); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; margin: -6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  padding: 72px 0 60px;
  background: linear-gradient(135deg, var(--green3) 0%, var(--green) 60%, #2da05e 100%);
  position: relative;
  overflow: visible;
}
.hero::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.13;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.hero h1 em { font-style: normal; color: #a8f0c0; }

.hero-sub { font-size: 1rem; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 32px; line-height: 1.65; }

.search-wrap {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: visible;
  max-width: 650px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: box-shadow .2s;
}
.search-wrap:focus-within { box-shadow: 0 6px 28px rgba(0,0,0,.25); }

/* ===== CUSTOM SELECT (substitui <select> nativo) ===== */
.cs-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

/* Trigger — versão para search-wrap (fundo branco) */
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  padding: 14px 14px;
  min-width: 155px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  background: #fff;
  border: none;
  border-right: 1px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius);
  height: 100%;
  font-family: var(--font);
}
.cs-trigger svg { flex-shrink: 0; transition: transform .2s; }
.cs-trigger.open svg { transform: rotate(180deg); }

/* Trigger — versão para FIPE (fundo verde) */
.cs-trigger.cs-fipe {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-right: 1.5px solid rgba(255,255,255,.35);
  border-radius: 8px;
  color: #fff;
  padding: 11px 14px;
  min-width: 148px;
  height: auto;
}
.cs-trigger.cs-fipe:hover { background: rgba(255,255,255,.26); }
.cs-trigger.cs-fipe .cs-arrow path { stroke: #fff; }

/* Dropdown list */
.cs-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
  z-index: 600;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .14s, transform .14s;
}
.cs-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cs-option {
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  transition: background .1s;
  white-space: nowrap;
}
.cs-option:hover   { background: #f0faf4; color: var(--green); }
.cs-option.sel     { color: var(--green); font-weight: 700; background: #edf7f1; }

/* Native select escondido mas funcional para submit */
.cs-hidden { display: none; }

/* Mantém compatibilidade com search-select antigo se necessário */
.search-select { display: none; }

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--dark);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  outline: none;
  min-width: 0;
}
.search-input::placeholder { color: #9ca3af; }

.search-btn {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 14px 22px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background .15s;
  cursor: pointer;
}
.search-btn:hover { background: var(--orange2); }

.hero-stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; position: relative; z-index: 1; }
.stat-n { font-size: 1.55rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-n b { color: #a8f0c0; }
.stat-l { font-size: 0.72rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section-wrap { padding: 58px 0; }
.section-wrap.alt { background: var(--surface); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 5%; }

.s-label { display: block; font-size: 0.68rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 8px; }
.s-title { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--dark); letter-spacing: -0.4px; margin-bottom: 4px; }
.s-sub { font-size: 0.875rem; color: #4b5563; }
.section-head { margin-bottom: 32px; max-width: 1100px; margin-left: auto; margin-right: auto; }

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 10px;
  text-align: center;
  transition: all .17s;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.cat-card:hover { border-color: var(--green); background: var(--greenlt); transform: translateY(-2px); box-shadow: var(--shadow-h); }
.cat-card i { font-size: 1.65rem; display: block; margin-bottom: 8px; }
.cat-card strong { font-size: 0.78rem; color: var(--dark); display: block; font-weight: 700; }
.cat-card small { font-size: 0.68rem; color: var(--muted); margin-top: 3px; display: block; }

/* ===== VEHICLE CARDS ===== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.vcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .17s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.vcard:hover { border-color: #c8d8ce; box-shadow: var(--shadow-h); transform: translateY(-3px); }

.vcard-thumb {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #e8edf0;
}
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard-thumb .grad-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.75rem; letter-spacing: 0.3px;
}

.vcard-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; }
.badge {
  font-size: 0.64rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; text-transform: uppercase;
}
.b-red { background: var(--green); color: #fff; }
.b-dark { background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(3px); }

.vcard-fav {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(3px);
  border: none; color: var(--muted); width: 30px; height: 30px;
  border-radius: 50%; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.vcard-fav:hover { background: #fff; color: var(--green); }

.vcard-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.vcard-brand { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.vcard-name { font-size: 0.975rem; font-weight: 700; color: var(--dark); margin: 2px 0 6px; line-height: 1.3; }
.vcard-location { font-size: 0.7rem; color: var(--muted); margin-bottom: 10px; }

.vcard-specs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.vspec {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 8px;
  font-size: 0.7rem; color: var(--muted);
}

.vcard-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 12px;
  margin-top: auto; gap: 8px;
}

.price-main { font-size: 1.15rem; font-weight: 900; color: var(--orange); line-height: 1; }
.price-sub { font-size: 0.68rem; color: var(--muted); margin-top: 2px; }

.vcard-btns { display: flex; gap: 5px; }
.btn-wpp {
  background: #25d366; border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .15s;
}
.btn-wpp:hover { background: #1eaa53; }
.btn-ver {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 600;
  transition: all .15s;
}
.btn-ver:hover { border-color: var(--green); color: var(--green); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  transition: all .17s; cursor: pointer;
  box-shadow: var(--shadow);
}
.svc-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-h); }
.svc-icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.svc-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.svc-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

/* ===== FIPE ===== */
.fipe-strip {
  background: linear-gradient(100deg, var(--green3) 0%, var(--green) 100%);
  padding: 50px 0;
}
.fipe-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.fipe-strip h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.fipe-strip h2 span { color: #a8f0c0; }
.fipe-strip p { color: rgba(255,255,255,.75); font-size: 0.875rem; max-width: 340px; }
.fipe-form { display: flex; gap: 8px; flex-wrap: wrap; }
.fipe-sel {
  background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 11px 40px 11px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  min-width: 145px;
}
.fipe-sel:focus { border-color: rgba(255,255,255,.8); background-color: rgba(255,255,255,.25); }
.fipe-sel option { background: #1a4d2e; color: #fff; }
.fipe-btn {
  background: var(--orange); border: none; color: #fff;
  padding: 10px 22px; border-radius: 8px; font-size: 0.875rem; font-weight: 700;
  transition: background .15s;
}
.fipe-btn:hover { background: var(--orange2); }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.bcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .17s;
  box-shadow: var(--shadow);
}
.bcard:hover { border-color: #ccd9d1; box-shadow: var(--shadow-h); transform: translateY(-3px); }
.bcard-thumb { height: 160px; overflow: hidden; background: #e8edf0; }
.bcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bcard:hover .bcard-thumb img { transform: scale(1.04); }
.bcard-body { padding: 16px; }
.bcard-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.bcat {
  font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: 50px;
  background: var(--greenlt); color: var(--green); letter-spacing: 0.2px;
}
.bdate { font-size: 0.72rem; color: var(--muted); }
.bcard-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); line-height: 1.42; margin-bottom: 7px; }
.bcard-excerpt { font-size: 0.8rem; color: var(--muted); line-height: 1.62; margin-bottom: 12px; }
.bcard-link {
  font-size: 0.8rem; font-weight: 700; color: var(--green);
  display: inline-flex; align-items: center; gap: 4px; transition: gap .15s;
}
.bcard-link:hover { gap: 8px; }

/* ===== ABOUT SECTION ===== */
.about-strip {
  background: var(--surface);
  padding: 60px 5%;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(100deg, var(--green3) 0%, var(--green) 100%);
  padding: 52px 5%; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.cta-banner h2 { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: -0.5px; }
.cta-banner p { color: rgba(255,255,255,.78); font-size: 0.9rem; margin-bottom: 26px; }
.btn-white {
  display: inline-block; background: #fff; color: var(--green);
  padding: 12px 32px; border-radius: 8px; font-weight: 800; font-size: 0.9rem;
  transition: all .15s; box-shadow: 0 3px 12px rgba(0,0,0,.15);
}
.btn-white:hover { background: #f0f9f3; box-shadow: 0 5px 20px rgba(0,0,0,.2); }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 50px 0 22px;
}
.footer-wrap { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.8rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.f-col h4 {
  font-size: 0.73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--dark); margin-bottom: 14px;
}
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 9px; }
.f-col ul li a { font-size: 0.8rem; color: var(--muted); transition: color .15s; }
.f-col ul li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px; font-size: 0.75rem; color: var(--muted);
}

/* FLOATING WPP */
.wpp-float {
  position: fixed; bottom: 22px; right: 22px;
  background: #25d366; color: #fff;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 18px rgba(37,211,102,.4);
  z-index: 300; transition: transform .18s, box-shadow .18s;
}
.wpp-float:hover { transform: scale(1.08); box-shadow: 0 6px 26px rgba(37,211,102,.55); }

/* UTILS */
.center { text-align: center; margin-top: 32px; }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--green); color: var(--green);
  padding: 10px 26px; border-radius: 8px; font-size: 0.875rem; font-weight: 700;
  transition: all .15s;
}
.btn-outline:hover { background: var(--green); color: #fff; }

.seo-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== BLOG PAGE ===== */
.blog-hero-page {
  background: linear-gradient(135deg, var(--green3) 0%, var(--green) 100%);
  padding: 52px 0 38px;
  text-align: center;
}
.blog-hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.blog-hero-page .s-label { color: rgba(255,255,255,.7); }
.blog-hero-page h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900; color: #fff;
  letter-spacing: -0.5px; margin: 8px 0;
}
.blog-hero-page p { color: rgba(255,255,255,.78); font-size: 0.9rem; margin-top: 6px; }

.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.f-btn {
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85);
  padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: all .15s; backdrop-filter: blur(4px);
}
.f-btn.on, .f-btn:hover { background: #fff; border-color: #fff; color: var(--green); }

.blog-main-wrap { padding: 48px 5%; max-width: 1100px; margin: 0 auto; }

.blog-feat-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 48px; }
.bcard-big {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all .17s;
  box-shadow: var(--shadow);
}
.bcard-big:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.bcard-big .bcard-thumb { height: 230px; }
.bcard-big .bcard-body { padding: 22px; }
.bcard-big .bcard-title { font-size: 1.12rem; margin-bottom: 9px; }
.bcard-big .bcard-excerpt { font-size: 0.86rem; }

.blog-side { display: flex; flex-direction: column; gap: 16px; }
.bcard-sm {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; flex: 1;
  display: flex; flex-direction: column; transition: all .17s;
  box-shadow: var(--shadow);
}
.bcard-sm:hover { box-shadow: var(--shadow-h); }
.bcard-sm .bcard-thumb { height: 90px; }
.bcard-sm .bcard-body { padding: 12px; }
.bcard-sm .bcard-title { font-size: 0.85rem; line-height: 1.35; }

.blog-all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }

/* ===== POST / ARTICLE PAGE ===== */
.post-hero {
  background: linear-gradient(135deg, var(--green3) 0%, var(--green) 100%);
  padding: 48px 0 36px;
}
.post-hero .bcat { background: rgba(255,255,255,.2); color: #fff; border: none; }
.post-hero h1 {
  font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  font-weight: 900; color: #fff;
  line-height: 1.22; margin: 14px 0 12px;
  letter-spacing: -0.5px;
}
.post-meta-bar { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: 0.8rem; }

.post-content-wrap { max-width: 780px; margin: 0 auto; padding: 46px 5%; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-h); }
.post-cover img { width: 100%; height: 360px; object-fit: cover; display: block; }

.article-body { background: var(--surface); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.article-body h1 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 900; color: var(--dark); line-height: 1.25; margin: 0 0 20px; }
.article-body p { font-size: 0.97rem; color: var(--text); line-height: 1.88; margin-bottom: 18px; }
.article-body h2 { font-size: 1.18rem; font-weight: 800; color: var(--dark); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--greenlt); }
.article-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 22px 0 8px; }
.article-body ul { list-style: none; margin-bottom: 18px; }
.article-body ul li { padding: 5px 0 5px 18px; position: relative; font-size: 0.94rem; color: var(--text); }
.article-body ul li::before { content: '→'; color: var(--green); position: absolute; left: 0; font-weight: 700; }
.article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body ol li { font-size: 0.94rem; color: var(--text); margin-bottom: 6px; }
.article-body hr { border: none; border-top: 1.5px solid var(--border); margin: 32px 0; }
.article-body a { color: var(--green); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }

.article-body blockquote {
  border-left: 4px solid var(--green); margin: 24px 0;
  padding: 14px 20px; background: var(--greenlt); border-radius: 0 8px 8px 0;
  color: var(--green2); font-style: italic; font-size: 1rem;
}

/* ---- art-tags / art-back ---- */
.art-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1.5px solid var(--border); }
.art-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 0.82rem; font-weight: 600; text-decoration: none; margin-bottom: 18px; transition: color .15s; }
.art-back:hover { color: #fff; }
.art-tag { background: var(--greenlt); color: var(--green2); border-radius: 50px; padding: 4px 14px; font-size: 0.78rem; font-weight: 700; text-transform: capitalize; }

/* ---- related posts ---- */
.related-posts {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 5% 64px;
}
.related-posts .section-head h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  margin: 6px 0 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
}

/* ---- card sem thumbnail: placeholder bonito ---- */
.bcard-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--greenlt) 0%, #d0e8da 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--green2);
  font-size: 2.4rem;
}
.bcard-thumb-placeholder i { opacity: .55; }

/* ---- pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700;
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--dark); text-decoration: none; transition: all .15s;
}
.pagination a:hover { background: var(--greenlt); border-color: var(--green); color: var(--green2); }
.pagination span.current { background: var(--green); border-color: var(--green); color: #fff; }


/* ================================================================
   RESPONSIVE — MOBILE FIRST
   Breakpoints: 900px (tablet), 768px (mobile nav), 640px (small)
   ================================================================ */

/* --- 900px: tablet --- */
@media (max-width: 900px) {
  .related-grid   { grid-template-columns: repeat(2, 1fr); }
  .blog-feat-grid { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fipe-inner     { flex-direction: column; align-items: flex-start; }
  .fipe-strip p   { max-width: 100%; }
}

/* --- 768px: hamburger nav ativa --- */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .btn-anunciar { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    z-index: 198;
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 5%;
    font-size: 0.95rem;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
  }
  .nav-links li:last-child a { border-bottom: none; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: 100%; }

  .blog-hero-page { padding: 38px 0 28px; }
  .blog-hero-page h1 { font-size: 1.55rem; }

  .post-hero { padding: 36px 0 28px; }
  .post-hero h1 { font-size: 1.4rem; letter-spacing: -0.3px; }
  .post-meta-bar { gap: 10px; font-size: 0.75rem; }
  .post-content-wrap { padding: 28px 4% 40px; }
  .post-cover img { height: 220px; }
}

/* --- 640px: smartphones --- */
@media (max-width: 640px) {
  .hero { padding: 44px 0 36px; }
  .hero-sub { font-size: 0.92rem; }
  .hero-stats { gap: 20px; }
  .stat-n { font-size: 1.3rem; }

  /* Search form empilhado — evita overflow e zoom iOS */
  .search-wrap { flex-direction: column; border-radius: 12px; overflow: hidden; }
  .cs-trigger {
    border-radius: 0; border-right: none;
    border-bottom: 1px solid var(--border);
    min-width: unset; width: 100%; height: 50px;
    font-size: 1rem;
  }
  .search-input  { font-size: 1rem; padding: 14px 16px; width: 100%; }
  .search-btn    { border-radius: 0 0 12px 12px; padding: 14px; font-size: 1rem; }

  /* Blog filters: scroll horizontal */
  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-filters::-webkit-scrollbar { display: none; }
  .f-btn { white-space: nowrap; flex-shrink: 0; }

  /* Input busca no blog */
  .blog-hero-page form input  { font-size: 1rem; }
  .blog-hero-page form button { font-size: 1rem; }

  /* Grids */
  .related-grid, .blog-all-grid, .blog-grid { grid-template-columns: 1fr; }
  .bcard-big .bcard-thumb { height: 200px; }

  /* Article */
  .article-body    { padding: 22px 16px; }
  .article-body h2 { font-size: 1.08rem; }

  /* Sections */
  .section-wrap { padding: 40px 0; }
  .section-head { margin-bottom: 22px; }

  /* Cat grid */
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* FIPE */
  .fipe-strip  { padding: 36px 0; }
  .fipe-strip h2 { font-size: 1.25rem; }
  .fipe-form   { flex-direction: column; }
  .fipe-sel    { min-width: unset; width: 100%; font-size: 1rem; }
  .fipe-btn    { width: 100%; padding: 13px; font-size: 1rem; }

  /* Footer */
  footer { padding: 36px 0 18px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }

  /* WhatsApp float */
  .wpp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 16px; right: 16px; }

  /* Pagination */
  .pagination a, .pagination span { width: 34px; height: 34px; font-size: 0.82rem; }
}

/* --- Touch targets: min 44px em todos os elementos interativos --- */
/* btn-anunciar: display controlado por media query — so min-height aqui */
.btn-anunciar { min-height: 44px; }
.f-btn        { min-height: 44px; display: inline-flex; align-items: center; }
.search-btn   { min-height: 50px; }
.fipe-btn     { min-height: 44px; }
.btn-white    { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-outline  { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* btn-anunciar: garante inline-flex apenas em desktop */
@media (min-width: 769px) {
  .btn-anunciar { display: inline-flex; align-items: center; }
}

/* --- Smooth scroll global --- */
html { scroll-behavior: smooth; }
