/* ================================================================
   ConsultaDeCarro — Design System V3 "Instrument Paper"
   Palette: Paper #F7F6F2 · Ink #16181A · Teal #0E7A5F · Mint #8FE0C0
   Hairlines #E6E4DE · Mono labels (IBM Plex Mono) · Flat surfaces
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (labels)
   Regra: NENHUM texto em gradiente — cor sólida sempre.
   ================================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Paper palette (PDF mpwa.to, versão white) */
  --charcoal:   #14130f;
  --chartreuse: #007469;
  --sandstone:  #fafaf9;
  --terracotta: #a16207;
  --clay:       #f0efe9;
  --card:       #ffffff;
  --card-2:     #f5f4f2;
  --border:     #e2e1dd;

  /* Brand palette */
  --primary:       #007469;
  --primary-dark:  #005b52;
  --primary-light: #d2f8f1;
  --btn-bg:        #007469;
  --btn-hover:     #005b52;
  --text:          #14130f;
  --text-light:    #44423c;
  --text-muted:    #75726a;

  /* Neutrals (warm, hairline) */
  --white:    #ffffff;
  --gray-50:  #fafaf9;
  --gray-100: #f5f4f2;
  --gray-200: #e2e1dd;
  --gray-300: #a19e96;
  --gray-400: #c8c5bd;
  --gray-500: #75726a;
  --gray-600: #55524a;
  --dark:     #14130f;
  --dark2:    #22201c;

  /* Semantic */
  --success: #16a34a;
  --danger:  #dc2626;
  --info:    #2563eb;
  --warning: #d97706;

  /* Type */
  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Geometry */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Flat surfaces — sombra só para elevar card, nunca dura */
  --shadow-hard:    none;
  --shadow-hard-sm: none;
  --shadow-hard-lg: none;
  --shadow-sm: 0 1px 2px #14130f0d;
  --shadow: 0 10px 15px -3px #14130f14, 0 4px 6px -4px #14130f0d;
  --shadow-lg: 0 10px 15px -3px #14130f14, 0 4px 6px -4px #14130f0d;
  --shadow-primary: 0 1px 2px rgba(26,29,31,.05);
  --shadow-btn:     none;

  --transition:    .18s cubic-bezier(.22,1,.36,1);
  --tilt-hover:    translateY(-1px);

  --header-h:   60px;
  --container:  1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--sandstone);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}

