/* ==========================================================================
   evento.css — Painel Logístico & Portal do Transportador
   Ajustes carregados por último, por cima do template. Não edita os arquivos
   originais do template (bootstrap/style/font-awesome/etc.) — só sobrepõe o
   necessário pra usar as cores da marca do evento e encaixar a URA.
   ========================================================================== */

:root {
  /* Impede que navegadores (Android Chrome, principalmente) apliquem
     "dark mode forçado" e invertam/estraguem as cores dos botões. */
  color-scheme: light;
  --pl-navy: #071328;
  --pl-navy-2: #0d2148;
  --pl-navy-3: #123064;
  --pl-blue: #2f6bff;
  --pl-blue-2: #5c8fff;
  --pl-white: #ffffff;
  --pl-ink: #0a1a33;
  --pl-muted: #647089;
  --pl-bg: #f4f7fc;
  --pl-divider: #e3e8f2;
  --pl-success: #1f9d55;
  --pl-green: #22c35e;
  --pl-green-2: #1caa4f;
  --pl-radius: 1rem;
  --pl-shadow: 0 10px 30px rgba(7, 19, 40, .12);
  --pl-shadow-lg: 0 20px 50px rgba(7, 19, 40, .22);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body { color: var(--pl-ink); }
a { color: var(--pl-blue); }
a:hover, a:focus { color: var(--pl-navy-3); }

/* ---------- Navbar ---------- */
/* O template original deixa o header "flutuando" (position:absolute) por
   cima da imagem/slider abaixo dele — funciona quando o header é
   transparente, mas o nosso é sólido (navy) e por isso estava cobrindo o
   topo da capa. Antes de rolar a página (classe "fixed", sem relação com
   CSS position apesar do nome) ele agora empurra o conteúdo abaixo dele
   normalmente; só quando o JS troca pra classe "sticky" (ao rolar) é que
   ele vira position:fixed e flutua por cima — nesse momento a capa já
   rolou pra cima, então não tem o que cobrir. */
.header-menu.fixed { position: relative; }
@media (max-width: 767px) {
  /* No smartphone o header NÃO gruda no topo ao rolar — rola junto com a
     página normalmente, pra não ocupar tela à toa (o contador + botões já
     ficam bem visíveis lá em cima, sem precisar ficar fixo). Em telas
     maiores o comportamento sticky do template original continua igual. */
  .header-menu.sticky {
    position: relative;
    margin: 0;
    animation: none;
  }
}
.header-menu > .box { background: var(--pl-navy); }
.header-menu.sticky > .box { background: var(--pl-navy); border-bottom-color: rgba(255,255,255,.08); }
.navbar-brand.logo {
  color: #fff !important;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .01em;
  line-height: 1.25;
  max-width: 72vw;
  white-space: normal;
}
.navbar-brand.logo .amp { color: var(--pl-blue-2); }

/* ---------- Header numa única linha: marca + contador + CTAs ---------- */
/* O menu não tem mais lista de links (era redundante com os CTAs e a
   navegação natural da página) — sobra só a marca de um lado e o
   contador/botões do outro, numa linha só, pra não crescer em altura e
   não cobrir a imagem de capa logo abaixo (o header é position:absolute
   no template original, então quanto mais alto ele fica, mais ele
   "come" a imagem). */
.pl-navbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  width: 100%;
  float: none;
  padding: 14px 0;
}
.navbar-brand.logo { flex-shrink: 0; margin: 0; float: none; }

/* Botões de vídeo + "Na Mídia" (vídeo do evento) — preenchem o espaço que
   ficava vazio entre a marca e o contador. */
