/* ============================================================
   AGENDAR.CSS — Página de agendamento de sessão
   ============================================================ */


/* ============================================================
   BLOCO PRESENCIAL / ONLINE
   ============================================================ */

/* --- Layout --- */
.ag-bloco {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
}

/* --- Ícone --- */
.ag-bloco__icone {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 4px;
}
.ag-bloco__icone--principal { background-color: var(--cor-fundo-secao); }
.ag-bloco__icone--destaque  { background-color: #FDF0E8; }

/* --- Tipografia --- */
.ag-bloco__titulo {
    font-family: var(--fonte-titulo);
    font-size: 26px;
    font-weight: var(--peso-bold);
    color: var(--cor-fonte);
    margin-bottom: 6px;
}
.ag-bloco__texto {
    font-size: 16px;
    color: var(--cor-fonte);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --- Aviso --- */
.ag-aviso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--cor-fundo-secao);
    border-left: 4px solid var(--cor-principal);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 14px;
    color: #5A6A7A;
    line-height: 1.6;
}
.ag-aviso__icone { font-size: 18px; flex-shrink: 0; }

/* --- Local presencial --- */
.ag-local {
    background-color: var(--cor-fundo-escuro);
    border-radius: var(--raio);
    padding: 20px 24px;
    margin-top: 8px;
    display: inline-block;
}
.ag-local__nome {
    font-family: var(--fonte-titulo);
    font-size: 16px;
    font-weight: var(--peso-medio);
    color: #fff;
    margin-bottom: 6px;
}
.ag-local__end {
    font-size: 14px;
    color: #8A9AB0;
    line-height: 1.6;
}

/* --- Responsivo --- */
@media (max-width: 640px) {
    .ag-bloco { grid-template-columns: 1fr; gap: 16px; }
    .ag-bloco__icone { width: 52px; height: 52px; font-size: 22px; }
    .ag-bloco__titulo { font-size: 21px; }
}


/* ============================================================
   TABELA COMPARATIVA
   ============================================================ */

/* --- Container --- */
.ag-tabela-wrap {
    overflow-x: auto;
    border-radius: var(--raio);
    box-shadow: 0 4px 20px var(--cor-sombra);
}

/* --- Tabela --- */
.ag-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* --- Cabeçalho --- */
.ag-tabela thead tr {
    background-color: var(--cor-fundo-escuro);
}
.ag-tabela thead th {
    padding: 16px 20px;
    text-align: left;
    font-family: var(--fonte-corpo);
    font-size: 12px;
    font-weight: var(--peso-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    border: none;
}
.ag-tabela thead th:first-child { color: var(--cor-destaque); width: 160px; }
.ag-tabela thead th:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.1); }
.ag-tabela thead th:nth-child(3) { border-left: 1px solid rgba(255,255,255,0.1); color: #A8B8CC; }

/* --- Corpo --- */
.ag-tabela tbody tr {
    border-bottom: 1px solid var(--cor-borda);
    transition: background-color 0.15s;
}
.ag-tabela tbody tr:last-child { border-bottom: none; }
.ag-tabela tbody tr:nth-child(odd)  { background-color: var(--cor-fundo-secao); }
.ag-tabela tbody tr:nth-child(even) { background-color: var(--cor-fundo); }
.ag-tabela tbody tr:hover { background-color: #E4EBF5; }

/* --- Células --- */
.ag-tabela td {
    padding: 16px 20px;
    color: var(--cor-fonte);
    line-height: 1.6;
    vertical-align: top;
}
.ag-tabela__aspecto {
    font-family: var(--fonte-titulo);
    font-size: 14px;
    font-weight: var(--peso-medio);
    color: var(--cor-principal);
    width: 160px;
    white-space: nowrap;
    border-right: 2px solid var(--cor-borda);
}

/* --- Responsivo --- */
@media (max-width: 640px) {
    .ag-tabela__aspecto { white-space: normal; width: 100px; }
    .ag-tabela td { padding: 12px 14px; font-size: 13px; }
}