/* ── Tilt Core grain texture ── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  display: none; /* v3: superfícies lisas */
  pointer-events: none;
}

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media(min-width:768px) { .container { padding: 0 24px; } }
.section    { padding: 48px 0; }
.section-sm { padding: 28px 0; }
.section-lg { padding: 72px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media(min-width:640px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media(min-width:900px) {
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* ── Buttons — Tilt Core "Power" style ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  padding: 0 22px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}
.btn:hover  { transform: var(--tilt-hover); border-color: var(--text); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--btn-bg); color: #fff; border-color: var(--btn-bg); }
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.btn-yellow { background: var(--btn-bg); color: #fff; border-color: var(--btn-bg); }
.btn-yellow:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.btn-dark { background: var(--charcoal); color: #fafaf9; border-color: var(--charcoal); }
.btn-dark:hover { background: #2d2d2d; }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--text); color: var(--text); box-shadow: none; transform: none; }

.btn-outline-white { background: transparent; color: var(--text); border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); transform: none; box-shadow: none; }

.btn-sm  { height: 38px; padding: 0 16px; font-size: .8rem; border-radius: var(--radius-sm); }
.btn-lg  { height: 56px; padding: 0 32px; font-size: 1rem; }
.btn-xl  { height: 64px; padding: 0 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .65rem; font-weight: 700; font-family: var(--font-display);
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-full);
  border: 1px solid transparent;
}
.badge-primary { background: var(--primary); color: var(--text); border-color: var(--text); }
.badge-chartreuse { background: #DFF2EA; color: #0E7A5F; border: none; }
.badge-purple  { background: var(--btn-bg); color: var(--text); }
.badge-dark    { background: var(--charcoal); color: #fff; }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger  { background: #fee2e2; color: #b91c1c; }
.badge-warning { background: #fef3c7; color: #92400e; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: var(--sandstone);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 16px;
}
@media(min-width:768px) { .header-inner { padding: 0 24px; } }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.05rem; letter-spacing: -.02em; color: var(--text);
}
.logo-mark {
  width: 30px; height: 30px;
  background: var(--btn-bg); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: none;
}
.logo-mark svg path { stroke: #fff !important; }
.logo-mark svg circle { fill: #fff !important; }
.logo .accent { color: var(--btn-bg); }

.nav-desktop { display: none; align-items: center; gap: 2px; }
@media(min-width:768px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: .82rem; font-weight: 600; color: var(--gray-500);
  padding: 6px 11px; border-radius: var(--radius-sm); transition: var(--transition);
  font-family: var(--font-display);
}
.nav-desktop a:hover, .nav-desktop a.active {
  background: var(--chartreuse); color: #fff;
}

/* ── Cards — Tilt Core drop-shadow no-blur ── */
.card {
  background: var(--card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  border-color: var(--gray-300);
  transform: translateY(-1px);
}
.card-flat    { background: var(--sandstone); border-color: var(--gray-200); }
.card-sand    { background: var(--sandstone); border: 1px solid var(--gray-200); }
.card-charcoal { background: var(--charcoal); color: var(--text); border-color: var(--text); }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: .66rem; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--btn-bg);
  padding: 0; border: none; margin-bottom: 10px;
}
.eyebrow::before { content: '•'; margin-right: 8px; color: var(--btn-bg); }
.eyebrow-purple { color: var(--btn-bg); }
.eyebrow-dark   { color: var(--chartreuse); }
.eyebrow-dark::before { color: var(--chartreuse); }

/* Mono micro-label (uso livre: códigos, unidades, status) */
.mono-label {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}

/* ── Stats strip ── */
.stats-strip { background: var(--clay); color: var(--text); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.stats-grid  { display: grid; grid-template-columns: repeat(2,1fr); }
@media(min-width:640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item {
  padding: 20px 18px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.3rem,4vw,1.9rem);
  color: var(--chartreuse); line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: .72rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ── Search / form controls ── */
.search-wrap {
  background: var(--card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 18px;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
  box-shadow: var(--shadow-hard-sm);
}
.search-wrap:focus-within {
  border-color: var(--btn-bg);
  box-shadow: var(--shadow-hard);
}
.search-wrap input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 1rem; font-weight: 600; color: var(--text);
  height: 46px; min-width: 0;
  text-transform: uppercase; letter-spacing: .06em;
}
.search-wrap input::placeholder {
  text-transform: none; letter-spacing: 0; color: var(--gray-400); font-weight: 400;
}

/* ── Form elements ── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label {
  font-size: .72rem; font-weight: 600;
  font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}
.form-input {
  border: 1px solid var(--gray-300); background: #FFFFFF; color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--text);
  background: var(--card);
  outline: none;
  transition: var(--transition);
  width: 100%;
  font-weight: 500;
}
.form-input:focus { border-color: var(--btn-bg); border-color: var(--btn-bg); box-shadow: 0 0 0 3px rgba(224,55,167,.12); }

.form-select {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 40px 12px 14px;
  font-size: .9rem;
  color: var(--text);
  background: var(--card);
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 500;
  font-family: var(--font-body);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-select:focus { border-color: var(--btn-bg); box-shadow: 0 0 0 3px rgba(224,55,167,.12); }
.form-select:disabled { background-color: var(--gray-100); color: var(--gray-400); cursor: not-allowed; border-color: var(--gray-300); }

/* ── Search card wrapper ── */
.search-card {
  background: var(--card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-hard);
}

/* ── Data table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th {
  background: var(--charcoal); color: #fff;
  font-weight: 700; font-size: .72rem; letter-spacing: .05em;
  text-transform: uppercase; padding: 10px 14px; text-align: left;
  font-family: var(--font-display);
}
.data-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--gray-200); color: var(--text);
  background: var(--card);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--sandstone); }
.data-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  font-size: .75rem; color: var(--text-muted); margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--gray-400); }
.breadcrumb .current { color: var(--chartreuse); font-weight: 700; }
/* Breadcrumb sobre hero escuro (charcoal): manter texto claro */
.breadcrumb.bc-dark { color: rgba(255,255,255,.5); }
.breadcrumb.bc-dark a { color: rgba(255,255,255,.5); }
.breadcrumb.bc-dark a:hover { color: #fff; }
.breadcrumb.bc-dark .sep { color: rgba(255,255,255,.25); }

/* ── Tabs ── */
.tabs {
  display: flex; gap: 3px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 4px; border-radius: 10px;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; padding: 8px 16px;
  border: none; background: none;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  color: var(--text-muted);
  border-radius: 7px; cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.tab-btn.active { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── FAQ — Featured Snippet optimised ── */
.faq-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem,2.5vw,1.5rem);
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.faq-item { border-bottom: 1.5px solid var(--gray-200); }
.faq-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 16px 0; background: none; border: none;
  cursor: pointer; text-align: left;
  transition: var(--transition);
}
.faq-btn:hover { color: var(--btn-bg); }
.faq-question {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.88rem,2vw,1rem);
  color: var(--text);
  line-height: 1.4;
  flex: 1;
  text-align: left;
}
.faq-btn:hover .faq-question { color: var(--btn-bg); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; border: 1px solid var(--gray-200);
  background: var(--sandstone);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s;
  margin-top: 1px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--btn-bg); border-color: var(--btn-bg); }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-body { overflow: hidden; max-height: 0; transition: max-height .38s cubic-bezier(.4,0,.2,1); }
.faq-body-inner {
  padding: 0 0 18px;
  font-size: .88rem; color: var(--gray-500); line-height: 1.78;
}

/* ── Info / alert boxes ── */
.info-box {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--primary-light); border: 1px solid var(--primary);
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .84rem; color: var(--text);
}
.alert-danger {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--card)5f5; border: 2px solid #fecaca;
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .84rem; color: #b91c1c;
}
.alert-success {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f0fdf4; border: 2px solid #bbf7d0;
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .84rem; color: #15803d;
}

/* ── Spec grid (Ficha Técnica) ── */
.spec-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--charcoal);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
}
@media(min-width:640px) { .spec-grid { grid-template-columns: repeat(3,1fr); } }
.spec-item { background: var(--card); padding: 14px; }
.spec-item:hover { background: var(--sandstone); }
.spec-label {
  font-size: .67rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--gray-500); font-weight: 700;
  font-family: var(--font-display); margin-bottom: 3px;
}
.spec-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: .9rem; color: var(--text);
}