.pl-nav-media-buttons {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Círculo verde com o triângulo de play — visual mais chamativo/destacado
   que o contorno translúcido de antes. */
.pl-nav-video-btn {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fdc74 0%, var(--pl-green-2) 100%);
  border: none;
  color: #fff;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(28,170,79,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pl-nav-video-btn:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(28,170,79,.65); }
.pl-nav-video-btn i { position: relative; left: 2px; }
@media (max-width: 480px) {
  .pl-nav-video-btn { width: 52px; height: 52px; font-size: 1.35rem; }
}

/* Botão "Na Mídia" — rola até a seção com a matéria. Mesmo padrão visual
   do botão de vídeo antigo (contorno translúcido), só que em formato
   pílula com texto, pra diferenciar do círculo de play. */
.pl-nav-media-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1.1rem;
  height: 62px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.pl-nav-media-btn i { font-size: 1.2rem; }
.pl-nav-media-btn:hover { background: var(--pl-blue); border-color: var(--pl-blue); transform: scale(1.04); }
@media (max-width: 480px) {
  .pl-nav-media-btn { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .pl-nav-media-btn span { display: none; }
}

.pl-nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.pl-nav-actions .pl-countdown { flex-shrink: 0; }
.pl-nav-actions .hero-info-cta-group { flex-shrink: 0; }
@media (max-width: 991px) {
  .pl-navbar-row { justify-content: center; text-align: center; }
  .pl-nav-actions { justify-content: center; flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .pl-nav-actions { gap: .6rem; }
}

/* ---------- Capa (imagem oficial) ---------- */
.hero-image-wrap {
  width: 100%;
  line-height: 0;
  background: var(--pl-navy);
  margin-top: 0;
}
.hero-image-wrap img { width: 100%; height: auto; display: block; }

.hero-info-bar {
  background: linear-gradient(180deg, var(--pl-navy) 0%, var(--pl-navy-2) 100%);
  padding: .85rem 0;
  border-bottom: 3px solid var(--pl-blue);
}
.hero-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.hero-info-meta {
  color: #dbe4ff;
  font-weight: 700;
  font-size: 1rem;
}
.hero-info-meta .dot { margin: 0 .5rem; opacity: .5; }
.hero-info-meta i { color: var(--pl-blue-2); margin-right: .3rem; }

.hero-info-cta,
.hero-info-cta--alt {
  background-color: var(--pl-green) !important;
  color: #fff !important;
  border: 2px solid var(--pl-green) !important;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 26px rgba(34,195,94,.45);
  transition: background-color .15s ease, transform .12s ease;
}
.hero-info-cta:hover,
.hero-info-cta--alt:hover {
  background-color: var(--pl-green-2) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.hero-info-cta:focus,
.hero-info-cta--alt:focus { color: #fff !important; }

.hero-info-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ---------- Contagem regressiva ---------- */
.pl-countdown {
  display: flex;
  gap: .8rem;
}
.pl-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  padding: 1rem .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .85rem;
}
.pl-countdown-num {
  font-size: 2.7rem;
  font-weight: 700;
  font-family: 'Dosis', sans-serif;
  color: #fff;
  line-height: 1;
}
.pl-countdown-label {
  margin-top: .35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #c7d3f2;
}
@media (max-width: 480px) {
  .pl-countdown-item { width: 72px; padding: .7rem .35rem; }
  .pl-countdown-num { font-size: 1.9rem; }
  .pl-countdown-label { font-size: .65rem; }
}
@media (max-width: 767px) {
  .hero-info-row { justify-content: center; text-align: center; }
  .hero-info-cta-group { flex-direction: column; justify-content: center; width: 100%; }
  .hero-info-cta-group .hero-info-cta,
  .hero-info-cta-group .hero-info-cta--alt { width: 100%; }
  .hero-info-meta { width: 100%; text-align: center; }
}

/* ---------- Títulos de seção ---------- */
.title-start h2, .team-heading, .con-title, .block_title {
  color: var(--pl-navy);
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
}
.title-start h2.white, .team-heading.white { color: #fff; }
.sub-text { color: var(--pl-muted); }

/* ---------- Sobre ---------- */
.about-us .content-block i { color: var(--pl-blue); }
.about-us .content-block h3 { color: var(--pl-navy); font-family: 'Dosis', sans-serif; }
.about-part h3 { color: var(--pl-navy); }
.about-facts { list-style: none; padding: 0; margin: 1rem 0 0; }
.about-facts li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--pl-divider);
  color: var(--pl-ink);
  font-weight: 600;
}
.about-facts li i { color: var(--pl-blue); width: 20px; text-align: center; margin-right: .4rem; }
.about-facts li:last-child { border-bottom: none; }

/* ---------- Programação (timeline) ---------- */
.timeline-badge a i { color: var(--pl-blue) !important; }
.timeline-panel { border-color: var(--pl-divider); }
.timeline-heading h4 { color: var(--pl-navy); }
.timeline-item { color: var(--pl-blue); font-weight: 700; }
.schedule-note { color: var(--pl-muted); font-size: .85rem; margin-top: 1rem; }

/* ---------- Quem participa ---------- */
.quem-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--pl-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
/* O <div class="content"> que envolve os 4 cards é um bloco comum, sem
   isolar de floats vizinhos — o <div class="title-start col-md-4
   col-md-offset-4"> logo acima também é flutuante (Bootstrap). clear:both
   desce pra uma linha nova (limpa o float do título — sem isso ficava
   "espremido" do lado direito dele, com largura de sobra em vez da
   largura cheia). display:flex (em vez de flow-root) além de conter os
   filhos, também iguala a altura de todos os cards da fileira — é o que
   permite os botões "Quero visitar/participar/expor/fazer parte" ficarem
   alinhados na mesma altura mesmo com textos de tamanhos diferentes. */
#quem-participa .content { display: flex; flex-wrap: wrap; clear: both; }
#quem-participa .blog {
  text-align: center;
  display: flex;
  flex-direction: column;
}
/* Empurra o botão pro final do card (margin-top:auto no eixo principal
   do flex) — como todos os cards da fileira têm a mesma altura (stretch
   por padrão do flex), os botões acabam todos na mesma linha. */
#quem-participa .blog .button-info.read-more { margin-top: auto; align-self: center; }
#quem-participa .blog-head { background: transparent; color: var(--pl-navy); font-family: 'Dosis', sans-serif; }
button.button-info.read-more {
  background: var(--pl-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
}
button.button-info.read-more:hover { background: #2559e0; color: #fff; }

/* ---------- Como participar (pricing) ---------- */
.pricing-table .plan { border-color: var(--pl-divider); }
.pricing-table .plan .name { color: var(--pl-navy); font-family: 'Dosis', sans-serif; }
.pricing-table .plan .price { color: var(--pl-blue); }
.pricing-table .plan .order a {
  background: var(--pl-navy);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
}
.pricing-table .plan .order a:hover { background: var(--pl-blue); }

/* ---------- Realização / o que você vai encontrar ---------- */
.realizacao-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--pl-navy);
  color: var(--pl-blue-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
#realizacao .name-member { color: var(--pl-navy); font-weight: 700; text-align: center; }
#realizacao .realizacao-desc { color: var(--pl-muted); text-align: center; font-size: .88rem; padding: 0 10px; }
#realizacao .member { text-align: center; }

/* ---------- Por que participar ---------- */
/* Padding próprio (a seção fica fora do <div class="content">, então não
   herda o padding-top/bottom padrão das outras seções). O bottom é maior
   de propósito: dá folga pro botão "voltar ao topo" (#gotop), que é
   posicionado "espiando" por cima do fim desta seção — sem essa folga ele
   ficava em cima do texto. */
#por-que-participar.testimonial-area {
  /* background tinha se perdido numa edição anterior — sem ele a seção
     ficava com fundo transparente e o texto claro ("branco"/azulado)
     quase ilegível sobre o fundo claro da página. */
  background: var(--pl-navy);
  padding: 3.5rem 0 7rem;
}
.testimonila-block { text-align: center; }
.pwp-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--pl-blue-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.testimonila-block p { color: #dbe4ff; max-width: 520px; margin: 0 auto; }

/* Grid estático dos 3 itens (substitui o antigo carrossel quebrado — ver
   comentário no HTML). Empilha em telas estreitas, 3 colunas a partir de
   tablet/desktop. */
.pl-porque-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2rem;
  margin-top: 1.5rem;
}
.pl-porque-grid .testimonila-block { flex: 1 1 260px; max-width: 320px; }

/* ---------- Na mídia ---------- */
.pl-midia-section { background: var(--pl-bg); padding: 4rem 0; }
.pl-midia-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.8rem;
}
.pl-midia-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--pl-divider);
  box-shadow: var(--pl-shadow);
  max-width: 380px;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pl-midia-card:hover, .pl-midia-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-lg);
  outline: none;
}
/* Prévia com a página real da matéria (em vez de imagem estática) — o
   iframe é renderizado em tamanho grande e depois encolhido com
   transform:scale, um truque comum pra gerar uma "miniatura ao vivo" da
   página. pointer-events:none porque o clique é tratado pelo <article>
   inteiro (data-open-modal), não pelo iframe. */
