/* ==========================================================================
   Central de guias e página de obrigado (tarefas 44 e 45)
   template-guias.php · template-guias-obrigado.php
   ========================================================================== */

.qs-guias { display: block; width: 100%; float: left; background: #fff; }
.qs-guias h1 { margin: 0 0 14px; font: 900 34px/1.15 'Montserrat', Arial, sans-serif; color: var(--blue); }
.qs-guias h2 { margin: 0 0 20px; font: 900 24px/1.2 'Montserrat', Arial, sans-serif; color: var(--blue); }
.qs-guias p { font-size: 16px; line-height: 1.6; color: var(--black); }
.qs-guias-topo { padding: 56px 0 24px; }
.qs-guias-topo .container { max-width: 860px; }
.qs-guias--obrigado .qs-guias-topo { text-align: center; }
.qs-guia-titulo { font-weight: 700; font-size: 20px !important; color: var(--blue) !important; }

.qs-guias-grade { padding: 16px 0 64px; }
.qs-guias-grade ul, .qs-guias-rel ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; }
.qs-guias-grade li, .qs-guias-rel li { list-style: none; }
.qs-guia { display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; padding: 0 0 18px; border: 1px solid var(--border, #E2E6EA); border-radius: 12px; background: #fff; overflow: hidden; text-align: left; cursor: pointer; }
.qs-guia:hover { box-shadow: 0 6px 24px rgba(4,28,54,.12); }
.qs-guia img, .qs-guia-capa-vazia { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.qs-guia-capa-vazia { display: flex; align-items: center; justify-content: center; background: var(--surface-blue, #EEF4F9); font-size: 48px; color: var(--blue); }
.qs-guia strong { padding: 6px 16px 0; font: 800 17px/1.3 'Montserrat', Arial, sans-serif; color: var(--blue); }
.qs-guia small { padding: 0 16px; font-size: 14px; line-height: 1.45; color: var(--gray); }
.qs-guia-bt { margin: auto 16px 0; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.qs-guias-vazio { padding: 40px 0; text-align: center; }

.qs-guia-enviar, .qs-guia-bt2 {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0; border-radius: 100px;
  background: var(--yellow); font: 800 15px 'Montserrat', Arial, sans-serif; color: var(--black); text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.qs-guia-bt2 { border: 2px solid var(--blue); background: #fff; color: var(--blue); }
.qs-guia-enviar:disabled { opacity: .6; cursor: default; }

/* o formulário: <dialog> aberto com show(), não showModal(), para o
   calendário (anexado ao <body>) poder ficar por cima dele */
.qs-guia-dialog { position: fixed; inset: 0; z-index: 9990; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px; border: 0; background: rgba(4,28,54,.55); overflow-y: auto; }
.qs-guia-dialog[open] { display: flex; align-items: flex-start; justify-content: center; }
.qs-guia-form { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(480px, 100%); margin: 4vh auto; padding: 28px 24px 24px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.daterangepicker.qs-drp { z-index: 10001 !important; }
.qs-guia-dialog-h { margin: 0 32px 4px 0; font: 900 20px/1.25 'Montserrat', Arial, sans-serif; color: var(--blue); }
.qs-guia-form > label, .qs-guia-datas-r { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--black); }
.qs-guia-form input[type=text], .qs-guia-form input[type=email], .qs-guia-form input[type=tel] { height: 46px; padding: 0 12px; border: 1px solid var(--border, #CBD3DA); border-radius: 8px; font-size: 16px; }
.qs-guia-datas-r small { font-weight: 400; color: var(--gray); }
.qs-guia-chips { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.qs-guia-chips .reserva-date-chip { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border: 1px solid var(--border, #CBD3DA); border-radius: 8px; }
.qs-guia-chips .reserva-date-chip small { font-size: 11px; color: var(--gray); text-transform: uppercase; }
.qs-guia-chips .reserva-date-chip b { font-size: 15px; color: var(--black); }
.qs-guia-chips .reserva-date-chip.is-active { border-color: var(--blue); }
.qs-guia-chips #qs-guia-datas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.qs-guia-lgpd { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-weight: 400 !important; font-size: 13px !important; line-height: 1.45; }
.qs-guia-lgpd input { margin-top: 3px; }
.qs-guia-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qs-guia-fechar { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--gray); cursor: pointer; }
.qs-guia-msg { margin: 0; color: #b32d2e !important; font-size: 14px !important; }

.qs-guias-rel, .qs-guias-hosp { padding: 40px 0; }
.qs-guias-rel a { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border, #E2E6EA); border-radius: 10px; overflow: hidden; text-decoration: none; }
.qs-guias-rel img { width: 100%; height: 160px; object-fit: cover; }
.qs-guias-rel strong { padding: 0 14px 14px; font-size: 15px; line-height: 1.35; color: var(--blue); }
.qs-guias-hosp { text-align: center; background: var(--surface-blue, #EEF4F9); }

@media (max-width: 680px) {
  .qs-guias h1 { font-size: 26px; }
  .qs-guias-topo { padding: 36px 0 12px; }
  .qs-guias-grade ul { grid-template-columns: 1fr 1fr; gap: 12px; }
  .qs-guia strong { font-size: 15px; padding: 4px 12px 0; }
  .qs-guia small { display: none; }
  .qs-guia-bt { margin: auto 12px 0; }
  .qs-guia-enviar { width: 100%; }
}
