/* ============================================
   MOTIVA ALAGOAS — style.css
   ============================================ */

:root {
  --color-dark-blue: #041E42;
  --color-deep: #0A2E5C;
  --color-blue: #1D6FE8;
  --color-cyan: #4FC3FF;
  --color-orange: #F97316;
  --color-white: #FFFFFF;
  --color-gray-light: #F5F8FC;
  --color-text: #0F172A;
  --color-muted: #64748B;
  --color-border: #E2E8F0;

  --font-family: 'Poppins', system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 20px rgba(4, 30, 66, 0.08);
  --shadow-md: 0 14px 44px rgba(4, 30, 66, 0.14);
  --shadow-lg: 0 24px 70px rgba(4, 30, 66, 0.22);
  --glow-cyan: 0 0 60px rgba(79, 195, 255, 0.45);

  --transition: 0.3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.01em; color: var(--color-dark-blue); }
.text-accent { color: var(--color-cyan); text-shadow: 0 0 24px rgba(79,195,255,0.35); }

/* ============ BUTTONS ============ */
.btn { font-weight: 600; border-radius: 999px; padding: 0.75rem 1.75rem; transition: var(--transition); }
.btn-motiva {
  background: var(--color-orange);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.btn-motiva:hover { background: #ea6a10; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(249,115,22,0.45); }
.btn-motiva-outline {
  background: transparent;
  color: var(--color-orange) !important;
  border: 2px solid var(--color-orange);
}
.btn-motiva-outline:hover { background: var(--color-orange); color: #fff !important; }
.btn-outline-light { border-radius: 999px; }
.btn-lg { padding: 0.9rem 2rem; }

/* ============ NAVBAR ============ */
.navbar-motiva {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
}
.navbar-motiva.scrolled {
  padding: 0.5rem 0;
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}
.navbar-brand { font-size: 1.35rem; letter-spacing: 0.5px; }
.brand-mark { color: var(--color-dark-blue); font-weight: 800; }
.brand-mark-accent { color: var(--color-orange); font-weight: 800; margin-left: 4px; }
.navbar-nav .nav-link {
  color: var(--color-text) !important;
  font-weight: 500;
  margin: 0 0.35rem;
  position: relative;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-orange) !important;
}
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
}
.navbar-toggler { border: none; font-size: 1.5rem; color: var(--color-dark-blue); }
.navbar-toggler:focus { box-shadow: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% -10%, #1D6FE8 0%, transparent 55%),
    radial-gradient(ellipse at 50% 110%, #4FC3FF 0%, transparent 45%),
    linear-gradient(180deg, #041E42 0%, #0A2E5C 50%, #041E42 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(79,195,255,0.18), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(29,111,232,0.25), transparent 45%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.hero-glow-1 { width: 420px; height: 420px; background: #4FC3FF; top: -120px; left: -120px; }
.hero-glow-2 { width: 520px; height: 520px; background: #1D6FE8; bottom: -180px; right: -180px; }
.hero-content { position: relative; z-index: 2; padding: 7rem 1rem 5rem; max-width: 1200px; width: 100%; }
.hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 4.6vw, 3.5rem);
  text-wrap: balance;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  opacity: 0.8;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ============ SECTIONS ============ */
.section { padding: 6rem 0; }
.section-alt { background: var(--color-gray-light); }
.section-dark { background: var(--color-dark-blue); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-eyebrow {
  display: inline-block;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.lead-text { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 1rem; }

/* ============ PLACEHOLDERS ============ */
.placeholder-media {
  background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  min-height: 120px;
  border-radius: var(--radius-md);
}

/* ============ SPONSORS STRIP ============ */
.sponsors-strip { padding: 2.5rem 0; border-bottom: 1px solid var(--color-border); }
.sponsors-label { text-align: center; color: var(--color-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.sponsors-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.sponsors-track { display: flex; gap: 3rem; width: max-content; animation: scroll-x 30s linear infinite; }
.sponsor-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 200px; height: 87px;
  background: var(--color-gray-light);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-weight: 600;
  overflow: hidden;
  transition: var(--transition);
}
.sponsor-logo img { width: 100%; height: 100%; object-fit: fill; display: block; }
.sponsor-logo:hover { color: var(--color-dark-blue); }
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about-media { position: relative; }
.about-image { height: 480px; border-radius: var(--radius-lg); }
.floating-card {
  position: absolute;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.75rem;
  min-width: 180px;
}
.floating-card i { font-size: 1.75rem; color: var(--color-orange); }
.floating-card strong { display: block; font-size: 1.15rem; color: var(--color-dark-blue); }
.floating-card small { color: var(--color-muted); }
.floating-card-1 { top: 15%; left: -20px; animation: float 6s ease-in-out infinite; }
.floating-card-2 { bottom: 15%; right: -20px; animation: float 6s ease-in-out infinite 3s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============ FEATURE CARDS ============ */
.feature-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange);
}
.feature-card i {
  font-size: 2.25rem;
  color: var(--color-orange);
  display: inline-flex;
  width: 60px; height: 60px;
  align-items: center; justify-content: center;
  background: rgba(249,115,22,0.1);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--color-muted); margin: 0; }

/* ============ AUDIENCE ============ */
.audience-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.audience-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.audience-card i {
  font-size: 2rem;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.75rem;
}
.audience-card span { font-weight: 600; color: var(--color-dark-blue); }

/* ============ XP CARDS (dark) ============ */
.xp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: var(--transition);
}
.xp-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: var(--color-orange);
}
.xp-card i { font-size: 2rem; color: var(--color-orange); margin-bottom: 1rem; display: block; }
.xp-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.5rem; }
.xp-card p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }

/* ============ SPEAKERS ============ */
.speakers-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.speaker-row {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.speaker-row.is-dimmed { opacity: 0.5; }
.speaker-row.is-active { box-shadow: var(--shadow-lg); }
.speaker-left { display: flex; flex-direction: column; gap: 0.75rem; }
.speaker-photo { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: var(--radius-sm); object-fit: cover; overflow: hidden; }
.speaker-info { padding: 0; }
.speaker-info h3 { font-size: 1.15rem; margin-bottom: 0.25rem; text-align: left; }
.speaker-info .role { color: var(--color-blue); font-size: 0.85rem; margin: 0 0 0.5rem; font-weight: 600; text-align: left; }
.speaker-right { display: flex; flex-direction: column; gap: 0.5rem; }
.talk-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--color-orange); }
.talk-accordion .accordion-button .talk-title { font-size: 1rem; font-weight: 700; flex: 1; text-align: left; }
@media (max-width: 767px) {
  .speaker-row { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============ TIMELINE ============ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-orange), var(--color-blue));
}
.timeline-item { position: relative; padding-bottom: 2.5rem; padding-left: 2rem; }
.timeline-icon {
  position: absolute;
  left: -20px; top: 0;
  width: 44px; height: 44px;
  background: #fff;
  border: 3px solid var(--color-orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-orange);
  font-size: 1.1rem;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.timeline-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.timeline-content .time {
  display: inline-block;
  background: var(--color-dark-blue);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline-content p { margin: 0; color: var(--color-muted); }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin: 1rem 0.5rem 3rem;
}
.testimonial-card .stars { color: var(--color-orange); margin-bottom: 1rem; }
.testimonial-card p { font-style: italic; color: var(--color-text); margin-bottom: 1.5rem; }
.testimonial-person { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-person .avatar {
  width: 50px; height: 50px; min-height: 50px;
  border-radius: 50%;
  font-size: 0.75rem;
}
.testimonial-person strong { display: block; color: var(--color-dark-blue); }
.testimonial-person small { color: var(--color-muted); }
.testimonialsSwiper .swiper-pagination-bullet-active { background: var(--color-orange); }

/* ============ STATS ============ */
.stats-section { padding: 4rem 0; }
.stat h3 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--color-orange); margin-bottom: 0; font-weight: 800; }
.stat p { color: rgba(255,255,255,0.8); margin: 0; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }

/* ============ PARTNERS ============ */
.partners-grid {
  --partners-cols: 6;
  --partners-gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--partners-gap);
}
.partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc((100% - (var(--partners-cols) - 1) * var(--partners-gap)) / var(--partners-cols));
  max-width: calc((100% - (var(--partners-cols) - 1) * var(--partners-gap)) / var(--partners-cols));
}
@media (max-width: 768px) {
  .partners-grid { --partners-gap: 0.75rem !important; row-gap: 0.25rem !important; }
  .partner-logo {
    flex: 0 0 calc((100% - var(--partners-gap)) / 2) !important;
    max-width: calc((100% - var(--partners-gap)) / 2) !important;
    height: 170px;
  }
  .partner-logo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
}

/* ============ SPONSOR BANNER ============ */
.sponsor-banner {
  background: linear-gradient(135deg, var(--color-dark-blue), var(--color-blue));
  color: #fff;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sponsor-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.3), transparent 70%);
}
.sponsor-banner h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; position: relative; }
.sponsor-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; position: relative; }
.sponsor-banner .btn { position: relative; }

/* ============ TICKETS ============ */
.ticket-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.ticket-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ticket-featured {
  border-color: var(--color-orange);
  box-shadow: 0 20px 50px rgba(249,115,22,0.15);
  position: relative;
}
.ticket-featured::before {
  content: "MAIS POPULAR";
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-orange);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ticket-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ticket-header h3 { margin: 0; font-size: 1.25rem; }
.badge-status {
  font-size: 0.7rem; padding: 0.25rem 0.65rem;
  background: var(--color-gray-light); color: var(--color-muted);
  border-radius: 999px; font-weight: 600;
}
.badge-status.current { background: var(--color-orange); color: #fff; }
.badge-status.vip { background: var(--color-dark-blue); color: #fff; }
.ticket-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.5rem; color: var(--color-dark-blue); }
.ticket-price small { font-size: 1rem; font-weight: 600; }
.ticket-price strong { font-size: 3rem; font-weight: 800; line-height: 1; }
.ticket-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex-grow: 1; }
.ticket-card li { padding: 0.4rem 0; color: var(--color-text); display: flex; align-items: center; gap: 0.5rem; }
.ticket-card li i { color: var(--color-orange); font-weight: 700; }