.pl-midia-card-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pl-navy);
  pointer-events: none;
}
.pl-midia-card-preview iframe {
  position: absolute;
  top: 0; left: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(.25);
  transform-origin: top left;
}
.pl-midia-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.pl-midia-fonte {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--pl-blue);
  margin-bottom: .45rem;
}
.pl-midia-card-body h3 {
  font-family: 'Dosis', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pl-navy);
  margin: 0 0 .5rem;
}
.pl-midia-card-body p { color: var(--pl-muted); font-size: .92rem; margin: 0 0 .9rem; }
.pl-midia-card-cta { color: var(--pl-blue); font-weight: 700; font-size: .9rem; }
.pl-midia-card-cta i { margin-left: .35rem; }

/* Modal da matéria — mostra a página real da matéria dentro de um iframe
   (como pedido: abre "como se fosse a própria página"), com um botão pra
   abrir em nova aba caso o iframe não role bem no celular. */
.pl-modal--midia { max-width: min(1000px, 94vw); }
.pl-modal-body--midia { padding: 1rem 1rem 1.3rem; }
.pl-midia-modal-iframe {
  width: 100%;
  height: min(78vh, 760px);
  border: 1px solid var(--pl-divider);
  border-radius: .8rem;
  display: block;
  background: var(--pl-bg);
  margin-bottom: 1rem;
}
.pl-midia-link-externo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--pl-navy) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
}
.pl-midia-link-externo:hover { background: var(--pl-blue) !important; color: #fff !important; }

/* ---------- Contato ---------- */
.mapWrap #googleMap { height: 360px; }
.mapWrap #googleMap iframe { width: 100%; height: 100%; display: block; }
#contact-area { background: var(--pl-bg); }
#contact-area .con-title { color: var(--pl-navy); }
#contact-area .address { list-style: none; padding: 0; }
#contact-area .address li { margin-bottom: .8rem; color: var(--pl-ink); }
#contact-area .address i { color: var(--pl-blue); width: 22px; text-align: center; margin-right: .4rem; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background: #22c35e !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(34,195,94,.35);
  border: none;
}
.btn-whatsapp:hover { background: #1caa4f !important; color: #fff !important; }

/* ---------- Rodapé ---------- */
footer { background: var(--pl-navy); }
footer .copyright, footer .designed { color: #b9c4e0; }

/* ==========================================================================
   URA — Autoatendimento (5 opções + modais)
   ========================================================================== */

.ura-section { padding: 2.5rem 0 3rem; }
.ura-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1080px;
  margin: 2rem auto 0;
  padding: 0 15px;
}
@media (min-width: 640px) {
  .ura-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .ura-grid { grid-template-columns: repeat(3, 1fr); }
}

.ura-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--pl-divider);
  border-radius: var(--pl-radius);
  padding: 1.15rem 1.25rem;
  min-height: 92px;
  cursor: pointer;
  box-shadow: var(--pl-shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  font-family: 'Roboto', sans-serif;
  color: inherit;
}
.ura-card:hover, .ura-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--pl-shadow-lg);
  border-color: var(--pl-blue);
  outline: none;
}
.ura-card-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pl-blue), var(--pl-navy-3));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
}
.ura-card-text { flex: 1; min-width: 0; }
.ura-card-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--pl-navy);
  margin-bottom: .15rem;
}
.ura-card-desc {
  display: block;
  font-size: .88rem;
  color: var(--pl-muted);
}
.ura-card-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--pl-blue);
}

