/* === Banner inicial (imagem 02) === */
#cookie-banner.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    max-width: 600px;
    width: calc(100% - 40px);
    z-index: 10000;
  }
  
  #cookie-banner .cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* Título em negrito */
  .cookie-banner-header {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000;
  }
  
  /* Texto em fonte light */
  .cookie-banner-text {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    line-height: 1.5;
  }
  
  /* Link “Saiba mais” */
  .cookie-banner-link {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: underline;
    align-self: flex-start;
  }
  
  /* Botões de ação */
  #cookie-banner .cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  
  #cookie-banner .cookie-buttons button {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  
  #cookie-banner .cookie-buttons button.primary {
    background: #000;
    color: #fff;
    border-color: #000;
  }
  
  #cookie-banner .cookie-buttons button:hover {
    opacity: 0.9;
  }
  
  /* === Modal de Preferências (imagem 03) === */
  #cookie-modal.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
  }
  
  #cookie-modal.hidden {
    display: none !important;
  }
  
  #cookie-modal .cookie-modal-content {
    background: #f2f2f2;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 24px;
    max-width: 700px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
  }
  
  #cookie-modal .cookie-modal-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #1a1a1a;
  }
  
  #cookie-modal .cookie-modal-content p {
    margin-bottom: 16px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
  }
  
  /* Cada categoria em um “card” branco */
  .cookie-category {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .cookie-category:last-of-type {
    margin-bottom: 0;
  }
  
  .cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
  }
  
  .cookie-category label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    cursor: pointer;
  }
  
  .cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
  }
  
  /* Botões no rodapé do modal */
  #cookie-modal .cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
  }
  
  #cookie-modal .cookie-buttons button {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  
  #cookie-modal .cookie-buttons button.primary {
    background: #000;
    color: #fff;
    border-color: #000;
  }
  
  #cookie-modal .cookie-buttons button:hover {
    opacity: 0.9;
  }

  /* === Oculta somente o banner e o modal após o usuário clicar em aceitar/rejeitar === */
#cookie-banner.hidden,
#cookie-modal.hidden {
  display: none !important;
}

  
  /* === Responsivo (telas ≤ 600px) === */
  @media (max-width: 600px) {
    #cookie-banner.cookie-banner {
      padding: 16px;
    }
    #cookie-banner .cookie-buttons {
      justify-content: center;
    }
    #cookie-banner .cookie-buttons button {
      flex: 1 1 100%;
    }
    #cookie-modal .cookie-modal-content {
      padding: 16px;
    }
    #cookie-modal .cookie-buttons {
      flex-wrap: wrap;
      justify-content: center;
    }
    #cookie-modal .cookie-buttons button {
      flex: 1 1 48%;
    }
  }
  