/* =====================================================================
   VEX27 — folha de estilos base do site (sem build step, CSS puro).
   Tokens de cor e tipografia conforme seção 4 do briefing.
   ===================================================================== */

:root {
  /* Marca VEX27 (manual de identidade): índigo #2B2864, roxos #53179A/#6E14BD
     e verde-menta #7AFBBE. Rampa escura puxada pro roxo — o site segue 100% dark. */
  --brand-950: #0F0826;
  --brand-900: #1E0F4C;
  --brand-800: #2B2864;
  --brand-700: #35207A;
  --brand-600: #53179A;
  --brand-500: #6E14BD;
  --brand-400: #A06BE8;
  --brand-200: #DCCBF7;

  /* Destaque (CTA e selos): verde-menta da marca */
  --accent: #7AFBBE;
  --accent-hover: #A5FFD2;
  --accent-rgb: 122, 251, 190;

  /* Neutros */
  --white: #FFFFFF;
  --text: #F6F3FD;
  --text-muted: #B6AFD6;
  /* Tom alternativo pra dar ritmo entre seções, sem nunca sair do escuro
     (site 100% dark, a pedido — nenhum fundo claro em lugar nenhum). */
  --alt-bg: #170A3D;
  --border: rgba(255, 255, 255, 0.12);

  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 16px;
  --container-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
/* Garante que o atributo `hidden` sempre esconda, mesmo em elementos
   que também definem `display` (flex/grid) para o estado visível —
   sem isso, esse `display` explícito vence a regra padrão do navegador
   pro [hidden] e o elemento fica visível mesmo "escondido". */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--brand-900);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { line-height: 1.6; margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--brand-400); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

/* Some visível só quando recebe foco por teclado (Tab) — deixa quem
   navega sem mouse pular o menu direto pro conteúdo da página. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--accent);
  color: var(--brand-950);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--brand-950);
}

/* Pequeno rótulo em destaque antes de um título de seção. */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Seções alternativas (alternância de ritmo, seção 4) — tom mais
   escuro ainda, nunca claro: o site inteiro é dark. --- */
.section-alt { background: var(--alt-bg); }