/* ---------- Botões da URA ---------- */
.pl-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-decoration: none;
  min-height: 54px;
  width: auto;
}
.pl-modal .btn:active { transform: translateY(1px); }
.pl-modal .btn-primary {
  background: var(--pl-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47,107,255,.35);
}
.pl-modal .btn-primary:hover { background: #2559e0; color: #fff; }
.pl-modal .btn-outline {
  background: transparent;
  color: var(--pl-navy);
  border: 2px solid var(--pl-divider);
}
.pl-modal .btn-outline:hover { border-color: var(--pl-blue); color: var(--pl-blue); }
.pl-modal .btn-block { width: 100%; }
.pl-modal .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Modal ---------- */
.pl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,19,40,.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 2000;
  padding: 0;
}
.pl-modal-overlay.is-open { display: flex; }
@media (min-width: 720px) {
  .pl-modal-overlay { align-items: center; padding: 1.5rem; }
}

.pl-modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: var(--pl-shadow-lg);
  animation: pl-modal-in .22s ease;
}
@media (min-width: 720px) {
  .pl-modal { border-radius: 1.25rem; }
}
@keyframes pl-modal-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pl-modal-head {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--pl-divider);
  z-index: 1;
}
.pl-modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--pl-navy);
  font-family: 'Dosis', sans-serif;
}
.pl-modal-close {
  border: none;
  background: var(--pl-bg);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--pl-navy);
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pl-modal-close:hover { background: var(--pl-divider); }
.pl-modal-body { padding: 1.5rem; }

