/* =====================================================================
   Tabela de tarifas — usada na página pública, na prévia do painel e no
   Story. Sem color-mix() de propósito: o exportador de imagem não suporta.
   ===================================================================== */
.tt-wrap { container-type: inline-size; width: 100%; }
.tt-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt { width: 100%; border-collapse: collapse; font-size: 15px; }
.tt thead th { background: var(--primaria, #0E4D64); color: var(--primaria-txt, #fff); text-align: left; font: 800 11.5px/1.3 var(--sans, sans-serif); letter-spacing: .08em; text-transform: uppercase; padding: 14px 18px; white-space: nowrap; }
.tt tbody td { padding: 14px 18px; border-top: 1px solid #ECE7DE; vertical-align: top; font-weight: 600; color: #34444B; white-space: nowrap; }
.tt tbody tr:nth-child(even) td { background: #FBFAF7; }
.tt tbody td.tt-pri { font-weight: 800; color: #14232B; }
.tt .tt-voo-data { font-weight: 800; color: #14232B; white-space: nowrap; }
.tt .tt-voo-info { font-size: 12.5px; font-weight: 600; color: #6A777C; margin-top: 3px; white-space: normal; }
.tt .tt-cel { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tt .tt-tag { display: inline-block; padding: 2px 7px; border-radius: 5px; font: 800 9.5px/1.5 var(--sans, sans-serif); letter-spacing: .06em; text-transform: uppercase; background: #E8F6EC; color: #1E7B40; border: 1px solid #BFE5CB; white-space: nowrap; }
.tt .tt-vazio { color: #B5BDC0; }

/* Em telas estreitas cada linha vira um cartão */
@container (max-width: 620px) {
  .tt-wrap.tt-responsiva .tt thead { display: none; }
  .tt-wrap.tt-responsiva .tt, .tt-wrap.tt-responsiva .tt tbody, .tt-wrap.tt-responsiva .tt tr, .tt-wrap.tt-responsiva .tt td { display: block; width: 100%; }
  .tt-wrap.tt-responsiva .tt tbody tr { padding: 4px 0; border-top: 1px solid #ECE7DE; }
  .tt-wrap.tt-responsiva .tt tbody tr:first-child { border-top: 0; }
  .tt-wrap.tt-responsiva .tt tbody tr:nth-child(even) td { background: transparent; }
  .tt-wrap.tt-responsiva .tt tbody tr:nth-child(even) { background: #FBFAF7; }
  .tt-wrap.tt-responsiva .tt tbody td { border: 0; padding: 7px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; white-space: normal; text-align: right; }
  .tt-wrap.tt-responsiva .tt tbody td::before { content: attr(data-label); font: 700 11px/1.6 var(--sans, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #7A878C; text-align: left; flex: none; max-width: 45%; }
  .tt-wrap.tt-responsiva .tt tbody td.tt-pri { padding-top: 14px; font-size: 16px; }
  .tt-wrap.tt-responsiva .tt tbody td.tt-pri::before { content: none; }
  .tt-wrap.tt-responsiva .tt tbody td.tt-pri { justify-content: flex-start; text-align: left; }
  .tt-wrap.tt-responsiva .tt .tt-cel { align-items: flex-end; }
  .tt-wrap.tt-responsiva .tt td.tt-pri .tt-cel { align-items: flex-start; }
}

.tt-obs { margin-top: 22px; background: #FFF8E8; border: 1px solid #F1E2B9; border-left: 4px solid #E3A857; border-radius: 12px; padding: 16px 18px; }
.tt-obs h4 { margin: 0 0 6px; font: 800 12px var(--sans, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: #8A6216; }
.tt-obs p { margin: 0; white-space: pre-line; font-size: 14px; line-height: 1.6; color: #6D5420; }

/* ------------------------- Story 1080 x 1920 ------------------------- */
.story { position: fixed; left: -12000px; top: 0; width: 1080px; height: 1920px; overflow: hidden; display: flex; flex-direction: column; background: #F6F3EE; font-family: var(--sans, sans-serif); color: #14232B; }
.story .st-topo { height: 240px; flex: none; position: relative; background: var(--primaria, #0E4D64) center/cover no-repeat; display: flex; align-items: center; justify-content: center; padding: 30px 80px; }
.story .st-topo .st-veu { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(10,25,32,.35); }
.story .st-topo img { position: relative; max-height: 130px; max-width: 680px; width: auto; height: auto; object-fit: contain; }
.story .st-topo .st-marca { position: relative; font: 600 56px var(--serif, serif); color: #fff; }
.story .st-topo.st-sem-capa .st-veu { display: none; }
.story .st-titulo { flex: none; background: var(--primaria, #0E4D64); color: var(--primaria-txt, #fff); padding: 50px 70px 56px; }
.story .st-titulo small { display: block; font: 800 24px var(--sans, sans-serif); letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; }
.story .st-titulo h2 { font: 600 64px/1.08 var(--serif, serif); margin: 0; text-transform: uppercase; letter-spacing: -.005em; }
.story .st-corpo { flex: 1; min-height: 0; padding: 50px 50px 30px; display: flex; flex-direction: column; justify-content: center; }
.story .st-ajuste { font-size: var(--fs, 30px); }
.story .st-tabela { background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid #E7E1D7; }
.story .tt tbody td { background: #fff; }
.story .tt tbody tr:nth-child(even) td { background: #FAF8F4; }
.story .tt { font-size: 1em; width: auto; min-width: 100%; }
.story .tt-rolagem { overflow: visible; }
.story .tt thead th { font-size: .62em; padding: .9em .75em; white-space: normal; }
.story .tt tbody td { padding: .62em .75em; white-space: nowrap; }
.story .tt tbody td.tt-pri { white-space: normal; }
.story .tt .tt-cel { gap: .25em; }
.story .tt .tt-voo-info { font-size: .66em; }
.story .tt .tt-voo-data { white-space: nowrap; }
.story .tt .tt-tag { font-size: .42em; padding: .15em .55em; }
.story .tt-obs { margin-top: 1em; padding: .8em 1em; border-radius: 20px; }
.story .tt-obs h4 { font-size: .5em; }
.story .tt-obs p { font-size: .58em; }
.story .st-rodape { flex: none; height: 230px; background: #14232B; color: #fff; display: flex; align-items: center; gap: 34px; padding: 0 70px; }
.story .st-rodape img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 6px solid rgba(255,255,255,.15); flex: none; }
.story .st-rodape b { display: block; font: 600 46px/1.1 var(--serif, serif); }
.story .st-rodape span { display: block; font-size: 30px; opacity: .85; margin-top: 8px; }
.story .st-rodape .st-whats { display: flex; align-items: center; gap: 14px; margin-top: 16px; font: 800 36px var(--sans, sans-serif); color: #5BD88A; }
.story .st-rodape .st-whats svg { width: 40px; height: 40px; }
.story .st-rodape .st-whats span { display: inline; font-size: inherit; opacity: 1; margin: 0; }

/* Rodapé do Story sem os contatos do gerente */
.story .st-rodape.st-rodape-marca { height: 170px; justify-content: center; text-align: center; background: var(--primaria, #0E4D64); }
.story .st-rodape.st-rodape-marca b { font-size: 40px; }
.story .st-rodape.st-rodape-marca span { font-size: 28px; }

/* Janela de opções do Story (página pública e painel) */
dialog.st-dialogo { border: 0; border-radius: 18px; padding: 0; width: min(420px, calc(100% - 28px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); font-family: var(--sans, sans-serif); color: #14232B; }
dialog.st-dialogo::backdrop { background: rgba(16,38,47,.5); }
dialog.st-dialogo form { padding: 22px; }
dialog.st-dialogo h3 { margin: 0 0 4px; font: 700 19px var(--sans, sans-serif); }
.st-d-info { margin: 0 0 14px; color: #5E6B71; font-size: 14px; }
.st-d-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #E4DED4; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.st-d-check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--primaria, #0E4D64); flex: none; }
.st-d-check small { display: block; font-weight: 500; color: #5E6B71; font-size: 12.5px; margin-top: 2px; }
.st-d-campo { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.st-d-campo select { font: 500 15px var(--sans, sans-serif); padding: 11px 12px; border: 1px solid #D3CCBF; border-radius: 10px; background: #fff; color: #14232B; }
.st-d-prev { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: #5E6B71; }
.st-d-acoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.st-d-acoes.st-d-col { flex-direction: column; }
.st-d-b { border: 1px solid #D3CCBF; background: #fff; color: #14232B; border-radius: 10px; padding: 11px 16px; font: 700 14.5px var(--sans, sans-serif); cursor: pointer; }
.st-d-pri { background: var(--primaria, #0E4D64); color: var(--primaria-txt, #fff); border-color: var(--primaria, #0E4D64); }
.st-d-fant { border-color: transparent; color: #5E6B71; }
.st-d-mini { display: block; width: 120px; margin: 12px auto 4px; border-radius: 10px; box-shadow: 0 6px 20px -8px rgba(0,0,0,.35); }

/* Rodapé do Story com a marca do agente */
.story .st-rodape.st-rodape-agente { background: #fff; color: #14232B; border-top: 1px solid #E7E1D7; height: 250px; }
.story .st-rodape-agente .st-ag-logo { width: 190px; height: 170px; display: flex; align-items: center; justify-content: center; flex: none; }
.story .st-rodape-agente .st-ag-logo img { width: auto; height: auto; max-width: 190px; max-height: 170px; border: 0; border-radius: 0; object-fit: contain; }
.story .st-rodape-agente b { font-size: 44px; }
.story .st-rodape-agente span { opacity: 1; color: #5E6B71; }
.story .st-rodape-agente .st-whats { color: #1E8A4C; }
.story .st-rodape-agente .st-whats span { color: inherit; }
.story .st-rodape-agente .st-ag-redes { font-size: 26px; margin-top: 10px; }
.st-d-grupo { margin-bottom: 12px; }
.st-d-rot { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.st-d-grupo .st-d-check { margin-bottom: 6px; padding: 10px 12px; }
