:root {
  /* Cores do seu auto.css */
  --primary-color: #ffd700; /* Dourado/Amarelo */
  --secondary-color: #212121; /* Preto */
  --accent-color: #ffd700; /* Dourado para links/destaques */
  --background-light: #f5f5f5; /* Cinza claro/Branco */
  --text-color: #333333; /* Cinza escuro para texto */
  --white-color: #ffffff; /* Branco */
  --gray-color: #cccccc; /* Cinza */
  --whatsapp-green: #25d366;
  --whatsapp-dark-green: #128c7e;
  --red-alert: #ff4136; /* Cor de Alerta/Perigo */
}

/* Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.btn-cta,
.btn-submit {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn-cta:hover,
.btn-submit:hover {
  background-color: #e0b800; /* Um tom mais escuro do amarelo */
}

/* Header */
.header {
  background: var(--secondary-color);
  color: var(--white-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: var(--white-color);
  font-weight: 500;
  padding: 5px 10px;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--gray-color);
  padding: 40px 0;
  font-size: 0.9em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
  padding-right: 20px;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-section p {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--gray-color);
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8em;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--whatsapp-green);
  color: var(--white-color);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-dark-green);
}

/* --- ESTILOS NOVOS DO BLOG (blog.html) --- */

.blog-section {
  padding-top: 120px; /* Ajuste para o header fixo */
  padding-bottom: 60px;
  background-color: var(--background-light);
}

.blog-header-title {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.blog-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.post-list {
  flex: 3; /* Ocupa 70% da largura */
  min-width: 60%;
}

.sidebar {
  flex: 1; /* Ocupa 30% da largura */
  min-width: 300px;
  margin-left: auto;
}

/* Card de Artigo */
.post-card {
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s;
  text-decoration: none;
  color: var(--text-color);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
  width: 30%;
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  width: 70%;
  padding: 20px;
}

.post-content h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.post-content p {
  font-size: 0.95em;
  color: var(--text-color);
  margin-bottom: 15px;
}

.post-content .read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.post-content .post-date {
  display: block;
  font-size: 0.8em;
  color: #888;
  margin-top: 10px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h4 {
  font-size: 1.2em;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Sidebar - Categorias e Mais Lidos */
.category-list a,
.recent-posts a {
  display: block;
  padding: 8px 0;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--gray-color);
  transition: color 0.2s;
}

.category-list a:last-child,
.recent-posts a:last-child {
  border-bottom: none;
}

.category-list a:hover,
.recent-posts a:hover {
  color: var(--primary-color);
}

/* Sidebar - CTA/Formulário de Conversão (Baixa Fricção) */
.sidebar-cta-form {
  background-color: var(--secondary-color) !important;
}

.sidebar-cta-form h4 {
  color: var(--primary-color) !important;
  border-bottom-color: var(--primary-color) !important;
}

.sidebar-cta-form p {
  color: var(--white-color);
}

.sidebar-cta-form input[type="text"],
.sidebar-cta-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--gray-color);
  border-radius: 4px;
}

.sidebar-cta-form button {
  width: 100%;
  background-color: var(--whatsapp-green);
  color: var(--white-color);
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s;
}

.sidebar-cta-form button:hover {
  background-color: var(--whatsapp-dark-green);
}

/* --- RESPONSIVIDADE (A partir do seu auto.css) --- */

@media (max-width: 992px) {
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    display: none;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #333;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 15px 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding-top: 80px;
  }
  .blog-container {
    flex-direction: column;
    gap: 0;
  }
  .post-list,
  .sidebar {
    flex: 100%;
    min-width: 100%;
  }
  .post-card {
    flex-direction: column;
  }
  .post-image {
    width: 100%;
    height: 250px;
  }
  .post-content {
    width: 100%;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}