/* ---------- Formulários ---------- */
.pl-field { margin-bottom: 1.1rem; }
.pl-field label {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--pl-navy);
  margin-bottom: .4rem;
}
.pl-field label .req { color: var(--pl-blue); }
.pl-field input,
.pl-field select,
.pl-field textarea {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: .9rem 1rem;
  border: 2px solid var(--pl-divider);
  border-radius: .7rem;
  background: #fbfcfe;
  color: var(--pl-ink);
  min-height: 52px;
  transition: border-color .12s ease, background .12s ease;
}
.pl-field textarea { min-height: 96px; resize: vertical; }
.pl-field input:focus,
.pl-field select:focus,
.pl-field textarea:focus {
  outline: none;
  border-color: var(--pl-blue);
  background: #fff;
}
.pl-field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) {
  .pl-field-row--2 { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
}
.pl-error-text {
  display: none;
  background: #fdeceb;
  color: #b3261e;
  border: 1px solid #f5c2bd;
  border-radius: .6rem;
  padding: .8rem 1rem;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.pl-error-text.is-visible { display: block; }

/* ---------- Sucesso ---------- */
.pl-success { text-align: center; padding: 1rem 0 .5rem; }
.pl-success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(31,157,85,.12);
  color: var(--pl-success);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
  margin: 0 auto 1.1rem;
}
.pl-success h4 { font-size: 1.3rem; font-weight: 900; color: var(--pl-navy); margin: 0 0 .6rem; font-family: 'Dosis', sans-serif; }
.pl-success p { color: var(--pl-muted); margin: 0 0 .3rem; }
.pl-success .pl-success-meta { margin-top: 1rem; font-weight: 700; color: var(--pl-navy); }
.pl-success-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

/* ---------- Cartão de acesso ---------- */
.pl-card {
  background: linear-gradient(155deg, var(--pl-navy) 0%, var(--pl-navy-3) 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--pl-shadow-lg);
  max-width: 380px;
  margin: 0 auto;
}
.pl-card-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-blue-2); margin-bottom: .5rem; }
.pl-card-event { font-size: 1.05rem; font-weight: 900; line-height: 1.25; margin-bottom: 1.1rem; font-family: 'Dosis', sans-serif; }
.pl-card-divider { border-top: 1px dashed rgba(255,255,255,.25); margin: 1.1rem 0; }
.pl-card-name { font-size: 1.4rem; font-weight: 900; margin-bottom: .25rem; }
.pl-card-company { font-size: 1rem; color: #c7d3f2; margin-bottom: 1.1rem; }
.pl-card-qr { background: #fff; border-radius: .8rem; padding: .75rem; display: inline-block; margin-bottom: 1.1rem; }
.pl-card-qr img { width: 160px; height: 160px; display: block; }
.pl-card-meta { font-size: .88rem; color: #dbe4ff; line-height: 1.6; }
.pl-card-meta strong { color: #fff; }
.pl-card-actions { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pl-card-actions .btn { flex: 1; min-width: 140px; }

.pl-lookup-result { margin-top: 1.5rem; }
.pl-not-found { text-align: center; padding: 1rem; color: var(--pl-muted); }
.pl-not-found strong { color: var(--pl-navy); display: block; margin-bottom: .4rem; }

/* ---------- Loading ---------- */
.pl-spinner {
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pl-spin .7s linear infinite;
  display: inline-block;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* ---------- Opção 5 — falar com pessoa ---------- */
.pl-human { text-align: center; padding: .5rem 0 1rem; }
.pl-human-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(47,107,255,.1);
  color: var(--pl-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
  margin: 0 auto 1.1rem;
}
.pl-human h4 { font-size: 1.25rem; font-weight: 900; color: var(--pl-navy); margin: 0 0 .5rem; font-family: 'Dosis', sans-serif; }
.pl-human p { color: var(--pl-muted); margin: 0 0 1.5rem; }
.pl-human .btn-whatsapp { display: flex; width: 100%; justify-content: center; }

/* ---------- Quem realiza ---------- */
.realizacao-cta { margin-top: 2rem; }
.realizacao-link {
  background: none;
  border: none;
  color: var(--pl-blue);
  font-weight: 700;
  cursor: pointer;
  padding: .5rem 1rem;
}
.realizacao-link:hover { color: var(--pl-navy-3); }
.realizacao-link i { margin-left: .3rem; }

/* ---------- Modal de vídeo do evento ---------- */
/* Vídeo vertical (formato retrato) — modal mais estreita, sem forçar caixa
   16:9 (isso deixaria tarjas pretas enormes nas laterais). O vídeo só
   define sua própria altura/largura, limitado pra caber na tela. */
/* overflow: hidden aqui (em vez do "auto" herdado de .pl-modal) porque o
   vídeo já se ajusta sozinho pelo max-height abaixo — sem isso sobrava
   1-2px e aparecia uma bandinha de scroll ao lado do vídeo. */
.pl-modal--video { max-width: 420px; overflow: hidden; }
.pl-modal-body--video { padding: .9rem; }
.pl-video-wrap--vertical {
  width: 100%;
  /* desconta a altura do cabeçalho da modal (~72px) + padding do corpo
     (~29px) do limite de 92vh da .pl-modal, pra nunca estourar e abrir
     scroll */
  max-height: calc(92vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .6rem;
  overflow: hidden;
  background: #000;
}
.pl-video-wrap--vertical video {
  display: block;
  width: 100%;
  max-height: calc(92vh - 110px);
  object-fit: contain;
}
.pl-video-placeholder {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--pl-muted);
  font-size: 1.05rem;
}

.pl-realizacao-photo {
  width: 100%;
  border-radius: .9rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--pl-shadow);
}
.pl-realizacao-list { display: flex; flex-direction: column; gap: 1.25rem; }
.pl-realizacao-item { display: flex; gap: 1rem; align-items: flex-start; }
.pl-realizacao-item-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pl-navy);
  color: var(--pl-blue-2);
  display: flex; align-items: center; justify-content: center;
}
.pl-realizacao-item h4 { margin: 0 0 .3rem; color: var(--pl-navy); font-family: 'Dosis', sans-serif; font-weight: 700; }
.pl-realizacao-item p { margin: 0; color: var(--pl-muted); font-size: .92rem; }
.pl-realizacao-note {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pl-divider);
  color: var(--pl-muted);
  font-size: .88rem;
}

/* ==========================================================================
   Chat flutuante
   ========================================================================== */

.pl-chat-launcher-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: .7rem;
}

/* Botão "voltar ao topo" — fica do lado esquerdo (pra não brigar com o
   chat, que já ocupa o canto direito), escondido até a pessoa rolar a
   página um pouco (ver initBackToTop em evento.js). */
.pl-back-to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--pl-navy);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--pl-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease, visibility .2s;
}
.pl-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pl-back-to-top:hover { background: var(--pl-blue); }
@media (max-width: 480px) {
  .pl-back-to-top { left: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 1.15rem; }
}
.pl-chat-launcher-label {
  background: #fff;
  color: var(--pl-navy);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--pl-shadow);
  white-space: nowrap;
  animation: pl-chat-label-in .3s ease .6s both;
}
@keyframes pl-chat-label-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}
.pl-chat-launcher {
  position: relative;
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--pl-green);
  color: #fff;
  border: none;
  font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(34,195,94,.5);
  cursor: pointer;
  transition: transform .15s ease;
  animation: pl-chat-pulse 2.2s ease-in-out infinite;
}
.pl-chat-launcher:hover { transform: scale(1.07); }
.pl-chat-launcher.is-open { background: var(--pl-navy); animation: none; }
@keyframes pl-chat-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(34,195,94,.5), 0 0 0 0 rgba(34,195,94,.55); }
  50% { box-shadow: 0 12px 30px rgba(34,195,94,.5), 0 0 0 14px rgba(34,195,94,0); }
}