.section { padding: 72px 0; }
@media (max-width: 640px) {
  .section { padding: 48px 0; }
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-accent {
  background: var(--accent);
  color: var(--brand-950);
}
.btn-accent:hover { background: var(--accent-hover); color: var(--brand-950); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }

/* --- Cards --- */
.card {
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* Reaproveita os estilos de formulário do painel (.admin-form) nas
   páginas públicas, só clareando os labels (que por padrão são escuros,
   pensados pro fundo claro do painel) pra ficarem legíveis no card
   escuro do site. */
.form-on-dark label, .admin-form.form-on-dark .field label { color: var(--text-muted); }
.form-on-dark .hint, .admin-form.form-on-dark .hint { color: var(--text-muted); }

/* --- Header do site --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 8, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 92px;
}
@media (max-width: 880px) { .site-header .container { height: 76px; } }
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-desktop a:hover { color: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-family: var(--font-heading); font-weight: 900; font-size: 28px; letter-spacing: 0.01em; line-height: 1; }
/* Selo "27" do logotipo: losango de seta em verde-menta com o número vazado. */
.logo-img { height: 64px; width: auto; max-width: 320px; display: block; }
@media (max-width: 880px) { .site-header .logo-img { height: 48px; max-width: 170px; } }
.site-footer .logo-img { height: 84px; max-width: 380px; }
.logo-27 {
  display: inline-block;
  padding: 3px 12px 3px 16px;
  background: var(--accent);
  color: var(--brand-800);
  font-size: 0.8em;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

/* --- Menu mobile em tela cheia: lista limpa, página atual marcada, CTA fixo embaixo --- */
.nav-mobile {
  position: fixed;
  top: var(--header-h, 76px); right: 0; bottom: 0; left: 0;
  z-index: 49;
  background: var(--brand-950);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-mobile nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
}
.nav-mobile nav > a {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.nav-mobile nav > a i { font-style: normal; font-size: 24px; color: var(--text-muted); transition: transform 0.2s ease, color 0.2s ease; }
.nav-mobile nav > a:hover, .nav-mobile nav > a:active { color: var(--accent); }
.nav-mobile nav > a:hover i { color: var(--accent); transform: translateX(4px); }
.nav-mobile nav > a[aria-current="page"] { color: var(--accent); }
.nav-mobile nav > a[aria-current="page"]::before { content: ""; position: absolute; left: -20px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.nav-mobile-rodape { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.nav-mobile .nav-mobile-cta { width: 100%; padding: 16px 24px; font-size: 17px; border-bottom: none; font-family: var(--font-body); font-weight: 700; color: var(--brand-950); text-transform: none; }
.nav-mobile-redes { display: flex; justify-content: center; gap: 22px; }
.nav-mobile-redes a { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.nav-mobile-redes a:hover { color: var(--accent); }
.nav-mobile:not([hidden]) nav > a, .nav-mobile:not([hidden]) .nav-mobile-rodape { animation: nav-item-in 0.35s ease both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes nav-item-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-mobile:not([hidden]) nav > a, .nav-mobile:not([hidden]) .nav-mobile-rodape { animation: none; } }

body.nav-mobile-locked { overflow: hidden; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-950);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.site-footer p { font-size: 13px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-link {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-link:hover { color: var(--accent); }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--text-muted); }
.footer-copy span { opacity: 0.8; }
.footer-credito { justify-self: end; text-align: right; }
.footer-credito a { display: inline-block; line-height: 0; opacity: 0.5; transition: opacity 0.25s ease; }
.footer-credito a:hover, .footer-credito a:focus-visible { opacity: 0.95; }
.footer-credito img { height: 22px; width: auto; display: block; }
.footer-legal { justify-self: center; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.footer-legal:hover { color: var(--white); border-color: var(--accent); }
@media (max-width: 780px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px; }
  .footer-credito { justify-self: center; text-align: center; margin-top: 6px; }
}

/* --- Hero placeholder (etapa 1) --- */
.hero {
  position: relative;
  padding: 160px 0 110px;
  text-align: center;
  background: radial-gradient(ellipse at 15% 0%, var(--brand-500), transparent 55%), radial-gradient(ellipse at top, var(--brand-800), var(--brand-950));
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .hero { padding: 130px 0 80px; min-height: 560px; }
}

/* --- Fundo com vídeo ou imagem (seção 6.1.1) --- */
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Escurece o fundo o bastante pra garantir contraste AA do texto,
     mais forte embaixo (onde ficam headline/CTA) do que em cima. */
  background:
    radial-gradient(ellipse at 15% 0%, rgba(110,20,189,0.45), transparent 60%),
    linear-gradient(180deg, rgba(15,8,38,0.55) 0%, rgba(15,8,38,0.72) 55%, rgba(15,8,38,0.92) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(15,8,38,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-logo {
  max-width: 320px;
  max-height: 120px;
  width: auto;
  margin: 0 auto 28px;
  animation: hero-fade-up 0.8s ease both;
}

.hero .badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: hero-fade-up 0.8s ease 0.1s both;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 72px);
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  animation: hero-fade-up 0.8s ease 0.2s both;
}
.hero .subtitle {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 18px;
  animation: hero-fade-up 0.8s ease 0.3s both;
}
.hero .hero-datas,
.hero .countdown,
.hero .bloco-botoes {
  justify-content: center;
  animation: hero-fade-up 0.8s ease 0.4s both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero .badge, .hero h1, .hero .subtitle, .hero .hero-datas, .hero .countdown, .hero .bloco-botoes {
    animation: none;
  }
}

/* =====================================================================
   Painel administrativo — tema claro neutro (independente do site)
   ===================================================================== */
.admin-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  background: #F5F2FC;
  color: #1A1A2E;
  font-family: var(--font-body);
}
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--brand-900), var(--brand-950));
  border-right: 1px solid rgba(255,255,255,0.08);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .brand {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  gap: 10px;
}
.admin-sidebar .brand .logo { font-size: 18px; }
.admin-sidebar .brand .logo-img { height: 32px; }
.admin-nav-grupo { margin: 14px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-400); }
@media (max-width: 860px) { .admin-nav-grupo { display: none; } }
.admin-sidebar .brand small { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.admin-sidebar nav { flex: 1; padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-sidebar nav a.active { background: var(--accent); color: var(--brand-950); }
.admin-sidebar .foot { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--text-muted); }
.admin-sidebar .foot a { display: block; color: #FCA5A5; font-weight: 600; margin-top: 6px; }
.admin-sidebar .foot a:hover { color: #fff; }

.admin-main { flex: 1; min-width: 0; padding: 32px; max-width: 1100px; margin: 0 auto; width: 100%; }

@media (max-width: 860px) {
  .admin-body { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .admin-sidebar .brand { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); height: auto; padding: 14px 16px; }
  .admin-sidebar .brand { order: 1; }
  .admin-sidebar .foot { order: 2; margin-left: auto; }
  .admin-sidebar nav {
    order: 3;
    flex: 1 1 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 12px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-sidebar nav a { white-space: nowrap; }
  .admin-sidebar .foot { border-top: none; border-left: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
  .admin-sidebar .foot a { margin-top: 0; }
  .admin-main { padding: 20px; }
}
@media (max-width: 480px) {
  .admin-sidebar { flex-wrap: wrap; }
  .admin-sidebar .foot { flex-wrap: wrap; width: 100%; justify-content: space-between; }
}

.admin-edicao-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 24px;
  font-size: 13px;
}
.admin-edicao-bar form { display: flex; align-items: center; gap: 8px; }
.admin-edicao-bar label { font-weight: 600; color: #6B7280; }
.admin-edicao-bar select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  font-size: 13px;
  font-family: var(--font-body);
  color: #1A1A2E;
  background: #fff;
}
.admin-edicao-bar a { font-weight: 600; }

.admin-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 24px;
}

.admin-flash {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.admin-flash-erro { background: #FEE2E2; color: #991B1B; }
.admin-flash-sucesso { background: #DCFCE7; color: #166534; }

/* --- Formulários do painel --- */
.admin-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-page-head h1 { font-size: 22px; margin: 0; color: var(--brand-800); }

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-admin:hover { background: var(--brand-500); color: #fff; }
.btn-admin-outline {
  background: #fff;
  color: #374151;
  border: 1px solid #D1D5DB;
}
.btn-admin-outline:hover { background: #F9FAFB; color: #374151; }
.btn-admin-danger { background: #fff; color: #DC2626; border: 1px solid #FCA5A5; }
.btn-admin-danger:hover { background: #FEF2F2; color: #DC2626; }
.btn-admin-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

.admin-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.admin-form legend {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-800);
  padding: 0 0 12px;
  border-bottom: 1px solid #E5E7EB;
  width: 100%;
  margin-bottom: 16px;
}
.admin-form .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-form .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) {
  .admin-form .grid, .admin-form .grid-3 { grid-template-columns: 1fr; }
}
.admin-form .field { margin-bottom: 16px; }
.admin-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.admin-form .hint { font-size: 12px; color: #9CA3AF; margin-top: 4px; }
/* O estilo global de .field (feito pro login escuro) não pode vazar pro painel claro. */
.admin-form .field label { color: #374151; }
.admin-form .field input[type=file],
.admin-form .field input[type=checkbox],
.admin-form .field input[type=color] { width: auto; padding: 0; border: none; background: none; color: #374151; }
.admin-form input[type=text],
.admin-form input[type=email],
.admin-form input[type=password],
.admin-form input[type=number],
.admin-form input[type=date],
.admin-form input[type=url],
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  font-size: 14px;
  font-family: var(--font-body);
  color: #1A1A2E;
  background: #fff;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: 2px solid var(--brand-400);
  outline-offset: 1px;
}
.admin-form textarea { resize: vertical; min-height: 90px; }
.admin-form .checkbox-field { display: flex; align-items: center; gap: 8px; }
.admin-form .checkbox-field input { width: auto; }
.admin-form .checkbox-field label { margin: 0; }
.admin-form input[type=file] { font-size: 13px; }
.admin-form .thumb-atual { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.admin-form .thumb-atual img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #E5E7EB; }
.admin-form-actions { display: flex; gap: 10px; margin-top: 8px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9CA3AF;
  padding: 10px 12px;
  border-bottom: 1px solid #E5E7EB;
}
.admin-table td { padding: 12px; border-bottom: 1px solid #F3F4F6; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; }
.admin-table-wrap .admin-table { min-width: 560px; }

.badge-status {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-publicado { background: #DCFCE7; color: #166534; }
.badge-rascunho { background: #F3F4F6; color: #6B7280; }
.badge-atual { background: #FEF3C7; color: #92400E; }

.admin-empty { padding: 40px 20px; text-align: center; color: #9CA3AF; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.media-item { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; }
.media-item img { width: 100%; height: 110px; object-fit: cover; display: block; background: #F3F4F6; }
.media-item .media-body { padding: 8px 10px; }
.media-item .media-body input { width: 100%; font-size: 11px; padding: 4px 6px; border-radius: 6px; border: 1px solid #E5E7EB; margin-bottom: 6px; }
.media-item .media-actions { display: flex; justify-content: space-between; align-items: center; }
.media-item .media-actions button { font-size: 11px; }

.modulos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dash-card { display: block; background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 18px; text-decoration: none; }
.dash-card strong { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--brand-600); }
.dash-card span { color: #4B5563; font-size: 13px; }
a.dash-card:hover { border-color: var(--brand-500); }

/* --- Tela Identidade visual --- */
.thumb-escura img { background: var(--brand-900); padding: 8px; border-radius: 8px; }
.cores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cor-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 10px; background: #fff; cursor: pointer; }
.cor-item input[type=color] { width: 44px; height: 44px; padding: 0; border: none; background: none; cursor: pointer; flex-shrink: 0; }
.cor-item span { display: flex; flex-direction: column; font-size: 13px; }
.cor-item small { color: #6B7280; font-size: 11px; }
.cores-previa { margin-top: 20px; padding: 20px; border-radius: 14px; background: var(--brand-900); }
.cores-previa__titulo { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.cores-previa__card { margin-top: 10px; max-width: 320px; padding: 20px; border-radius: 16px; background: var(--brand-700); border: 1px solid var(--accent); color: #fff; }
.cores-previa__card p { color: var(--text-muted); margin: 6px 0 14px; font-size: 14px; }
.cores-previa__botao { display: inline-block; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: var(--brand-950); font-weight: 700; font-size: 14px; }

/* --- Identidade da marca no painel: links e destaques sobre fundo claro --- */
.admin-main p { color: #4B5563; }
.admin-main .hint, .admin-main small.hint { color: #6B7280; }
.admin-main a:not(.btn-admin) { color: var(--brand-600); font-weight: 600; }
.admin-main a:not(.btn-admin):hover { color: var(--brand-500); text-decoration: underline; }
.admin-main a:focus-visible, .admin-main button:focus-visible, .admin-main input:focus-visible,
.admin-main textarea:focus-visible, .admin-main select:focus-visible { outline-color: var(--brand-500); }
.admin-main h1, .admin-main h2, .admin-main h3 { color: var(--brand-800); }
.badge-atual { background: #E9DDFB; color: #53179A; }
.admin-table th { color: var(--brand-600); }

/* --- Formulário de login --- */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 15% 0%, var(--brand-500), transparent 55%), radial-gradient(ellipse at top, var(--brand-800), var(--brand-950));
  padding: 20px;
}
.login-box {
  width: 100%;
  max-width: 380px;
  background: rgba(15, 8, 38, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.login-box h1 { color: var(--white); font-size: 22px; margin-bottom: 4px; }
.login-box p.lead { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 14px;
}
.field input:focus { outline: 2px solid var(--brand-400); outline-offset: 1px; }
.login-box .btn { width: 100%; margin-top: 8px; }

/* =====================================================================
   Home — seções (etapa 6)
   ===================================================================== */

.hint-light, .hint { color: var(--text-muted); font-size: 13px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* --- Hero: datas + contagem regressiva --- */
.hero-datas { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }
.countdown { display: flex; justify-content: center; gap: 16px; margin-bottom: 32px; }
.countdown-item {
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 64px;
}
.countdown-item span { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--white); }
.countdown-item small { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }

/* --- Números --- */
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 640px) { .numeros-grid { grid-template-columns: repeat(2, 1fr); } }
.numero-valor { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 48px; color: var(--accent); }
.numero-label { font-size: 14px; color: var(--text-muted); }

/* --- O que é o VEX: pilares --- */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  text-align: left;
}
@media (max-width: 640px) { .pilares-grid { grid-template-columns: 1fr; } }
.pilar { background: var(--brand-700); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.2s ease, border-color 0.2s ease; }
.pilar:hover { transform: translateY(-4px); border-color: var(--brand-400); }
.pilar-numero { font-family: var(--font-heading); font-weight: 900; font-size: 13px; color: var(--brand-400); }
.pilar h3 { margin: 8px 0; font-size: 18px; }
.pilar p { margin: 0; font-size: 14px; }

/* --- Nossa história: timeline horizontal --- */
.timeline {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  margin: 24px 0;
  scroll-snap-type: x proximity;
}
.timeline-card {
  scroll-snap-align: start;
  flex: 0 0 220px;
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-card strong { color: var(--white); font-size: 16px; margin: 4px 0; }
.timeline-ano { font-family: var(--font-heading); font-weight: 900; color: var(--accent); font-size: 22px; }
.timeline-rostos { display: flex; margin-top: 12px; }
.timeline-rostos img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--brand-700); margin-left: -10px;
}
.timeline-rostos img:first-child { margin-left: 0; }

/* --- Mosaico de palestrantes --- */
.filtro-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--brand-700);
  font-size: 13px;
  color: var(--text);
}
.mosaico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.mosaico-item {
  text-align: center;
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mosaico-item:hover { transform: translateY(-4px); border-color: var(--brand-400); }
.mosaico-item img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 10px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mosaico-item:hover img { transform: scale(1.12); box-shadow: 0 0 0 3px var(--accent), 0 8px 20px rgba(0, 0, 0, 0.35); }
.mosaico-nome { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.mosaico-selos { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.selo-ano { font-size: 10px; font-weight: 700; background: var(--brand-800); color: var(--white); border-radius: 999px; padding: 2px 7px; }
.mosaico-item[hidden] { display: none; }

/* --- Aftermovie --- */
.video-embed {
  position: relative;
  max-width: 720px;
  margin: 24px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--brand-950);
  border: none; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* --- Depoimentos --- */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.depoimento-card {
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease;
}
.depoimento-card:hover { transform: translateY(-4px); }
.depoimento-texto { font-size: 15px; color: var(--text); font-style: italic; }
.depoimento-autor { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.depoimento-autor img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.depoimento-autor strong { display: block; font-size: 14px; color: var(--text); }

/* --- Palestrantes da edição atual / "em breve" --- */
.palestrantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.palestrante-card { text-align: center; transition: transform 0.3s ease; }
.palestrante-card:hover, .palestrante-card:focus-visible { transform: translateY(-6px); }
.palestrante-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease; margin-bottom: 12px;
}
.palestrante-card:hover img, .palestrante-card:focus-visible img {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px var(--accent), 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(var(--accent-rgb), 0.25);
}
.palestrante-card:hover strong { color: var(--accent); }
.palestrante-card strong { transition: color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .palestrante-card, .palestrante-card img, .mosaico-item img { transition: none; }
  .palestrante-card:hover, .palestrante-card:hover img, .mosaico-item:hover img { transform: none; }
}
.palestrante-card strong { display: block; color: var(--white); font-size: 15px; }

.em-breve-box {
  max-width: 480px;
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* --- Newsletter --- */
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter-feedback { color: var(--accent); font-weight: 700; }
.newsletter-feedback-erro { color: #F87171 !important; font-weight: 600; }

.ingresso-preco { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 28px; color: var(--accent); margin: 8px 0 4px; }

/* --- Marcas / patrocinadores --- */
.cota-label { font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; margin: 40px 0 24px; text-align: center; }
.marcas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; align-items: center; }
.marca-logo { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; }
/* Seção de patrocinadores tem fundo branco; as logos entram em tons de cinza com transparência e ficam coloridas no hover. */
.marca-logo img { height: 56px; width: 168px; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.marca-logo:hover img, a.marca-logo:focus-visible img { filter: grayscale(0); opacity: 1; transform: scale(1.08); }
a.marca-logo:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 8px; }
@media (hover: none) { .marca-logo img { filter: grayscale(0); opacity: 0.85; } } /* celular: sem mouse, já aparecem coloridas */
@media (prefers-reduced-motion: reduce) { .marca-logo img { transition: none; } .marca-logo:hover img { transform: none; } }
.marcas-grid-lg .marca-logo img { height: 72px; width: 216px; }
.marcas-grid-xl .marca-logo img { height: 92px; width: 276px; }
.marcas-grid-sm .marca-logo img { height: 44px; width: 132px; }
@media (max-width: 640px) { .marca-logo img { height: 44px; width: 132px; } .marcas-grid-lg .marca-logo img { height: 56px; width: 168px; } .marcas-grid-xl .marca-logo img { height: 68px; width: 204px; } .marcas-grid-sm .marca-logo img { height: 36px; width: 108px; } .marca-logo { padding: 6px 8px; } }

/* --- Experiência (teaser na Home) --- */
.experiencia-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .experiencia-home-grid { grid-template-columns: 1fr; }
}
.experiencia-home h2 { font-size: clamp(26px, 3.4vw, 38px); }
.experiencia-home .video-embed { margin: 0; }

/* --- FAQ (acordeão nativo, sem JS) --- */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--brand-700); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; transition: border-color 0.2s ease; }
.faq-item:hover { border-color: var(--brand-400); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-size: 20px; color: var(--brand-400); }
.faq-item[open] summary::after { content: '−'; }
.faq-resposta { padding: 0 0 18px; color: var(--text-muted); font-size: 14px; }

/* --- CTA final --- */
.cta-final { background: radial-gradient(ellipse at bottom, var(--brand-800), var(--brand-950)); }

/* --- Blocos das páginas editáveis --- */
.section-topo { padding-top: 80px; padding-bottom: 24px; }
.section-gradiente { background: radial-gradient(ellipse at 15% 0%, var(--brand-500), transparent 55%), radial-gradient(ellipse at top, var(--brand-800), var(--brand-950)); }
.bloco-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bloco-botoes-centro { justify-content: center; }
.bloco-imagem { width: 100%; border-radius: var(--radius); object-fit: cover; }
.imagem-texto { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) {
  .imagem-texto { grid-template-columns: 1fr 1fr; gap: 64px; }
  .imagem-texto-direita .bloco-imagem { order: 2; }
}
.texto-rico { max-width: 800px; }
.texto-rico-centro { text-align: center; }
.texto-rico-corpo { color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.texto-rico-corpo h2, .texto-rico-corpo h3, .texto-rico-corpo h4 { color: var(--white); margin-top: 1.6em; }
.texto-rico-corpo a { text-decoration: underline; }
.texto-rico-corpo img { border-radius: 12px; margin: 16px 0; }
.texto-rico-corpo blockquote { border-left: 3px solid var(--accent); margin: 1.2em 0; padding: 4px 0 4px 18px; color: var(--white); }
.texto-rico-corpo .text-center { text-align: center; }
.texto-rico-corpo .text-right { text-align: right; }
.texto-rico-corpo table { width: 100%; border-collapse: collapse; }
.texto-rico-corpo th, .texto-rico-corpo td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.cards-bloco { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.card-bloco { display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease; }
a.card-bloco:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-bloco img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
.card-bloco strong { color: var(--white); font-size: 17px; }
.card-bloco p { margin: 0; font-size: 14px; }

/* --- CTA de ingressos reaproveitado em páginas internas --- */
.cta-ingressos-inline { background: radial-gradient(ellipse at center, var(--brand-800), var(--brand-950)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* =====================================================================
   Páginas internas (etapa 7)
   ===================================================================== */

/* --- /edicoes --- */
.edicoes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.edicao-card { text-decoration: none; }
.edicao-card-capa { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }

/* --- Perfil de palestrante --- */
.palestrante-perfil { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
@media (max-width: 640px) { .palestrante-perfil { grid-template-columns: 1fr; text-align: center; } }
.palestrante-perfil-foto { width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin: 0 auto; }

/* --- Programação (página completa, com abas) --- */
.tabs-dias { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 32px; }
.tab-dia-btn {
  background: var(--brand-700);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
}
.tab-dia-btn.active { background: var(--accent); color: var(--brand-950); border-color: var(--accent); }
.tab-dia-btn.active .hint { color: var(--brand-950); opacity: 0.7; }

.programacao-lista { display: flex; flex-direction: column; gap: 14px; }
.programacao-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  background: var(--brand-700);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
@media (max-width: 480px) { .programacao-item { grid-template-columns: 1fr; } }
.programacao-hora { font-family: var(--font-heading); font-weight: 800; color: var(--accent); font-size: 15px; }
.programacao-item p { margin: 4px 0 0; }
.programacao-item a { color: var(--brand-400); }

/* --- Ingressos (página completa) --- */
.ingressos-layout { display: grid; gap: 40px; align-items: center; }
.ingressos-intro h2 { margin: 8px 0 16px; }
.ingressos-intro p { font-size: 17px; }
.ingressos-vantagens { list-style: none; padding: 0; margin: 20px 0 0; }
.ingressos-vantagens li { padding: 6px 0; color: var(--text-muted); font-size: 15px; }
.ingressos-vantagens li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
@media (min-width: 900px) { .ingressos-layout { grid-template-columns: 1fr 1fr; gap: 64px; } }

.ingressos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; gap: 24px; }
.ingresso-card {
  text-align: left;
  position: relative;
  width: 100%;
  padding: 32px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ingresso-card:hover { transform: translateY(-4px); }
.ingresso-card-destaque {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), var(--brand-700) 45%);
}
@media (min-width: 860px) { .ingresso-card-destaque { transform: scale(1.03); } .ingresso-card-destaque:hover { transform: scale(1.03) translateY(-4px); } }
.ingresso-selo {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ingresso-nome { font-size: 22px; margin: 0; color: var(--white); }
.ingresso-preco-box { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 16px 0; }
.ingresso-preco-box .ingresso-preco { font-size: 32px; }
.ingresso-itens { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.ingresso-itens li { padding: 7px 0; color: var(--text-muted); font-size: 14px; }
.ingresso-itens li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.ingresso-cta { width: 100%; margin-top: auto; }
.ingressos-observacoes { margin-top: 32px; padding: 20px; background: var(--brand-700); border-radius: 12px; font-size: 13px; color: var(--text-muted); }

/* --- Patrocinadores (seja patrocinador) --- */
.patrocinio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .patrocinio-grid { grid-template-columns: 1fr; } }

/* --- Experiência --- */
.mapa-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; }
.mapa-embed iframe { width: 100%; min-height: 320px; border: 0; display: block; }
.hoteis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hotel-card-foto { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }

/* --- Galeria --- */
.media-grid-site { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.album-card { text-decoration: none; display: block; }
.album-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.album-card { transition: transform 0.2s ease; }
.album-card:hover { transform: translateY(-4px); }
.album-card span { font-size: 14px; font-weight: 600; color: var(--text); }

.lightbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 24px; }
.lightbox-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb-video { display: flex; align-items: center; justify-content: center; }
.lightbox-play { position: absolute; font-size: 28px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,8,38,0.95);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-overlay img { max-width: 88vw; max-height: 82vh; border-radius: 8px; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* --- Contato --- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .contato-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Transições de rolagem — elementos entram suavemente conforme a
   página rola (IntersectionObserver, ver app.js). Sem JS ou com
   prefers-reduced-motion, tudo aparece direto, sem nenhum efeito.
   ===================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.js-disabled .reveal-on-scroll,
.reveal-on-scroll.no-observer { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* Efeito cascata: filhos diretos de uma grade "stagger" entram em
   sequência, não todos de uma vez — dá mais elegância pra grids de
   cards (números, pilares, mosaico, depoimentos...). */
.stagger-children.is-visible > * {
  animation: reveal-child 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stagger-children.is-visible > *:nth-child(1) { animation-delay: 0.02s; }
.stagger-children.is-visible > *:nth-child(2) { animation-delay: 0.08s; }
.stagger-children.is-visible > *:nth-child(3) { animation-delay: 0.14s; }
.stagger-children.is-visible > *:nth-child(4) { animation-delay: 0.20s; }
.stagger-children.is-visible > *:nth-child(5) { animation-delay: 0.26s; }
.stagger-children.is-visible > *:nth-child(6) { animation-delay: 0.32s; }
.stagger-children.is-visible > *:nth-child(n+7) { animation-delay: 0.36s; }
@keyframes reveal-child {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-children.is-visible > * { animation: none; }
}

/* Barra de progresso de leitura no topo, acompanha o scroll da página. */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-400), var(--accent));
  z-index: 60;
  transition: width 0.1s linear;
}

.politica-texto h2 { font-size: 20px; margin-top: 32px; }
.politica-texto p { max-width: none; }

/* --- Banner de cookies (LGPD) --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--brand-950);
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
}
.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 13px; color: var(--text-muted); max-width: 640px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 20px; font-size: 13px; }
@media (max-width: 560px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}

/* =====================================================================
   Painel — editor de páginas por seções
   ===================================================================== */
.secoes-lista { display: flex; flex-direction: column; gap: 8px; }
.secao-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 10px 14px; flex-wrap: wrap; }
.secao-item--off { background: #FAF9FD; opacity: 0.8; }
.secao-item--off .secao-item__info strong { color: #6B7280; }
.secao-item__ordem { display: flex; flex-direction: column; gap: 2px; }
.secao-item__ordem button { width: 28px; height: 22px; border: 1px solid #E5E7EB; background: #fff; border-radius: 6px; cursor: pointer; line-height: 1; color: var(--brand-600); }
.secao-item__ordem button:disabled { opacity: 0.35; cursor: default; }
.secao-item__info { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.secao-item__info strong { color: var(--brand-800); }
.secao-item__acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.secao-item__acoes form { margin: 0; }
.chave { border: 1px solid #D1D5DB; background: #fff; color: #6B7280; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.chave--on { background: #DCFCE7; border-color: #86EFAC; color: #166534; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.repetidor__lista { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.repetidor__item { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #E5E7EB; border-radius: 10px; padding: 12px; background: #FCFBFE; }
.repetidor__campos { flex: 1; min-width: 0; }
.repetidor__campos--botao { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr auto; gap: 8px; align-items: center; }
@media (max-width: 860px) { .repetidor__campos--botao { grid-template-columns: 1fr; } }
.repetidor__campos .field { margin-bottom: 10px; }
.repetidor__acoes { display: flex; flex-direction: column; gap: 4px; }
.repetidor__acoes button { width: 30px; height: 28px; border: 1px solid #E5E7EB; background: #fff; border-radius: 6px; cursor: pointer; color: var(--brand-600); }
.repetidor__acoes [data-excluir] { color: #DC2626; }

.seletor-imagem { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.seletor-imagem__previa img { height: 72px; max-width: 200px; object-fit: contain; border-radius: 8px; background: var(--brand-900); padding: 6px; }
.seletor-imagem__previa:empty { display: none; }
.seletor-imagem__acoes { display: flex; gap: 8px; }
.seletor-dialogo { position: fixed; inset: 0; background: rgba(15, 8, 38, 0.7); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.seletor-dialogo[hidden] { display: none; }
.seletor-dialogo__caixa { background: #fff; border-radius: 16px; width: 100%; max-width: 860px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.seletor-dialogo__topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #E5E7EB; }
.seletor-dialogo__topo button { border: none; background: none; font-size: 26px; cursor: pointer; color: #6B7280; line-height: 1; }
.seletor-dialogo__envio { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid #E5E7EB; }
.seletor-dialogo__envio input[type=text] { flex: 1; min-width: 180px; padding: 8px 10px; border: 1px solid #D1D5DB; border-radius: 8px; }
.seletor-dialogo__grade { padding: 16px 18px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; color: #6B7280; }
.seletor-dialogo__item { border: 2px solid transparent; border-radius: 10px; padding: 0; background: #F3F4F6; cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.seletor-dialogo__item:hover, .seletor-dialogo__item:focus-visible { border-color: var(--brand-500); }
.seletor-dialogo__item img { width: 100%; height: 100%; object-fit: contain; }

.editor-rico { border: 1px solid #D1D5DB; border-radius: 10px; overflow: hidden; background: #fff; }
.editor-rico__barra { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; background: #F5F2FC; border-bottom: 1px solid #E5E7EB; }
.editor-rico__barra button { border: 1px solid #E5E7EB; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 13px; cursor: pointer; color: #1A1A2E; }
.editor-rico__barra button:hover { border-color: var(--brand-500); }
.editor-rico__area { min-height: 200px; padding: 14px; line-height: 1.7; color: #1A1A2E; }
.editor-rico__area:focus { outline: 2px solid var(--brand-500); outline-offset: -2px; }
.editor-rico__area h2, .editor-rico__area h3 { color: var(--brand-800); }
.editor-rico__fonte { width: 100%; min-height: 240px; border: none; padding: 14px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.campo-codigo { font-family: ui-monospace, Menlo, monospace; font-size: 13px; min-height: 260px; background: #0F0826; color: #E8E3F8; border-radius: 10px; padding: 14px; }


/* =====================================================================
   Banners rotativos (bloco "banners")
   ===================================================================== */
.section-banners { padding: 0; }
.banners {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 2.75);
  max-height: 82vh;
  min-height: 180px;
  overflow: hidden;
  background: var(--brand-950);
}
@media (max-width: 700px) { .banners { aspect-ratio: var(--ratio-mobile, 1); max-height: 78vh; } }
.banner-slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 6s ease-out, visibility 0s linear 0.9s;
}
.banner-slide.is-ativo { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; transition: opacity 0.9s ease, transform 6s ease-out, visibility 0s; }
.banner-slide picture, .banner-slide img { display: block; width: 100%; height: 100%; }
.banner-slide img { object-fit: cover; }
a.banner-slide:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.banners-seta {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(15, 8, 38, 0.55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
  backdrop-filter: blur(6px); transition: background-color 0.2s ease, transform 0.2s ease;
}
.banners-seta:hover { background: var(--accent); color: var(--brand-950); transform: translateY(-50%) scale(1.08); }
.banners-seta-ant { left: 16px; }
.banners-seta-prox { right: 16px; }
@media (max-width: 700px) { .banners-seta { width: 36px; height: 36px; font-size: 24px; } .banners-seta-ant { left: 8px; } .banners-seta-prox { right: 8px; } }

.banners-pontos { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.banners-pontos button { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0; background: rgba(255,255,255,0.45); cursor: pointer; transition: width 0.3s ease, background-color 0.3s ease; }
.banners-pontos button.is-ativo { width: 28px; background: var(--accent); }
.banners-progresso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,0.12); }
.banners-progresso span { display: block; height: 100%; width: 0; background: var(--accent); }
.banners.is-rodando .banners-progresso span { animation: banners-progresso var(--duracao, 6000ms) linear forwards; }
@keyframes banners-progresso { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .banner-slide, .banner-slide.is-ativo { transition: opacity 0.2s ease; transform: none; }
  .banners-progresso { display: none; }
}


/* --- Cronômetro e CTA fixos na barra superior --- */
.nav-cta-topo { padding: 10px 22px; font-size: 14px; }
@media (max-width: 880px) { .nav-cta-topo { padding: 8px 16px; font-size: 13px; } }
.cron-topo, .cron-faixa { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.cron-rotulo { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.cron-tempo { font-family: var(--font-heading); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; white-space: nowrap; }
.cron-tempo b { font-weight: 800; }
.cron-tempo i { font-style: normal; color: var(--accent); margin: 0 1px; }
.cron-topo { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.05); }
.cron-faixa { display: none; width: 100%; justify-content: center; padding: 6px 12px; border-top: 1px solid var(--border); background: rgba(15, 8, 38, 0.6); }
@media (max-width: 1240px) { .cron-topo { display: none; } .cron-faixa { display: flex; } }


/* =====================================================================
   Símbolo da marca como detalhe decorativo ao fundo (opção "Detalhe
   decorativo" de cada seção). Máscara SVG pintada com cor da marca, bem
   discreto; nunca captura clique nem leitor de tela.
   ===================================================================== */
.deco { position: relative; overflow: hidden; isolation: isolate; }
.deco::before {
  content: "";
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(240px, 36vw, 560px); aspect-ratio: 370 / 320;
  top: 50%; transform: translateY(calc(-50% + var(--deco-p, 0) * 56px));
  -webkit-mask: var(--deco-img) no-repeat center / contain; mask: var(--deco-img) no-repeat center / contain;
  will-change: transform;
}
.deco-direita, .deco-esquerda { --deco-img: url('../img/simbolo.svg'); }
.deco-contorno-direita, .deco-contorno-esquerda { --deco-img: url('../img/simbolo-contorno.svg'); }
.deco-direita::before { right: -8%; background: var(--brand-400); opacity: 0.07; }
.deco-esquerda::before { left: -8%; background: var(--brand-400); opacity: 0.07; transform: translateY(calc(-50% + var(--deco-p, 0) * 56px)) scaleX(-1); }
.deco-contorno-direita::before { right: -5%; background: #fff; opacity: 0.055; }
.deco-contorno-esquerda::before { left: -5%; background: #fff; opacity: 0.055; transform: translateY(calc(-50% + var(--deco-p, 0) * 56px)) scaleX(-1); }
@media (max-width: 640px) {
  .deco::before { width: 220px; }
  .deco-direita::before, .deco-contorno-direita::before { right: -22%; }
  .deco-esquerda::before, .deco-contorno-esquerda::before { left: -22%; }
}

/* Rodapé: símbolo em contorno bem sutil */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(260px, 34vw, 520px); aspect-ratio: 370 / 320; right: -4%; bottom: -18%;
  -webkit-mask: url('../img/simbolo-contorno.svg') no-repeat center / contain; mask: url('../img/simbolo-contorno.svg') no-repeat center / contain;
  background: #fff; opacity: 0.035;
  transform: translateY(calc(var(--deco-p, 0) * 36px)); will-change: transform;
}


/* =====================================================================
   Programação (bloco "programacao"): dias, filtros, linha do tempo
   ===================================================================== */
.prog { --prog-topo: calc(var(--site-header-h, 92px) + 8px); }
.prog-barra {
  position: sticky; top: calc(var(--site-header-h, 92px)); z-index: 20;
  margin: 0 -16px 24px; padding: 14px 16px 12px;
  background: linear-gradient(180deg, var(--brand-900) 70%, transparent);
  display: flex; flex-direction: column; gap: 12px;
}
.prog-dias { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.prog-dias::-webkit-scrollbar { display: none; }
.prog-dia {
  flex: 1 1 0; min-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--brand-700); border: 1px solid var(--border); color: var(--text);
  padding: 12px 18px; border-radius: 14px; cursor: pointer; font-family: var(--font-body);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.prog-dia:hover { border-color: var(--accent); transform: translateY(-2px); }
.prog-dia-rotulo { font-family: var(--font-heading); font-weight: 800; font-size: 16px; }
.prog-dia-data { font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.03em; }
.prog-dia.is-ativo { background: var(--accent); color: var(--brand-950); border-color: var(--accent); }
.prog-dia.is-ativo .prog-dia-data { color: var(--brand-950); opacity: 0.75; }
.prog-filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.prog-filtro {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.prog-filtro:hover { color: var(--white); border-color: var(--white); }
.prog-filtro.is-ativo { color: var(--brand-950); background: var(--white); border-color: var(--white); }

.prog-resumo { margin: 0 0 22px; color: var(--text-muted); font-size: 15px; }
.prog-resumo strong { color: var(--white); font-family: var(--font-heading); font-size: 20px; margin-right: 4px; }
.prog-resumo span { opacity: 0.9; }

.prog-lista { list-style: none; margin: 0; padding: 0; position: relative; }
.prog-lista::before { content: ""; position: absolute; left: 108px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--border), rgba(255,255,255,0.04)); }
.prog-item { --cor: var(--brand-400); display: grid; grid-template-columns: 92px 1fr; gap: 32px; margin-bottom: 18px; position: relative; }
.prog-item::before { content: ""; position: absolute; left: 102px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-900); border: 3px solid var(--cor); z-index: 1; }
.prog-hora { text-align: right; padding-top: 14px; line-height: 1.2; }
.prog-hora strong { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.prog-hora span { font-size: 12px; color: var(--text-muted); }
.prog-card {
  background: var(--brand-700); border: 1px solid var(--border); border-left: 4px solid var(--cor);
  border-radius: 14px; padding: 18px 22px; margin-left: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.prog-item:hover .prog-card { transform: translateX(4px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.prog-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; font-size: 12px; }
.prog-tipo { background: color-mix(in srgb, var(--cor) 22%, transparent); color: var(--white); border: 1px solid color-mix(in srgb, var(--cor) 55%, transparent); padding: 3px 10px; border-radius: 999px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.prog-duracao, .prog-local { color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.prog-titulo { margin: 0 0 6px; font-family: var(--font-body); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--white); }
.prog-desc { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 70ch; }
.prog-pessoas { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.prog-pessoas a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.prog-pessoas img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cor); }
.prog-pessoas span { display: flex; flex-direction: column; line-height: 1.25; }
.prog-pessoas strong { font-size: 14px; }
.prog-pessoas small { color: var(--text-muted); font-size: 12px; }
.prog-pessoas a:hover strong { color: var(--accent); }

.prog-tipo-plenaria { --cor: var(--brand-400); }
.prog-tipo-painel { --cor: #60A5FA; }
.prog-tipo-atividade { --cor: var(--accent); }
.prog-tipo-social { --cor: #F472B6; }
.prog-tipo-show { --cor: #FBBF24; }
.prog-tipo-intervalo, .prog-tipo-credenciamento { --cor: rgba(255,255,255,0.35); }

/* intervalos e credenciamento: linha leve, sem caixa grande */
.prog-leve { margin-bottom: 10px; }
.prog-leve .prog-hora { padding-top: 6px; }
.prog-leve .prog-hora strong { font-size: 16px; color: var(--text-muted); }
.prog-leve .prog-card { background: transparent; border: 1px dashed var(--border); border-left: 1px dashed var(--border); padding: 9px 16px; }
.prog-leve .prog-meta { margin: 0; }
.prog-leve .prog-titulo { display: inline; font-size: 15px; font-weight: 600; color: var(--text); margin: 0 10px 0 0; }
.prog-leve .prog-card { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.prog-leve .prog-tipo { background: transparent; border-color: transparent; color: var(--text-muted); padding: 0; }
.prog-leve .prog-desc { margin: 0; font-size: 13px; flex-basis: 100%; }
.prog-leve:hover .prog-card { transform: none; box-shadow: none; }
.prog-leve::before { width: 8px; height: 8px; left: 105px; top: 15px; border-width: 2px; }

.prog-surpresa .prog-card { background: linear-gradient(135deg, var(--brand-700), color-mix(in srgb, var(--brand-500) 55%, var(--brand-700))); border-style: dashed; border-left-style: solid; }

/* acontecendo agora */
.prog-item.is-agora .prog-card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 30px rgba(var(--accent-rgb), 0.18); }
.prog-item.is-agora::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.2); }
.prog-agora { background: var(--accent); color: var(--brand-950); font-weight: 800; padding: 3px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; animation: prog-pulso 1.8s ease-in-out infinite; }
.prog-agora[hidden] { display: none; }
@keyframes prog-pulso { 50% { opacity: 0.6; } }

.prog-item[hidden] { display: none; }
.prog-vazio { text-align: center; color: var(--text-muted); padding: 30px 0; }
.prog-painel:not([hidden]) { animation: prog-entra 0.35s ease; }
@keyframes prog-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .prog-barra { margin: 0 -12px 18px; padding: 12px 12px 10px; }
  .prog-dia { min-width: 104px; padding: 10px 12px; }
  .prog-lista::before { left: 7px; }
  .prog-item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .prog-item::before { left: 0; top: 6px; }
  .prog-hora { text-align: left; padding-top: 0; display: flex; align-items: baseline; gap: 8px; }
  .prog-hora strong { font-size: 18px; }
  .prog-card { margin-left: 0; padding: 16px 16px; }
  .prog-leve::before { left: 3px; top: 8px; }
  .prog-titulo { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .prog-agora, .prog-painel:not([hidden]) { animation: none; } .prog-item:hover .prog-card, .prog-dia:hover { transform: none; } }


/* Seções com fundo branco (exceção deliberada ao tema escuro: destaca as logomarcas de patrocinadores) */
.section.section-branca { background: #fff; color: #1A1A2E; }
.section-branca h2, .section-branca h3 { color: var(--brand-900); }
.section-branca p { color: #4B5563; }
.section-branca .cota-label { color: #6B7280; }
.section-branca .btn-outline { color: var(--brand-800); border-color: rgba(43, 40, 100, 0.3); }
.section-branca .btn-outline:hover { background: rgba(43, 40, 100, 0.06); color: var(--brand-800); }
.section-branca .eyebrow { color: var(--brand-600); }


/* --- Recorte de logomarca (painel) --- */
.recorte { margin-top: 12px; padding: 14px; border: 1px solid #E5E7EB; border-radius: 12px; background: #FCFBFE; max-width: 640px; }
.recorte[hidden] { display: none; }
.recorte__titulo { margin: 0 0 10px; font-weight: 700; color: var(--brand-800); }
.recorte__titulo span { font-weight: 500; color: #6B7280; font-size: 13px; }
.recorte canvas { display: block; width: 100%; max-width: 600px; border: 1px solid #D1D5DB; border-radius: 8px; cursor: grab; touch-action: none; background: #fff; }
.recorte canvas:active { cursor: grabbing; }
.recorte__controles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.recorte__controles label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; margin: 0; }
.recorte__controles input[type=range] { width: 140px; padding: 0; border: none; background: none; }

.ordem-setas { display: flex; align-items: center; gap: 4px; }
.ordem-setas form { margin: 0; }
.ordem-num { width: 22px; font-weight: 700; color: var(--brand-600); }
.ordem-setas button { width: 28px; height: 28px; border: 1px solid #E5E7EB; background: #fff; border-radius: 6px; cursor: pointer; color: var(--brand-600); line-height: 1; }
.ordem-setas button:hover:not(:disabled) { border-color: var(--brand-500); background: #F5F2FC; }
.ordem-setas button:disabled { opacity: 0.3; cursor: default; }

/* =====================================================================
   Página Experiência — hero imersivo, atrativos, galeria, hotéis, vídeo
   ===================================================================== */
.section.section-exp-hero { padding: 0; }
.exp-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(86vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 0 0;
  background: radial-gradient(ellipse at 80% 10%, var(--brand-500), transparent 55%), radial-gradient(ellipse at 10% 90%, #1d6f8f55, transparent 50%), var(--brand-950);
}
.exp-hero-fundo { position: absolute; inset: -6% 0; z-index: -2; }
.exp-hero-fundo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, calc(var(--deco-p, 0) * -28px), 0) scale(1.08);
  animation: exp-zoom 18s ease-out both;
}
@keyframes exp-zoom { from { scale: 1.12; } to { scale: 1; } }
.exp-hero-veu {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,8,38,0.55) 0%, rgba(15,8,38,0.25) 38%, rgba(15,8,38,0.92) 100%),
              linear-gradient(90deg, rgba(15,8,38,0.7), transparent 65%);
}
.exp-hero-conteudo { padding-bottom: 36px; }
.exp-hero h1 { color: #fff; font-size: clamp(36px, 6vw, 68px); line-height: 1.04; max-width: 820px; margin: 6px 0 16px; text-wrap: balance; }
.exp-hero-texto { color: rgba(255,255,255,0.88); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; max-width: 620px; margin: 0 0 26px; }
.exp-hero .bloco-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.exp-btn-vidro { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35); color: #fff; backdrop-filter: blur(8px); }
.exp-play { display: inline-flex; align-items: center; gap: 10px; }
.exp-play-icone {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-950); color: var(--accent); font-size: 10px; padding-left: 2px;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); animation: exp-pulso 2.2s infinite;
}
@keyframes exp-pulso { 70% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.exp-destaques {
  list-style: none; margin: 0 auto; padding: 0 20px 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px;
}
.exp-destaques li {
  display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(14px);
  transition: transform .3s, background .3s;
}
.exp-destaques li:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.exp-destaques strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 18px; }
.exp-destaques small { display: block; color: rgba(255,255,255,0.75); font-size: 13px; margin-top: 2px; }

.exp-anim { opacity: 0; transform: translateY(22px); animation: exp-entrada .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
@keyframes exp-entrada { to { opacity: 1; transform: none; } }

/* Cabeçalho comum de seção */
.atr-cabeca { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.atr-cabeca h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; text-wrap: balance; }
.atr-cabeca p { color: var(--text-muted); font-size: 17px; line-height: 1.6; margin: 0; }

/* Atrativos */
.atr-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.atr-destaque { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; }
.atr-destaque .atr-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.atr-destaque .atr-card:nth-child(2) { grid-column: span 2; }
.atr-destaque .atr-card:nth-child(3) { grid-column: span 2; }
.atr-destaque .atr-card:nth-child(n+4) { grid-column: span 2; }
.atr-card {
  position: relative; display: block; overflow: hidden; border-radius: 22px; min-height: 280px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, hsl(var(--tom) 70% 30%), hsl(calc(var(--tom) + 40) 75% 16%));
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.atr-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6); }
.atr-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.atr-card:hover img { transform: scale(1.08); }
.atr-sem-foto::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -15%; top: -20%; border-radius: 50%; background: radial-gradient(circle, hsl(var(--tom) 90% 65% / .45), transparent 70%); transition: transform .8s; }
.atr-sem-foto:hover::before { transform: scale(1.25) translate(-6%, 6%); }
.atr-veu { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,8,38,0.88) 100%); }
.atr-tag { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(15,8,38,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); }
.atr-corpo { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.atr-corpo h3 { color: #fff; font-size: 22px; margin: 0; }
.atr-destaque .atr-card:nth-child(1) h3 { font-size: clamp(26px, 3vw, 34px); }
.atr-corpo p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s; }
.atr-card:hover .atr-corpo p, .atr-card:focus-visible .atr-corpo p { max-height: 160px; opacity: 1; }
.atr-mais { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.atr-mais i { font-style: normal; display: inline-block; transition: transform .3s; }
.atr-card:hover .atr-mais i { transform: translateX(5px); }
@media (hover: none) { .atr-corpo p { max-height: none; opacity: 1; } }
@media (max-width: 900px) {
  .atr-destaque { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .atr-destaque .atr-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .atr-destaque .atr-card:nth-child(n+2) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .atr-destaque { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .atr-destaque .atr-card:nth-child(n) { grid-column: span 1; }
}

/* Galeria em mosaico */
.gf-mosaico { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; margin-top: 28px; }
.gf-item { position: relative; overflow: hidden; border-radius: 16px; display: block; background: var(--brand-800); }
.gf-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gf-item:nth-child(6n+4) { grid-column: span 2; }
.gf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gf-item:hover img { transform: scale(1.07); }
.gf-item::after { content: '⤢'; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,8,38,0.6); color: #fff; opacity: 0; transform: scale(.8); transition: .3s; }
.gf-item:hover::after { opacity: 1; transform: none; }
.gf-legenda { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(15,8,38,0.85)); transform: translateY(100%); transition: transform .4s; }
.gf-item:hover .gf-legenda { transform: none; }
@media (hover: none) { .gf-legenda { transform: none; } }
@media (max-width: 800px) { .gf-mosaico { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gf-item:nth-child(6n+4) { grid-column: span 1; } }

/* Hotéis parceiros */
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 22px; }
.hotel-card2 { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .4s; }
.hotel-card2:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: 0 24px 50px -24px rgba(var(--accent-rgb), .35); }
.hotel-foto { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-800); }
.hotel-sem-foto { background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); }
.hotel-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hotel-card2:hover .hotel-foto img { transform: scale(1.07); }
.hotel-selo { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--brand-950); font-size: 12px; font-weight: 800; }
.hotel-corpo { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.hotel-estrelas { color: #FFD166; letter-spacing: 2px; font-size: 14px; }
.hotel-corpo h3 { color: #fff; font-size: 21px; margin: 4px 0 6px; }
.hotel-distancia { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; color: var(--accent); }
.hotel-desc { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.hotel-cupom { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(var(--accent-rgb), .6); font-size: 14px; color: var(--text-muted); }
.hotel-cupom strong { color: var(--accent); letter-spacing: .06em; margin-left: 6px; }
.hotel-cta { margin-top: auto; align-self: flex-start; }

/* Modal de vídeo */
.video-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15,8,38,0.92); animation: exp-fade .3s both; }
.video-modal-caixa { position: relative; width: min(980px, 100%); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: exp-subir .4s cubic-bezier(.2,.7,.2,1) both; }
.video-modal-caixa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal .lightbox-close { top: 18px; right: 18px; z-index: 2; }
@keyframes exp-fade { from { opacity: 0; } }
@keyframes exp-subir { from { opacity: 0; transform: translateY(24px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  .exp-anim { opacity: 1; transform: none; animation: none; }
  .exp-hero-fundo img, .exp-play-icone { animation: none; transform: none; }
  .atr-card, .atr-card img, .hotel-card2, .gf-item img { transition: none; }
}

.recorte--dialogo { max-width: none; margin: 0; border-radius: 0; border-width: 0 0 1px; }
.recorte__original { margin-left: auto; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.recorte--dialogo canvas { max-width: 360px; }
.recorte--dialogo { flex-shrink: 0; padding: 10px 18px; }
