body {
    padding-top: 70px;
    margin: 0;
    background-color: #f5f5f5;
}
.container {
    max-width: 900px;
    margin: auto;
}
.evento-header {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
}
.evento-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.evento-info {
    padding: 20px;
}
.evento-info h1 {
    margin-top: 0;
    font-size: 28px;
}
.info-item {
    margin: 8px 0;
    font-size: 16px;
}
.info-item i {
    color: var(--cor-primaria);
    margin-right: 8px;
}
.descricao {
    margin-top: 20px;
    white-space: pre-line;
}
.setores {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
}
.setor {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}
.setor:last-child {
    border-bottom: none;
}
.setor strong {
    font-size: 18px;
    color: var(--cor-secundaria);
}
.preco {
    color: green;
    font-weight: bold;
    margin-top: 4px;
}
.btn-comprar {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background-color: var(--cor-primaria);
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.btn-comprar:hover {
    background-color: var(--cor-primaria-hover);
}

.setor.interativo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}
.setor.interativo input[type="number"] {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.setor.interativo button {
    padding: 5px 10px;
    background: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.setor.interativo button:hover {
    background: #ccc;
}
.tabela-setores {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.cabecalho,
.linha-setor {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr 0.8fr;
    gap: 10px;
    align-items: center;
}
.cabecalho {
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--cor-primaria);
}
.linha-setor {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.linha-setor input[type="number"] {
    width: 40px;
    text-align: center;
}
.linha-setor button {
    color: #fff;
    padding: 6px 14px;
    background: var(--cor-primaria);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.linha-setor button:hover {
    background: var(--cor-primaria-hover);
}

.total-geral {
    margin-top: 15px;
    font-size: 18px;
    text-align: right;
    color: #333;
}
.total-geral strong {
    color: #000;
}

.modal { display: none; position: fixed; z-index: 9999; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); }
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 80%; }
.modal-close { position: absolute; top: 30px; right: 40px; color: white; font-size: 30px; cursor: pointer; }
.btn-ver-mapa { font-size: 1em; margin-bottom: 20px; padding: 8px 18px; background-color: var(--cor-secundaria); color: white; border: none; border-radius: 5px; cursor: pointer; }
.btn-ver-mapa:hover { background-color: #666; }
.descricao-setor { display: block; font-size: 0.85em; color: #666; margin-top: 2px; }
.toggle-descricao { margin-top: 30px; text-align: center; cursor: pointer; font-size: 1.1em; color: #333; }
.descricao-completa { display: none; margin-top: 15px; background: #f7f7f7; padding: 15px; border-radius: 5px; }

.valores-mobile {
    display: none;
}

.imagem-topo-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.imagem-topo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.evento-header-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    padding: 20px 30px;
    gap: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    flex-wrap: wrap;
    flex-direction: row-reverse; /* <-- ADICIONE ESTA LINHA */
}


.evento-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.evento-infos h1 {
    font-size: 26px;
    margin: 0 0 4px 0;
}

.evento-infos p {
    font-size: 16px;
    margin: 2px 0;
    color: var(--cor-secundaria);
}

.evento-infos i {
    margin-right: 6px;
    color: var(--cor-primaria);
}

.imagem-topo-lateral {
    width: 200px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.imagem-topo-lateral img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accordion-box {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 16px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-icon {
    color: var(--cor-primaria);
    font-size: 20px;
    margin-right: 10px;
    font-weight: bold;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg); /* Vira o + para x */
}

.accordion-content {
    display: none;
    padding: 15px 16px;
    font-size: 0.95em;
    color: #444;
    line-height: 1.5;
    border-top: 1px solid #eee;
}

/* Cabeçalho "Áreas" com o botão logo depois */
.setores-head{
    display: inline-flex;        /* não ocupar a linha toda */
    align-items: center;
    gap: 12px;                   /* espacinho entre título e botão */
    margin-bottom: 14px;
    flex-wrap: nowrap;           /* nunca quebrar linha */
    white-space: nowrap;         /* idem, força ficar na mesma linha */
  }
  
  .setores-head h2{
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;                   /* espaço entre o ícone e "Áreas" */
  }
  
  /* zera a margem do botão quando estiver no cabeçalho */
  .setores-head .btn-ver-mapa{
    margin: 0;
    align-items: center;
    gap: 8px; 
    display: inline-flex;       /* garante largura só do conteúdo */
  }

  .setores-head .btn-ver-mapa i{
    color: var(--cor-primaria);
    line-height: 1;             /* evita desalinho vertical */
  }
  
/* Total + Botão lado a lado e centralizados */
.compra-cta{
    display:flex;
    align-items:center;
    justify-content:center;  /* centraliza no box */
    gap:18px;                /* espaço entre total e botão */
    margin-top:16px;
  }
  
  .compra-cta .total-geral{
    margin:0;                /* zera margem do total dentro do footer */
    text-align:left;         /* não queremos alinhado à direita aqui */
    font-size:18px;
    color:#333;
  }
  
  .compra-cta .btn-comprar{
    margin:0;                /* botão sem margem extra */
  }

  /* =======================
   Assinatura da Produtora
   ======================= */
.produtora-section{
    margin: 20px 0 20px;
  }
  
  .produtora-card{
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
  }
  
  /* avatar circular */
  .produtora-logo{
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--cor-primaria);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .produtora-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .produtora-info{
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  
  .produtora-label{
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  
  .produtora-name{
    font-weight: 600;
    font-size: 18px;
    color: var(--cor-secundaria);
  }
  
  .produtora-ig{
    font-size: 14px;
    color: var(--cor-secundaria);
    text-decoration: none;
    opacity: .95;
  }
  .produtora-ig i{
    margin-right: 2px;
    color: var(--cor-primaria);
  }
  .produtora-ig:hover{
    text-decoration: underline;
    opacity: 1;
  }

  /* impede rolagem do body quando o modal estiver aberto */
.no-scroll { overflow: hidden; }

/* deixa claro que o overlay fecha o modal */
.modal { cursor: zoom-out; }
.modal-content { cursor: auto; } /* a imagem em si não fecha */




@media (max-width: 768px) {
    .cabecalho {
        display: none;
    }

    .linha-setor {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 15px;
    }

    .col-area {
        font-weight: normal;
        font-size: 18px;
        line-height: 1.5;
    }

    .descricao-setor {
        margin-top: -6px;
        font-size: 14px;
        color: #666;
    }

    .col-quantidade {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 5px 0;
    }

    .col-quantidade button {
        padding: 6px 16px;
        font-size: 18px;
    }

    .linha-setor > div:nth-child(3),
    .linha-setor > div:nth-child(4),
    .linha-setor > div:nth-child(5) {
        display: none; /* Esconde colunas de valor, taxa e total padrão */
    }

    .linha-setor .valores-mobile {
        font-size: 16px;
        color: #333;
        margin-top: 5px;
    }

    .linha-setor .valores-mobile strong {
        font-weight: 600;
    }

    /* Deixa os blocos mais separados e suaves */
    .linha-setor {
        border: 1px solid #eee;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05);
        border-radius: 8px;
        background: #fff;
    }

    .valores-mobile {
        display: block;
        font-size: 14px;
        color: #333;
        margin-top: 5px;
    }

    .valores-mobile strong {
        font-weight: 600;
    }

    .valores-mobile .linha-valores {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .evento-header-horizontal {
        flex-direction: column-reverse;
        align-items: baseline;
        text-align: left;
        gap: 2px;
    }

    .imagem-topo-lateral {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }

    .evento-infos {
        display: grid;
        grid-template-columns: auto auto;
        row-gap: 4px;
        align-items: center;
    }
    .evento-infos h1 {
        grid-column: 1 / -1;     /* título ocupa a linha toda */
    }
    /* data fica na col 1, hora na col 2, local ocupa a linha toda */
    .evento-infos p:nth-of-type(3){
        grid-column: 1 / -1;
    }
    .produtora-card{
        padding: 12px;
        gap: 12px;
      }
      .produtora-logo{
        flex-basis: 70px;
        width: 70px;
        height: 70px;
      }

    
}

