/* Tema inspirado em TRÂNSITO-MG | Veículos */

:root {
  /* Paleta aproximada do site */
  --brand-yellow: #f2b53b;
  --brand-yellow-700: #d79c2f;
  --brand-black: #1a1a1a;
  --brand-text: #202020;
  --brand-muted: #6a6a6a;
  --surface: #ffffff;
  --bg: #faf6ea; /* leve tom quente semelhante ao site */

  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--brand-text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-yellow);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
/* Marca construída em CSS para replicar o cabeçalho do site */
.brand {
  display: grid;
  grid-template-columns: auto 2px auto;
  align-items: center;
  column-gap: 18px;
}
.brand-stack { display: grid; align-items: start; line-height: 1; }
.brand-stack { row-gap: 2px; }
.brand-line {
  color: var(--brand-black);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
.brand-dotmg {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.brand-divider {
  width: 2px;
  height: 100%;
  background: #fff;
  opacity: .9;
  align-self: stretch;
}
.brand-subtitle {
  display: grid;
  grid-auto-rows: min-content;
  gap: 2px;
  color: var(--brand-black);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 10px 16px;
  background: #00000020;
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle .menu-label { letter-spacing: .5px; }
.menu-toggle:focus { outline: 3px solid rgba(0,0,0,.2); outline-offset: 2px; }

/* Navegação móvel */
.mobile-nav {
  background: var(--surface);
  border-bottom: 1px solid #e7d9b5;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 600;
}
.mobile-nav a:hover { background: #00000006; }

/* Intro */
.intro {
  padding: 36px 0 16px;
}
.intro h1 {
  margin: 0 0 10px;
  font-size: 2.4rem;
  font-weight: 700;
}
.intro p { color: var(--brand-muted); margin: 0; font-size: 1.125rem; line-height: 1.6; }

/* Borda pequena ao redor do texto específico */
.intro .phrase-box {
  display: inline-block;
  border: 2px solid var(--brand-yellow);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(242, 181, 59, .12);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  font-weight: 700;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 20px 0 40px;
}
.card {
  background: var(--surface);
  border: 1px solid #e7d9b5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h2 { font-size: 1.05rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--brand-muted); }
.card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-yellow);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Rodapé */
.site-footer {
  border-top: 1px solid #e7d9b5;
  padding: 18px 0;
  background: var(--surface);
}
.site-footer a { color: var(--brand-black); }

/* Seção de textos promocionais */
/* seção .promo removida */

/* Responsivo */
@media (max-width: 768px) {
  .brand-line { font-size: 22px; }
  .brand-dotmg { font-size: 16px; }
  .brand-divider { opacity: .95; }
  .brand-subtitle { font-size: 11px; letter-spacing: .35px; }
  .intro h1 { font-size: 1.6rem; }
}

/* CTA WhatsApp */
.cta-whatsapp { padding: 8px 0 40px; display: flex; }
.cta-whatsapp { justify-content: center; }
.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.whatsapp-btn:hover { background: #20bf59; }
.whatsapp-btn:focus { outline: 3px solid rgba(37, 211, 102, .35); outline-offset: 2px; }