.pl-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 104px;
  width: 500px;
  max-width: calc(100vw - 32px);
  height: 660px;
  max-height: calc(100vh - 150px);
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: var(--pl-shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1500;
}
.pl-chat-panel.is-open { display: flex; }

.pl-chat-head {
  background: var(--pl-navy);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.pl-chat-head-left { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.pl-chat-head-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-chat-head-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) {
  /* No PC o avatar ficava pequeno demais perto do nome/título — aumenta
     só a partir do desktop (no celular o espaço é mais apertado). */
  .pl-chat-head-avatar { width: 58px; height: 58px; }
}
.pl-chat-head-info { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.pl-chat-head-info strong { color: #fff; font-size: 1.2rem; font-family: 'Dosis', sans-serif; }
.pl-chat-head-info span { color: var(--pl-green); font-size: .95rem; font-weight: 700; }
.pl-chat-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
}
.pl-chat-close:hover { background: rgba(255,255,255,.2); }

.pl-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem;
  background: var(--pl-bg);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.pl-chat-bubble {
  max-width: 90%;
  padding: .9rem 1.15rem;
  border-radius: .9rem;
  font-size: 1.28rem;
  line-height: 1.5;
}
.pl-chat-bubble--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--pl-ink);
  border-bottom-left-radius: .25rem;
  box-shadow: 0 2px 8px rgba(7,19,40,.08);
}
.pl-chat-bubble--user {
  align-self: flex-end;
  background: var(--pl-blue);
  color: #fff;
  border-bottom-right-radius: .25rem;
}
.pl-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .2rem;
}
.pl-chat-quick button {
  background: #fff;
  border: 1.5px solid var(--pl-green);
  color: var(--pl-green-2);
  border-radius: 999px;
  padding: .7rem 1.25rem;
  font-size: 1.14rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.pl-chat-quick button:hover, .pl-chat-quick a:hover {
  background: var(--pl-green);
  color: #fff;
}
.pl-chat-quick a {
  background: #fff;
  border: 1.5px solid var(--pl-green);
  color: var(--pl-green-2);
  border-radius: 999px;
  padding: .7rem 1.25rem;
  font-size: 1.14rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* ---------- Planos/preços resumidos dentro do chat ---------- */
.pl-chat-bubble.pl-chat-pricing {
  max-width: 96%;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1rem;
}
.pl-chat-pricing-item {
  border: 1.5px solid var(--pl-divider);
  border-radius: .75rem;
  padding: .8rem 1rem;
}
.pl-chat-pricing-item strong {
  display: block;
  font-size: 1.12rem;
  color: var(--pl-navy-3);
  font-family: 'Dosis', sans-serif;
}
.pl-chat-pricing-price {
  display: inline-block;
  margin-top: .2rem;
  font-weight: 800;
  color: var(--pl-green-2);
  font-size: 1.08rem;
}
.pl-chat-pricing-item ul {
  margin: .5rem 0 0;
  padding-left: 1.15rem;
}
.pl-chat-pricing-item li {
  font-size: 1.05rem;
  color: var(--pl-muted);
  margin-bottom: .25rem;
  line-height: 1.4;
}

.pl-chat-form {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem;
  border-top: 1px solid var(--pl-divider);
  background: #fff;
}
.pl-chat-form input {
  flex: 1;
  border: 1px solid var(--pl-divider);
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-size: 1.22rem;
  background: var(--pl-bg);
  color: var(--pl-ink);
}
.pl-chat-form input:focus { outline: none; border-color: var(--pl-green); background: #fff; }
.pl-chat-form button {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pl-green);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pl-chat-form button:hover { background: var(--pl-green-2); }

@media (max-width: 767px) {
  .pl-chat-panel {
    right: 10px;
    left: 10px;
    bottom: 88px;
    width: auto;
    max-width: none;
    height: auto;
    /* Menor que antes (era quase a tela toda) — deixa uma folga visível
       da página atrás, pra não parecer que tomou o smartphone inteiro. */
    max-height: min(66vh, 480px);
  }
  .pl-chat-head { padding: .85rem 1.1rem; }
  .pl-chat-head-info strong { font-size: 1.05rem; }
  .pl-chat-body { padding: .85rem; gap: .55rem; }
  .pl-chat-bubble { font-size: 1.08rem; padding: .75rem .95rem; }
  .pl-chat-pricing-item { padding: .65rem .8rem; }
  .pl-chat-pricing-item li { font-size: .95rem; }
  .pl-chat-quick button, .pl-chat-quick a { font-size: 1rem; padding: .6rem 1.05rem; }
  .pl-chat-form input { font-size: 1.05rem; padding: .75rem 1.05rem; }
  .pl-chat-launcher-wrap { right: 16px; bottom: 16px; }
  .pl-chat-launcher-label { display: none; }
}

/* ---------- Banner de boas-vindas ---------- */
.pl-modal--banner {
  max-width: 480px;
  padding: 0;
  overflow: visible;
  position: relative;
}
.pl-banner-img { width: 100%; display: block; border-radius: 1.25rem 1.25rem 0 0; }
@media (min-width: 720px) {
  .pl-banner-img { border-radius: 1.25rem 1.25rem 0 0; }
}
.pl-banner-body { padding: 1.5rem; text-align: center; }
.pl-banner-body h3 {
  margin: 0 0 .4rem;
  color: var(--pl-navy);
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.pl-banner-body p { color: var(--pl-muted); margin: 0 0 1.1rem; font-weight: 600; }
.pl-modal-close--banner {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(7,19,40,.65);
  color: #fff;
}
.pl-modal-close--banner:hover { background: rgba(7,19,40,.85); }

/* ---------- Impressão do cartão ---------- */
@media print {
  body * { visibility: hidden; }
  #print-card, #print-card * { visibility: visible; }
  #print-card {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
  .pl-card { box-shadow: none; max-width: 420px; width: 100%; }
  .pl-card-actions { display: none !important; }
}

/* ==========================================================================
   Smartphone — ajustes finos
   ========================================================================== */

/* Aumenta a base de tudo que usa rem (cards, modais, chat, botões, textos)
   pra melhorar a leitura em celular — a maior parte do site vai receber o
   link direto pelo WhatsApp, então precisa ficar boa de cara no smartphone. */
@media (max-width: 767px) {
  html { font-size: 17px; }
  .navbar-brand.logo { font-size: 21px; max-width: 66vw; }
  .title-start h2, .team-heading { font-size: 1.7rem; }
  .sub-text { font-size: 1rem; }
  .about-us .content-block p,
  .about-part p,
  .realizacao-desc,
  .testimonila-block p,
  .pl-realizacao-item p,
  #quem-participa .firstpara { font-size: 1rem; }
  .pricing-table .plan .name { font-size: 1.35rem; }
  .con-title { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  html { font-size: 16.5px; }
  .navbar-brand.logo { font-size: 18px; max-width: 62vw; }
  .nav > li.nav-cta > a { padding: 6px 14px !important; font-size: .9rem; }
  .hero-info-cta, .hero-info-cta--alt { padding: 13px 22px; font-size: 1rem; }
  .hero-info-bar { padding: 1rem 0; }
  .hero-info-meta { font-size: .95rem; }
  .pl-modal-body { padding: 1.1rem; }
  .pl-realizacao-item { flex-direction: column; align-items: center; text-align: center; }
  .pl-banner-body h3 { font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .pl-countdown { gap: .4rem; }
}