/* ── Detail grid (Olho no Carro / Result style) ── */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media(min-width:480px) { .detail-grid { grid-template-columns: repeat(2,1fr); } }

.detail-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  border-left: 4px solid var(--chartreuse);
  transition: var(--transition);
  position: relative;
}
.detail-item:hover {
  background: var(--sandstone);
  border-left-color: var(--btn-bg);
  box-shadow: var(--shadow-hard-sm);
  transform: translate(-1px,-1px);
}
.detail-label {
  font-size: .67rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--gray-400); font-weight: 700; font-family: var(--font-display);
}
.detail-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: .9rem; color: var(--text);
}
.detail-value.ok   { color: var(--success); }
.detail-value.warn { color: var(--warning); }
.detail-value.danger { color: var(--danger); }

/* ── Pro / Con ── */
.pro-con-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media(min-width:640px) { .pro-con-grid { grid-template-columns: 1fr 1fr; } }
.pros {
  background: #f0fdf4; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 18px;
  border-left: 5px solid var(--success);
}
.cons {
  background: var(--card)5f5; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 18px;
  border-left: 5px solid var(--danger);
}
.pro-con-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: .85rem; margin-bottom: 12px;
}
.pros .pro-con-title { color: var(--success); }
.cons .pro-con-title { color: var(--danger); }
.pci { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; padding: 4px 0; color: var(--text); }

/* ── Compare table ── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .84rem; }
.compare-table th {
  padding: 14px; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  background: var(--sandstone); border-bottom: 2px solid var(--charcoal);
  color: var(--text);
}
.compare-table th:first-child { text-align: left; }
.compare-table th.hl { background: var(--chartreuse); color: var(--text); }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--gray-200); color: var(--text); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table .rl { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-400); font-weight: 700; }
.compare-table .rv { font-weight: 700; color: var(--text); }
.compare-table .rv.best  { color: var(--success); }
.compare-table .rv.worst { color: var(--danger); }

/* ── Sticky model nav ── */
.model-nav {
  position: sticky; top: var(--header-h); z-index: 100;
  background: var(--sandstone);
  border-bottom: 1.5px solid var(--charcoal);
  overflow-x: auto; scrollbar-width: none;
}
.model-nav::-webkit-scrollbar { display: none; }
.model-nav-inner { display: flex; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.mnav-link {
  padding: 13px 14px; font-size: .8rem; font-weight: 800;
  font-family: var(--font-display); color: var(--gray-500);
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: var(--transition); text-decoration: none;
}
.mnav-link:hover { color: var(--text); }
.mnav-link.active { color: var(--text); border-bottom-color: var(--btn-bg); }

/* ── Answer Box (resposta rápida para featured snippet) ── */
.answer-box { background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px 26px; margin: 18px 0 10px; }
.answer-box .ab-label { font-family: var(--font-display); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 8px; }
.answer-box p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); }

