body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fc;
  }
  
  /* Banner */
  .top-banner {
    position: relative;
    width: 100%;
    height: 220px;
    background: url('../imag/designers-industriais-trabalhando-no-modelo-3d.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
  }
  
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(120, 96, 30, 0.9), rgba(70, 61, 20, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }
  
  .banner-content {
    max-width: 900px;
    z-index: 2;
  }
  
  .banner-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .banner-subtitle {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  /* Sessão de notícias */
  .secao-noticias {
    position: relative;
    margin-top: -80px; /* SUBINDO a seção sobre o banner */
    z-index: 5;
    padding: 2rem 1rem;
  }
  
  /* Título */
  .titulo-secao {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #2b4ea2, #1a2c68);
    padding: 1rem 2rem;
    border-radius: 14px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  /* Layout */
  .layout-noticias {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  /* Sidebar */
  .caixa-menu {
    flex: 1;
    max-width: 220px;
    background: #f1f5ff;
    padding: 1.2rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .caixa-menu h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2b4ea2;
  }
  
  .caixa-menu ul {
    list-style: none;
    padding: 0;
  }
  
  .caixa-menu ul li a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #2b4ea2;
    font-weight: 500;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
  }
  
  .caixa-menu ul li a:hover {
    color: #ff9800;
  }
  
  /* Grid de Cards */
  .grade-cards {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
  
  /* Card */
  .cartao-item {
    background: #fff;

    /* apenas superior esquerda e inferior direita arredondadas */
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
  
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  
    display: flex;
    flex-direction: column;   /* garante organização interna */
  }
  
  .cartao-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  .cartao-item img {
    width: 100%;
    height: 270px;
    object-fit: fill;
  }
  
  .conteudo-cartao {
    padding: 1rem;
    flex: 1; /* ocupa todo espaço disponível */
  
  flex-direction: column;
  justify-content: space-between; /* botão sempre embaixo */
  padding: 1rem;
  }
  
  .dados-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
  }
  
  .dados-meta span {
    color: #2b4ea2;
    font-weight: 500;
  }
  
  .titulo-cartao {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #111;
    font-weight: 600;
  }
  
  .texto-cartao {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.8rem;
  }
  .botao-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #023d7c, #f7b724);
    color: #fff;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .botao-link:hover {
    background: #ff9800;
  }
  
  /* Responsivo */
  @media (max-width: 1024px) {
    .layout-noticias {
      flex-direction: column;
    }
    .caixa-menu {
      max-width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .top-banner {
        height: 200px;
        margin-top: 60px;
      }
    .grade-cards {
      grid-template-columns: 1fr;
    }
    .banner-title {
      font-size: 1.8rem;
    }
    .banner-subtitle {
      font-size: 1rem;
    }
    .titulo-secao {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: #fff;
        background: linear-gradient(135deg, #2b4ea2, #1a2c68);
        padding: 1rem 2rem;
        border-radius: 14px;
        width: fit-content;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      }
    
  }
  
  @media (max-width: 480px) {
    .top-banner {
      height: 200px;
      margin-top: 60px;
    }
    .banner-title {
      font-size: 1.5rem;
    }
    .banner-subtitle {
      font-size: 0.9rem;
    }
  }
  