/* Estilos do cabeçalho */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #131313;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-logo {
  height: 70px;
  width: auto;
}

/* Esconde o botão de contato na versão mobile */
.main-nav .cta-btn {
  display: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 1s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C28E18;
  transition: width 0.3s ease-in-out;
}

.main-nav a:hover {
  color: #C28E18;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  margin-right: 1.5em;
}

/* Responsivo para o cabeçalho */
@media (max-width: 768px) {
    .main-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
    }

    .main-nav {
        position: absolute;
        top: 91px;
        left: 0;
        width: 100%;
        background-color: #2b2b2b;
        padding: 15px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 20px;
        gap: 0px;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1101;
        position: relative;
    }
    
    /* Exibe e estiliza o botão de contato apenas no menu mobile */
    .main-nav .cta-btn {
        display: inline-block;
        background-color: #2b2b2b;
        color: #C28E18;
        padding: 10px 20px;
        border-radius: 30px;
        text-align: center;
        margin-top: px;
        text-decoration: none;
        border: 2px solid #C28E18;
    }
}

/* Versão Desktop (acima de 768px) */
@media (min-width: 769px) {
    .main-nav {
        margin: auto;
    }
    /* Estiliza o botão de contato para a versão desktop */
    .main-nav .cta-btn {
        display: inline-block;
        background-color: #000000;
        color: #fff;
        padding: 10px 20px;
        border-radius: 30px;
        text-align: center;
        font-weight: 600;
        margin-left: 20px;
        border: 2px solid #C28E18;
    }
}


/* O resto do seu código CSS abaixo permanece o mesmo, conforme solicitado. */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #dcdcdc;
  margin: 0;
  padding: 0;
}

/* Estrutura geral */
.blog-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  margin-top: 10em;
}

/* Artigo em destaque (imagem + texto empilhados) */
.featured-article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.featured-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #131313;
  margin: 10px 0;
}

.featured-content p {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.featured-content .btn {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  color: #C28E18;
  text-decoration: none;
  font-weight: 600;
}

/* Top artigos */
.top-articles {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  width: 100%;
}

.top-articles h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #C28E18;
  margin-bottom: 20px;
  width: 100%;
}

.article-item {
  background: #fff;
  border-left: 3px solid #C28E18;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.article-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #131313;
  margin: 0 0 8px;
}

.article-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Estilos da nova seção de cards */
.secondary-articles {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.secondary-card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  margin-top: 50px;
  align-items: center;
}

.secondary-card:hover {
  transform: translateY(-5px);
}

.secondary-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.secondary-card .card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #C28E18;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 200;
  font-family: 'Montserrat';
}

.secondary-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #131313;
  padding: 15px 15px 0;
  margin: 0;
  margin-bottom: 10px;
}

.secondary-card p {
  font-size: 14px;
  color: #555;
  padding: 0 15px 15px;
  margin: 0;
}

.secondary-card a {
  font-size: 14px;
  color: #C28E18;
  text-decoration: none;
  font-weight: 600;
  padding: 0 15px 15px;
  margin-top: auto;
  align-self: flex-start;
}

/* Responsivo */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .featured-article {
    max-width: 100%;
  }

  .featured-content {
    padding: 15px;
  }
}

/* ==================== Rodapé ==================== */
.site-footer {
  background: linear-gradient(180deg, #FFA213, #E07211);
  padding: 40px 20px 20px;
  color: #000;
  margin-top: 60px;
  width: 100vw;       /* ocupa toda a largura da viewport */
  margin-left: 0;
  margin-right: 0;
}

.site-footer .container {
  max-width: 1200vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  width: 100%;  
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;   /* garante centralização horizontal */
  text-align: center;    /* centraliza textos se houver */
  gap: 12px;
}

.btn-contact {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  border: 1px solid #000;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
  justify-content: center;
  align-items: center;
}

.btn-contact:hover {
  background: rgba(0,0,0,0.1);
}

.footer-menu h3,
.footer-contact h3,
.footer-social h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 6px;
}

.footer-menu a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  justify-content: center;
  align-items: center;
}

.social-row a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  justify-content: center;
  align-items: center;
}

.footer-divider {
  border-top: 1px solid rgba(0,0,0,0.4);
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  color: #000;
  justify-content: center;
}
.footer-bottom p {
  margin: 4px 0;
  justify-content: center;
}

/* Responsivo */
@media (max-width: 900px) {
  .site-footer .container {
    flex-wrap: wrap;
    text-align: center;
  }
  .footer-col {
    flex: 1 1 100%;
  }
  .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;   /* garante centralização horizontal */
  text-align: center;    /* centraliza textos se houver */
  gap: 12px;
}
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