/* ============ FAQ ============ */
.accordion-item { border: none; background: transparent; margin-bottom: 0.75rem; }
.accordion-button {
  background: #fff !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  font-weight: 600;
  color: var(--color-dark-blue) !important;
  padding: 1.25rem 1.5rem;
}
.accordion-button:not(.collapsed) {
  background: var(--color-dark-blue) !important;
  color: #fff !important;
}
.accordion-button:focus { box-shadow: var(--shadow-sm) !important; outline: none; }
.accordion-body { padding: 1.25rem 1.5rem; color: var(--color-muted); }

/* ============ CTA FINAL ============ */
.cta-final {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--color-dark-blue), #1E40AF);
  overflow: hidden;
}
.cta-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(249,115,22,0.3), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(37,99,235,0.4), transparent 40%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
.cta-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }

/* ============ FOOTER ============ */
.footer {
  background: #0A1F3D;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--color-orange); }
.footer-brand { display: inline-block; font-size: 1.4rem; text-decoration: none; }
.footer-brand .brand-mark { color: #fff; }
.footer hr { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1rem; }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social a:hover { background: var(--color-orange); color: #fff; transform: translateY(-3px); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  font-size: 1.15rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #ea6a10; transform: translateY(-4px); }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 2rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-stage {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.lightbox-stage img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  background: #111;
  will-change: transform, opacity;
}
.lightbox-stage img.lb-enter    { animation: lb-zoom          .5s cubic-bezier(.22,1,.36,1); }
.lightbox-stage img.lb-in-left  { animation: lb-slide-in-left  .45s cubic-bezier(.22,1,.36,1); }
.lightbox-stage img.lb-in-right { animation: lb-slide-in-right .45s cubic-bezier(.22,1,.36,1); }
@keyframes lb-zoom { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lb-slide-in-left  { from { transform: translateX(60%)  scale(.92); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes lb-slide-in-right { from { transform: translateX(-60%) scale(.92); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
.lightbox-caption {
  margin-top: .75rem;
  color: #f1f5f9;
  font-size: .95rem;
  text-align: center;
  max-width: 92vw;
}
.lightbox-caption #lightboxCounter { opacity: .7; margin-right: .5rem; }
.lightbox-close,
.lightbox-nav,
.lightbox-download {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
  text-decoration: none;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-download:hover { background: rgba(255,255,255,0.25); transform: scale(1.06); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-download { top: 1.25rem; right: 5rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 576px) {
  .lightbox-close, .lightbox-nav, .lightbox-download { width: 40px; height: 40px; font-size: 1.15rem; }
  .lightbox-download { right: 4rem; }
}

/* ============ FOCUS STATES (a11y) ============ */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .navbar-motiva { background: rgba(255,255,255,0.98); }
  .navbar-collapse { padding: 1rem 0; }
  .navbar-nav .nav-link { margin: 0.25rem 0; }
  .floating-card-1 { left: 10px; }
  .floating-card-2 { right: 10px; }
  .section { padding: 4rem 0; }
  .about-image { height: 320px; }
}

@media (max-width: 576px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .back-to-top { bottom: 1rem; right: 1rem; }
  #whatsappFab { right: 1rem !important; bottom: calc(1rem + 66px) !important; }
}

/* ============ HERO VIDEO 9:16 ============ */
.hero-video-wrap {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(160deg, rgba(79,195,255,0.9), rgba(29,111,232,0.3) 40%, rgba(79,195,255,0.7));
  box-shadow: var(--glow-cyan), var(--shadow-lg);
  transition: transform 0.5s ease;
}
.hero-video-wrap:hover { transform: translateY(-6px) scale(1.01); }
.hero-video-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  background: linear-gradient(180deg, #062147, #0A2E5C);
}
.hero-video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}
.hero-video-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(79,195,255,0.25), transparent 60%),
    linear-gradient(180deg, #062147, #0A2E5C);
  z-index: 0;
}
.hero-video-fallback i { font-size: 3rem; color: var(--color-cyan); }
.hero-video-shine {
  position: absolute; inset: -20%;
  background: conic-gradient(from 0deg, transparent, rgba(79,195,255,0.15), transparent 30%);
  animation: spin-slow 8s linear infinite;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .hero-video-wrap { max-width: 260px; margin-bottom: 2rem; }
  .hero-content { padding-top: 6rem; }
}

/* ============ SPEAKER ACCORDION ============ */
.speaker-accordion { margin-top: 1rem; }
.speaker-accordion .accordion-item {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  margin: 0;
  background: var(--color-gray-light);
}
.speaker-accordion .accordion-button {
  background: var(--color-gray-light) !important;
  box-shadow: none !important;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-blue) !important;
  border-radius: var(--radius-sm) !important;
}
.speaker-accordion .accordion-button:not(.collapsed) {
  background: var(--color-blue) !important;
  color: #fff !important;
}
.speaker-accordion .accordion-body {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  background: #fff;
}

/* ============ SECTION EYEBROW TWEAK ============ */
.section-eyebrow { color: var(--color-blue); }

/* ============ BRAND LOGO IMAGE ============ */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  /* white PNG -> darken on light navbar */
  filter: brightness(0) saturate(100%) invert(11%) sepia(43%) saturate(3446%) hue-rotate(206deg) brightness(94%) contrast(101%);
  transition: var(--transition);
}
.navbar-motiva.scrolled .brand-logo { height: 38px; }
.footer-logo { height: 52px; width: auto; display: block; }

/* ============ HERO BG IMAGE ============ */
.hero {
  background-image:
    linear-gradient(180deg, rgba(4,30,66,0.55) 0%, rgba(4,30,66,0.35) 50%, rgba(4,30,66,0.75) 100%),
    url("../img/bg/waves.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ============ SECTION: O EVENTO (network bg) ============ */
#evento {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4,30,66,0.85) 0%, rgba(10,46,92,0.9) 100%),
    url("../img/bg/network.jpg") center/cover no-repeat;
}
#evento h2, #evento h3 { color: #fff; }
#evento .lead-text, #evento p { color: rgba(255,255,255,0.85); }
#evento .section-eyebrow { color: var(--color-cyan); }
#evento .about-image {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}
#evento .floating-card { background: rgba(255,255,255,0.95); }

/* ============ SECTION DARK (rays bg overlay) ============ */
.section-dark {
  position: relative;
  background:
    linear-gradient(180deg, rgba(4,30,66,0.97) 0%, rgba(10,46,92,0.95) 100%),
    url("../img/bg/waves.jpg") center/cover no-repeat;
}

/* ============ CTA FINAL — rays bg ============ */
.cta-final {
  background:
    linear-gradient(180deg, rgba(4,30,66,0.7) 0%, rgba(4,30,66,0.9) 100%),
    url("../img/bg/waves.jpg") center/cover no-repeat;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .hero { background-attachment: scroll; }
  .brand-logo { height: 36px; }
}

/* ============ DEPOIMENTOS EM VÍDEO (Stories 9:16) ============ */
.testimonials-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.testimonial-video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
.testimonial-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.testimonial-video-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A2E5C, #041E42);
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: .05em;
  font-size: .9rem;
}
@media (max-width: 992px) {
  .testimonials-videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .testimonials-videos-grid { grid-template-columns: 1fr; }
}

/* Palestrantes — bio e palestra sempre visíveis (sem dropdown) */
.speaker-bio { margin-top: 12px; }
.speaker-bio-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary, #0d6efd);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
}
.speaker-bio-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}
.speaker-bio-body p { margin: 0 0 0.5em 0; }
.speaker-bio-body :last-child { margin-bottom: 0; }

.speaker-right .talk-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 6px 0 8px 0;
}
.speaker-right .talk-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
}
.speaker-right .talk-body p { margin: 0 0 0.5em 0; }
.speaker-right .talk-body :last-child { margin-bottom: 0; }