/* ── CTA Band ── */
.cta-band {
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 32px 24px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-hard);
}
.cta-band::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--chartreuse); opacity: .08;
  pointer-events: none;
}
.cta-band-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.2rem,3.5vw,1.8rem); color: var(--text);
  margin-bottom: 8px;
}
.cta-band-sub { font-size: .86rem; color: rgba(255,255,255,.48); margin-bottom: 20px; }

/* ── Entity / LSI block — Tilt Core style ── */
.entity-block {
  background: var(--sandstone);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 24px;
  position: relative;
  box-shadow: var(--shadow-hard-sm);
}
.entity-block-header {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 900;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--charcoal);
}
.entity-title {
  font-family: var(--font-display); font-weight: 800; font-size: .75rem;
  color: var(--text); margin-bottom: 8px; margin-top: 14px;
  display: flex; align-items: center; gap: 7px;
  text-transform: uppercase; letter-spacing: .06em;
}
.entity-title:first-child { margin-top: 0; }
.entity-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.entity-tag {
  background: var(--card); border: 1px solid var(--gray-200);
  border-radius: var(--radius-full); padding: 4px 12px;
  font-size: .73rem; color: var(--text); transition: var(--transition);
  font-weight: 500;
}
.entity-tag:hover { background: var(--chartreuse); border-color: var(--text); color: var(--text); }

/* ── Rank card ── */
.rank-card {
  background: var(--card); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden; transition: var(--transition);
}
.rank-card:hover { box-shadow: var(--shadow-hard); transform: translate(-2px,-2px); }
.rank-card.rank-1 { border-color: var(--text); border-width: 2px; box-shadow: var(--shadow-hard-sm); }
.rank-num {
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--gray-200);
}
.rn-gold   { background: var(--chartreuse); color: var(--text); }
.rn-silver { background: #e0e0e0; color: var(--text); }
.rn-bronze { background: #f0d4b8; color: #8b4513; }
.rn-other  { background: var(--gray-100); color: var(--gray-500); }

/* ── Price tag ── */
.price-tag {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem,5vw,2.4rem); color: var(--text);
  letter-spacing: -.03em; line-height: 1;
}
.price-note { font-size: .72rem; color: var(--gray-400); margin-top: 4px; }

/* ── Depreciation bar ── */
.depr-bar { height: 10px; border-radius: 5px; background: var(--gray-200); overflow: hidden; margin-top: 4px; border: 1px solid var(--gray-300); }
.depr-fill { height: 100%; border-radius: 4px; background: var(--btn-bg); } /* cor sólida — sem gradiente */

/* ── Tags cloud ── */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px; background: var(--card);
  border: 1px solid var(--gray-200); border-radius: var(--radius-full);
  font-size: .76rem; color: var(--text); transition: var(--transition);
  text-decoration: none; font-weight: 500;
}
.tag:hover { background: var(--chartreuse); }

/* ── Spinner / skeleton ── */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200); border-top-color: var(--btn-bg);
  border-radius: 50%; animation: spin .7s linear infinite; margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer — 4 columns ── */
.site-footer {
  background: #F1EFE9;
  color: #7A7F87;
  padding: 48px 0 28px;
  font-size: .82rem;
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
@media(min-width:480px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.05rem; color: var(--text);
}
.footer-logo .logo-mark { background: var(--chartreuse); }
.footer-logo .logo-mark svg path { stroke: var(--charcoal); }
.footer-logo .logo-mark svg circle { fill: var(--charcoal); }
.footer-tagline {
  font-size: .79rem; color: var(--text-muted);
  line-height: 1.65; max-width: 220px;
}

.footer-col-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: .73rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--chartreuse); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-200);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); font-size: .82rem; }
.footer-links a:hover { color: var(--chartreuse); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  font-size: .72rem; color: rgba(255,255,255,.26);
}

/* ── Mobile sticky CTA ── */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(245,242,237,.97);
  backdrop-filter: blur(16px);
  border-top: 2px solid var(--charcoal);
  padding: 10px 16px; z-index: 150;
  display: flex; gap: 8px;
}
@media(min-width:768px) { .mobile-cta { display: none; } }

/* ── Animations ── */

/* ── Hero 2 colunas (texto | cartão) ── */
.anim-up2 { animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .14s both; }
@media(max-width:900px){ .hero-grid { grid-template-columns: 1fr !important; gap: 26px !important; } }

