:root {
  --navy: #001F3F;
  --gold: #FFC300;
  --cta: #32CD32;
  --bg: #0b1626;
  --text: #e6e9ef;
  --muted: #b9c0cf;
  --card: #0f1f35;
  --border: #1f3357;
  --logo-text-color: #FFC300; /* ajuste rápido: mesma cor do texto da logo */
  --brand-blue: #0047AB; /* azul solicitado para composição */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #07111f 50%, var(--bg));
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(0, 31, 63, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 0; }
.logo-mark {
  background: var(--gold);
  color: #111;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 8px;
}
.logo-text strong { display: block; font-weight: 800; letter-spacing: 0.3px; color: var(--logo-text-color); }
.brand-versatil { color: var(--navy); }
.brand-evoluyr { color: var(--logo-text-color); }
.logo-text small { color: var(--muted); }
.slogan { margin-right: 12px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  background: var(--gold);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-cta { background: var(--cta); color: #07210a; }
.btn-cta.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-secondary { background: #0b2c6a; color: #dbe6ff; border-color: #1b3f82; }

/* Countdown */
.countdown { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #081427; }
.countdown-content { padding: 10px 0 16px; text-align: center; }
.timer { display: inline-flex; gap: 14px; margin: 10px 0 6px; }
.time-box { background: var(--card); border: 1px solid var(--border); padding: 12px 18px; border-radius: 12px; }
.time-box span { display: block; font-size: 1.45rem; font-weight: 800; color: var(--gold); }
.time-box small { color: var(--muted); }
.event-info { color: var(--muted); margin: 6px 0 0; }

/* Hero */
.hero { padding: 40px 0; }
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; }
.hero-text h1 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.25; margin: 0 0 10px; }
.hero-title .motto { display: inline-block; font-size: 0.95em; font-weight: 800; }
.motto-item { background: linear-gradient(90deg, var(--gold), #ffe680); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 12px rgba(255,195,0,0.18); }
.subtitle { color: var(--muted); font-size: 1.05rem; }
.hero-actions { margin-top: 18px; display: flex; align-items: center; gap: 16px; }
.seats { color: var(--gold); font-weight: 700; }
.hero-media { display: flex; justify-content: center; }
.media-placeholder { position: relative; width: 100%; max-width: 460px; aspect-ratio: 16/9; border-radius: 16px; background: radial-gradient(circle at 30% 30%, #123, #07111f); border: 1px solid var(--border); display: grid; place-items: center; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #111; padding: 6px 10px; border-radius: 22px; font-weight: 800; }
.play { font-size: 2.2rem; color: #dbe6ff; opacity: 0.8; }

/* Sections */
section { padding: 36px 0; }
.problem .bullets, .offer .bullets { margin: 14px 0 0; padding-left: 18px; }
.bullets li { margin: 8px 0; }

/* Announcement bar */
.announcement { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(90deg, rgba(255,195,0,0.06), rgba(0,31,63,0.2)); }
.ann-content { padding: 10px 0; }
.ann-line { text-align: center; color: var(--text); font-weight: 700; }

/* Hero badges */
.hero-badges { padding-top: 0; }
.badges-content { }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.badge-card { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.badge-card strong { color: var(--gold); }
.badge-icon { font-size: 1.2rem; }
.badge-text { color: var(--muted); }

@media (max-width: 980px) {
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .badges-grid { grid-template-columns: 1fr; }
}

/* Learn list (professional layout) */
.learn-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.learn-item { background: linear-gradient(180deg, rgba(12,23,38,0.92), rgba(10,20,35,0.88)); border: 1px solid var(--brand-blue); border-radius: 12px; padding: 24px; --accent: var(--brand-blue); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.learn-item:hover { border-color: var(--brand-blue); box-shadow: none; }
.learn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.learn-dot { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: transparent; border-radius: 0; }
.learn-dot::before { content: "★"; color: var(--brand-blue); font-size: 16px; line-height: 1; }
.learn-item h3 { margin: 0; color: var(--gold); font-weight: 800; }
.learn-item p { margin: 0; color: var(--muted); font-weight: 600; }

/* Acento único: usar apenas o azul da logo */
.learn-item { --accent: var(--navy); }

/* Speakers */
.speakers-grid { grid-template-columns: repeat(2, 1fr); }
.speaker { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border); padding: 12px 14px; border-radius: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #111; background: var(--gold); }

/* Offer */
.offer { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.offer-content { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: stretch; }
.offer-cta { display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: flex-start; }
.offer-title { background: linear-gradient(90deg, var(--gold), #ffe680); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 12px rgba(255,195,0,0.18); text-align: center; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 35px; }
.urgency { color: var(--gold); font-weight: 700; margin-top: 8px; }
.offer-content .scarcity-box { grid-column: 1 / -1; margin-top: 12px; }

/* Scarcity */
.scarcity-box { background: #13223f; border: 1px dashed var(--gold); padding: 16px; border-radius: 12px; text-align: center; }

/* Ticket layout */
.ticket { display: grid; grid-template-columns: 280px 1fr; gap: 18px; background: linear-gradient(180deg, rgba(12,23,38,0.92), rgba(10,20,35,0.88)); border: 1px solid var(--brand-blue); border-radius: 16px; padding: 18px; box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.ticket-sidebar { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; border-right: 1px dashed var(--border); padding-right: 12px; }
.ticket-qr { width: 180px; height: 180px; background: #0a1730; border: 1px solid #203a66; border-radius: 12px; display: grid; place-items: center; }
.ticket-code { font-weight: 800; color: var(--gold); letter-spacing: 0.6px; }
.ticket-body { display: flex; flex-direction: column; gap: 12px; }
.ticket-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-brand { display: flex; align-items: center; gap: 12px; }
.ticket-logo { height: 42px; width: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.22)); }
.ticket-title { margin: 0; color: var(--gold); }
.ticket-motto { color: var(--muted); font-weight: 600; }
.ticket-actions { display: flex; align-items: center; gap: 10px; }
.ticket-divider { height: 1px; background: linear-gradient(90deg, rgba(255,195,0,0.3), rgba(0,31,63,0.2)); }
.participants-list .participant-item { background: #0a1730; border: 1px solid #203a66; border-radius: 10px; padding: 10px; }
.ticket-footer { display: flex; align-items: center; gap: 10px; }

/* Print styles: A4, clean layout */
@page { size: A4; margin: 12mm; }
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { background: #fff !important; color: #000 !important; }
  .header, .footer, .offer, .accent-line, .sponsor-logos, .header-cta, .btn, .btn-secondary { display: none !important; }
  .container { max-width: none; padding: 0; }
  .ticket { box-shadow: none; border-color: #999; background: #fff; }
  .ticket-qr { border-color: #777; background: #fff; }
  .ticket-title { color: #000; }
  .ticket-motto { color: #333; }
  .event-info, .form-summary { color: #000; }
}

/* Checkout */
.checkout-form { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.participants-list { margin: 10px 0 12px; }
.participant-item { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 8px; }
.participant-item label { font-weight: 600; font-size: 14px; color: var(--text); }
.participant-item input { padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
label { font-weight: 600; color: #dbe6ff; }

/* VIP details in modal */
.vip-details { margin: 10px 0 18px; padding-left: 18px; }
.vip-details li { margin: 6px 0; color: var(--text); }

/* Footer sponsors */
.sponsor-logos { display: flex; align-items: center; gap: 26px; margin: 10px 0; }
.footer-logo { height: 85px; width: auto; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
/* Specific size override for Ativo34 */
.footer-logo.ativo34 { height: 42px; }
/* Highlight size for AloSpreche only */
.footer-logo-alospreche { height: 85px; }
.footer-logo-hidraupress { width: 85px; }

/* Sponsor cards */
.sponsor-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  height: 110px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sponsor-card:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.35); border-color: #203a66; }
.sponsor-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input, select { background: #0a1730; border: 1px solid #203a66; color: var(--text); border-radius: 10px; padding: 10px 12px; }
.form-summary { display: flex; gap: 24px; align-items: center; margin: 12px 0; color: var(--muted); }
.security-note { color: var(--muted); font-size: 0.9rem; }

/* Modals */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.55); z-index: 100; }
.modal.show { display: flex; }
.modal-content { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; width: min(560px, 92vw); position: relative; }
.modal-close { position: absolute; top: 8px; right: 10px; background: transparent; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.order-summary { background: #0a1730; border: 1px solid #203a66; border-radius: 10px; padding: 12px; margin: 10px 0 18px; }
.upsell-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Success */
.success-content { text-align: center; }
.share-actions { display: flex; gap: 10px; justify-content: center; margin: 14px 0; }
.hidden { display: none; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: rgba(0,0,0,0.2); box-shadow: 0 -6px 16px rgba(0,0,0,0.28); }
.footer-content { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 0; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p { color: var(--text); }
.footer small { color: var(--muted); }
 
/* Footer labels */
.footer-label { color: var(--gold); font-weight: 700; }
.footer-copy { text-align: center; padding: 8px 0 14px; }

/* Mobile bottom duplication (hidden by default) */
.mobile-bottom { display: none; padding: 16px 0; }
.mobile-bottom .scarcity-box { text-align: center; margin: 0 auto; max-width: 640px; }
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .offer-content { grid-template-columns: 1fr; }
  .learn-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .learn-list { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .header-content { flex-direction: column; gap: 10px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  /* page shell border/padding for mobile */
  .page-shell { border: 1px solid var(--border); border-radius: 16px; margin: 8px; padding: 8px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
  .container { padding-left: 16px; padding-right: 16px; }
  /* Footer responsive layout */
  .footer-content { flex-direction: column; align-items: center; gap: 12px; }
  .sponsor-logos { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .sponsor-card { padding: 8px 10px; }
  .sponsor-card { height: 90px; }
  .footer-logo { height: 60px; }
  .footer-logo.ativo34 { height: 30px; }
  .footer-logo-alospreche { height: 60px; }
  .footer-logo-hidraupress { width: 90px; }
  .footer p, .footer a { text-align: center; }
  .footer-copy { text-align: center; }
  /* Mostrar aviso no final e esconder o original em telas pequenas */
  .mobile-bottom { display: block; }
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  /* Opcional: centralizar CTA no mobile sem alterar largura do botão */
  .offer-cta { align-items: center; text-align: center; }
}

/* Countdown compact */
.countdown-content { padding: 6px 0 12px; }
.timer { gap: 10px; margin: 6px 0 2px; }
.time-box { padding: 8px 12px; }
.time-box span { font-size: 1.3rem; }
.time-box small { font-size: 0.9rem; }
.event-info { font-size: 0.95rem; }

/* Enhancements */
/* Header gradient and accent line */
.header { background: linear-gradient(180deg, rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.65)); }
.accent-line { height: 3px; background: linear-gradient(90deg, var(--gold), rgba(255,195,0,0.2), var(--gold)); opacity: 0.9; }
.logo { text-decoration: none; }
.logo-img { height: 64px; width: auto; display: block; border: none; outline: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.22)); }

/* Hero glow overlays */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1200px 500px at 20% 10%, rgba(255,195,0,0.08), transparent 60%), radial-gradient(800px 400px at 80% 30%, rgba(50,205,50,0.06), transparent 60%); }

/* Ticket layout for ingresso.html */
.ticket {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 2px solid #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.ticket-sidebar {
  background: #f7f7f7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 2px dashed #ccc;
}
.ticket-qr { width: 180px; height: 180px; }
.ticket-code { margin-top: 12px; font-weight: 700; color: #333; }
.ticket-body { padding: 16px; color: #222; }
.ticket-header { display: flex; align-items: center; justify-content: space-between; }
.ticket-brand { display: flex; align-items: center; gap: 14px; }
.ticket-logo { height: 56px; width: auto; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.22)); }
.ticket-brand-text { display: flex; flex-direction: column; gap: 4px; }
.ticket-title { margin: 0; color: #111; font-weight: 800; }
.ticket-motto { font-weight: 800; background: linear-gradient(90deg, var(--gold), #ffe680); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 12px rgba(255,195,0,0.18); }
.ticket-actions { display: flex; gap: 8px; }
.ticket-divider { height: 2px; background: repeating-linear-gradient(90deg, #ddd, #ddd 8px, transparent 8px, transparent 16px); margin: 12px 0; }
.ticket-footer { margin-top: 12px; display: flex; gap: 8px; }

@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-sidebar { border-right: none; border-bottom: 2px dashed #ccc; }
}

/* Media animated ring */
.media-placeholder { overflow: hidden; }
.media-placeholder::before { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,195,0,0.0), rgba(255,195,0,0.5), rgba(255,195,0,0.0) 30%); animation: spin 6s linear infinite; filter: blur(8px); }
.play { font-size: 2.4rem; opacity: 0.9; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }

/* CTA pulse */
.btn-cta.btn-lg { animation: pulseGlow 2.2s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(50,205,50,0.0); }

/* Hover micro-interactions */
.card:hover, .speaker:hover { transform: translateY(-2px); transition: transform 0.15s ease; }

/* Scarcity glow */
.scarcity-box { position: relative; }
.scarcity-box::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: 0 0 18px rgba(255,195,0,0.25); pointer-events: none; }

/* Seats alert */
.seats.alert { animation: alertBlink 1.2s ease-in-out infinite; }

/* Animations */
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(50,205,50,0.0); transform: translateY(0); }
  50% { box-shadow: 0 0 24px 2px rgba(50,205,50,0.25); transform: translateY(-1px); }
  100% { box-shadow: 0 0 0 0 rgba(50,205,50,0.0); transform: translateY(0); }
}
@keyframes alertBlink {
  0%, 100% { color: var(--gold); }
  50% { color: #ffd44d; }
}