/* ==== Minicurrículo colapsável ==== */
.speaker-bio { border-top: 1px solid var(--color-border); margin-top: 0.75rem; padding-top: 0.5rem; }
.speaker-bio-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: transparent; border: 0; padding: 0.5rem 0;
  font-weight: 700; color: var(--color-dark-blue); cursor: pointer;
  font-family: inherit; font-size: 1rem;
}
.speaker-bio-caret { transition: transform 0.3s ease; }
.speaker-bio.is-open .speaker-bio-caret { transform: rotate(180deg); }
.speaker-bio.is-collapsed .speaker-bio-body { display: none; }
.speaker-bio-body { padding-top: 0.5rem; }

/* ================= GALERIA (mosaico masonry sem espaços vazios) ================= */
.gallery-masonry {
  column-count: 4;
  column-gap: 12px;
}
.gallery-masonry .gallery-item {
  display: block;
  margin: 0 0 12px;
  break-inside: avoid;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-masonry .gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.gallery-masonry .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 1199px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 767px)  { .gallery-masonry { column-count: 2; column-gap: 8px; } .gallery-masonry .gallery-item { margin-bottom: 8px; } }
@media (max-width: 380px)  { .gallery-masonry { column-count: 1; } }

[data-cms="about_text"]{white-space:pre-line;}