@keyframes fadeUp { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes tiltIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

.anim-up    { animation: fadeUp .45s cubic-bezier(.22,1,.36,1) both; }
.anim-tilt  { animation: tiltIn .45s cubic-bezier(.22,1,.36,1) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; }

/* ── Misc utils ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--sandstone); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-white  { color: var(--text) !important; }
.text-charcoal { color: var(--text) !important; }
.text-muted  { color: var(--gray-500); }
.fw-bold  { font-weight: 700; }
.fw-black { font-weight: 900; }
.bg-sand  { background: var(--sandstone); }
.bg-charcoal { background: var(--charcoal); }

/* ── Dark section text fixes ── */
.dark-section h1,
.dark-section h2,
.dark-section h3 { color: var(--text); }
.dark-section p { color: rgba(255,255,255,.65); }

/* ── Page body bg override ── */
.page-bg { background: var(--sandstone); }

/* ── Section-specific overrides ── */
body > section:first-of-type,
main > section:first-of-type { background: var(--charcoal); }

/* ══ TEMA DARK — segunda opção (valores EXATOS da referência Site-white) ══ */
html.dark {
  --charcoal:   #14130f;
  --chartreuse: #1ca597;
  --sandstone:  #090806;
  --terracotta: #d97706;
  --clay:       #0d0c08;
  --card:       #14130f;
  --card-2:     #0d0c08;
  --border:     #22201c;
  --primary:       #1ca597;
  --primary-dark:  #4eb9ac;
  --primary-light: #00312c;
  --btn-bg:        #1ca597;
  --btn-hover:     #4eb9ac;
  --text:          #fafaf9;
  --text-light:    #d5d2cb;
  --text-muted:    #a19e96;
  --white:    #ffffff;
  --gray-50:  #0d0c08;
  --gray-100: #14130f;
  --gray-200: #22201c;
  --gray-300: #3d3b36;
  --gray-400: #8a93a3;
  --gray-500: #a19e96;
  --gray-600: #a19e96;
  --dark:     #14130f;
  --dark2:    #22201c;
  --wine: #1ca597;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.5);
  --shadow:     0 10px 15px -3px rgba(0,0,0,.45), 0 4px 6px -4px rgba(0,0,0,.35);
  --shadow-lg:  var(--shadow);
  --shadow-focus: 0 0 0 3px #00312c;
}
html.dark body { background: var(--sandstone); color: var(--text); }
html.dark .site-footer { background: #0d0c08; color: var(--text-muted); border-top-color: #22201c; }
html.dark .form-input { background: var(--card); color: var(--text); }
html.dark .form-select { background: var(--card); color: var(--text); border-color: var(--gray-300); }
html.dark .search-wrap input { background: var(--card); color: var(--text); }
html.dark .faq-item { background: var(--card); }
html.dark .faq-question { color: var(--text); }
html.dark .data-table { background: var(--card); color: var(--text); }
html.dark .data-table th { background: var(--gray-100); color: var(--text); }
html.dark .data-table td { color: var(--text); }
html.dark ::selection { background: var(--primary); color: #040302; }
html.dark .footer-logo .logo-mark svg path { stroke: #14130f !important; }
html.dark .footer-logo .logo-mark svg circle { fill: #14130f !important; }

/* ── Contraste: correções v3.4 (audit) ── */
.cta-band-sub { color: var(--text-muted) !important; }
.cta-band-title { color: var(--primary) !important; }
.btn-outline-white { color: var(--text) !important; border-color: var(--gray-300) !important; }
.btn-outline-white:hover { background: var(--gray-100) !important; }
html.dark .btn-primary, html.dark .btn-yellow, html.dark .badge-primary, html.dark .badge-purple { color: #fff; }
html.dark .badge-dark { background: var(--gray-100); color: var(--text); border: 1px solid var(--gray-300); }
html.dark .cta-band { background: var(--card); border-color: var(--border); }
html.dark .cta-band-sub { color: var(--text-muted) !important; }
html.dark .btn-outline-white { color: var(--text) !important; border-color: var(--gray-300) !important; }
html.dark .btn-outline-white:hover { background: var(--gray-100) !important; }
html.dark .detail-label, html.dark .mono-label, html.dark .spec-label { color: var(--text-muted) !important; }

/* ── Contraste v3.5 (audit dos prints) ── */
.stat-label { color: var(--text-muted) !important; }
.badge-dark { background: var(--gray-100) !important; color: var(--text) !important; border: 1px solid var(--gray-300) !important; }
.cta-band { background: var(--card) !important; border: 1px solid var(--border) !important; }
.cta-band .btn-yellow { color: #fff !important; }
html.dark .cta-band { background: var(--card) !important; border-color: var(--border) !important; }
html.dark .stat-label { color: var(--text-muted) !important; }
html.dark .badge-dark { background: var(--gray-100) !important; color: var(--text) !important; }
