  h2 {
    padding: 0.5rem 1rem;
  }


  .titulo{
    text-align: center;
    padding-top: 8vh;
    padding-bottom: 2vh;
  }
  /* ---------- LAYOUT DAS SEÇÕES ---------- */
  .container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  /* Cada célula de imagem + texto */
  .cell {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    font-size: var(--font-size-base);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .cell:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(179, 0, 0, 0.5);
  }

  /* Imagem ocupa 40%, texto 60% */
  .cell img {
    width: 40%;
    max-height: 70vh;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }

  .cell p {
    width: 60%;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
  }

  /* Alternância de imagem/texto */
  .cell:nth-child(odd) img { order: 1; }
  .cell:nth-child(odd) p   { order: 2; }
  .cell:nth-child(even) p  { order: 1; }
  .cell:nth-child(even) img{ order: 2; }

  .comprar {
    background-color: #b30000; /* vermelho forte */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-top: -40px;
    margin-bottom: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    align-self: flex-start; /* para ficar no canto superior da célula */
  }

  .comprar:hover {
    background-color: #e60000; /* vermelho mais claro */
    box-shadow: 0 6px 14px rgba(230, 0, 0, 0.6);
    transform: translateY(-3px);
  }

  .comprar:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  /* ---------- RESPONSIVIDADE ---------- */
  @media (max-width: 768px) {
    .cell {
      flex-direction: column;
      text-align: center;
    }

    .cell img,
    .cell p {
      width: 100%;
      order: initial;
    }
  }

  /*.msg-carrinho {
      opacity: 0;
      transition: opacity 0.3s;
  }
  .msg-carrinho.show {
      opacity: 1;
  }*/

  .msg-carrinho {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: #4CAF50;
      color: #fff;
      padding: 10px 20px;
      border-radius: 5px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      z-index: 9999;
  }

  .msg-carrinho.show {
      opacity: 1;
      pointer-events: auto;
  }