/*
Theme Name: Festival Iguassu Inova - Palestrantes
Theme URI: https://festivaliguassuinova.com.br/
Author: Itaipu Parquetec
Author URI: https://itaipuparquetec.org.br/
Description: Tema oficial exclusivo do Festival Iguassu Inova para a área de Palestrantes e integração com LeL Yazo.
Version: 1.0.1
Text Domain: fii-palestrantes
*/

/* 1. RESET E VARIÁVEIS GLOBAIS */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --color-bg-dark: #121316;
  --color-bg-card: #1D1D1B;
  --color-bg-sidebar: #17181C;
  --color-text-main: #FFFFFF;
  --color-text-muted: rgba(255, 255, 255, 0.75);
  
  --color-mundo-itaipu: #1478BD;
  --color-fii-orange: #FF7900;
  --color-fii-green: #009339;
  --color-fii-yellow: #FAB518;
  --color-fii-purple: #6656D8;
  --color-fii-wine: #A3195B;
  --color-fii-teal: #00A59B;
  --color-fii-cyan: #17E7F6;
  
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* 2. LAYOUT E CONTAINERS */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* 3. HEADER & NAVBAR FIXO */
.header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(18, 19, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-v2.scrolled {
  background: rgba(18, 19, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link-v2 {
  display: flex;
  align-items: center;
}

.logo-img-v2 {
  height: 44px;
  width: auto;
}

.nav-menu-v2 {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link-v2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link-v2:hover,
.nav-link-v2.active {
  color: var(--color-mundo-itaipu);
}

.nav-link-v2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-mundo-itaipu);
  transition: width 0.3s ease;
}

.nav-link-v2:hover::after,
.nav-link-v2.active::after {
  width: 100%;
}

.header-actions-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-ingressos-breve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, #FF7900 0%, #E65100 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255, 121, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ingressos-breve:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 121, 0, 0.5);
}

/* Mobile Hamburger Button */
.header-hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #FFFFFF;
}

.header-hamburger-btn svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 360px;
  height: 100%;
  background: #17181C;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  color: var(--color-mundo-itaipu);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.mobile-drawer-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
}

@media (max-width: 991px) {
  .nav-menu-v2,
  .header-actions-desktop {
    display: none;
  }
  .header-hamburger-btn {
    display: block;
  }
}

/* 4. HERO SECTION DA PÁGINA */
.page-header-v2 {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 3.5rem;
  background: #1D1D1B;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(20, 120, 189, 0.18);
  border: 1px solid rgba(20, 120, 189, 0.4);
  color: #38bdf8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
}

.text-gradient-brand {
  background: linear-gradient(135deg, #1478BD 0%, #00A59B 50%, #FAB518 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 1rem auto 0 auto;
  line-height: 1.6;
}

/* 5. ÁREA DE CONTEÚDO PRINCIPAL (ONDE O PLUGIN RENDERIZA) */
.fii-page-content {
  flex: 1 0 auto;
  padding: 3.5rem 0 6rem 0;
  background: var(--color-bg-dark);
}

/* 6. OVERRIDES DEDICADOS PARA O PLUGIN LEL YAZO INTEGRATION */
.lel-yazo-directory {
  --lel-yazo-filter-text: #FFFFFF !important;
  --lel-yazo-filter-muted: rgba(255, 255, 255, 0.7) !important;
  --lel-yazo-filter-border: rgba(255, 255, 255, 0.12) !important;
  --lel-yazo-filter-input: #1D1D1B !important;
  --lel-yazo-filter-bg: transparent !important;
  --lel-yazo-filter-badge: rgba(255, 255, 255, 0.12) !important;
  --lel-yazo-filter-reset: rgba(255, 255, 255, 0.08) !important;
  --lel-yazo-accent: #1478BD !important;
  --lel-yazo-accent-contrast: #FFFFFF !important;
  --lel-yazo-accent-hover: #198de0 !important;
  --lel-yazo-accent-hover-contrast: #FFFFFF !important;
  
  font-family: var(--font-primary) !important;
}

/* Sidebar de filtros */
.lel-yazo-filter-sidebar {
  background: var(--color-bg-sidebar) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 1.75rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

.lel-yazo-filter-title {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-display) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.85rem !important;
}

/* Campo de busca */
.lel-yazo-directory input.lel-yazo-filter-search {
  background: #1D1D1B !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  font-family: var(--font-primary) !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.lel-yazo-directory input.lel-yazo-filter-search:focus {
  border-color: #1478BD !important;
  box-shadow: 0 0 12px rgba(20, 120, 189, 0.4) !important;
}

/* Botões de Categorias (Trilhas) */
.lel-yazo-directory button.lel-yazo-filter-category {
  background: #1D1D1B !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 10px !important;
  font-family: var(--font-primary) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem !important;
  transition: all 0.2s ease !important;
}

.lel-yazo-directory button.lel-yazo-filter-category:hover,
.lel-yazo-directory button.lel-yazo-filter-category.is-active {
  background: rgba(20, 120, 189, 0.2) !important;
  border-color: #1478BD !important;
  color: #FFFFFF !important;
}

.lel-yazo-directory button.lel-yazo-filter-category strong {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 0.75rem !important;
}

/* Reset / Limpar Filtros */
.lel-yazo-directory button.lel-yazo-filter-reset {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.lel-yazo-directory button.lel-yazo-filter-reset:hover {
  background: rgba(220, 38, 38, 0.2) !important;
  border-color: #ef4444 !important;
  color: #FFFFFF !important;
}

/* Contagem de Resultados */
.lel-yazo-directory .lel-yazo-result-count {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

/* Cards de Palestrantes */
.lel-yazo-grid {
  gap: 1.5rem !important;
}

.lel-yazo-card {
  height: 420px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  background: #17181C !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.lel-yazo-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(20, 120, 189, 0.35) !important;
  border-color: rgba(20, 120, 189, 0.6) !important;
}

.lel-yazo-card .lel-yazo-name {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.lel-yazo-card .lel-yazo-role {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.4 !important;
}

.lel-yazo-card .lel-yazo-pill {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
}

/* Página individual de perfil */
.lel-yazo-profile-page {
  color: #FFFFFF !important;
}

.lel-yazo-profile-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #1478BD !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  margin-bottom: 2rem !important;
  padding: 8px 16px !important;
  background: rgba(20, 120, 189, 0.12) !important;
  border: 1px solid rgba(20, 120, 189, 0.3) !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.lel-yazo-profile-back:hover {
  background: rgba(20, 120, 189, 0.25) !important;
  color: #FFFFFF !important;
  transform: translateX(-4px) !important;
}

.lel-yazo-profile-aside {
  background: #17181C !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.lel-yazo-profile-main h1 {
  font-family: var(--font-display) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
}

.lel-yazo-profile-activities {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.lel-yazo-profile-activities h2 {
  font-family: var(--font-display) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

/* 7. FOOTER OFICIAL V2 */
.footer-v2 {
  background: #0E0F12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-v2 h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-v2 ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-v2 ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-v2 ul li a:hover {
  color: var(--color-mundo-itaipu);
}

.footer-legal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-bar a:hover {
  color: #FFFFFF;
}

.footer-legal-sep {
  opacity: 0.3;
}

.footer-copyright-v2 {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
  .footer-grid-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 575px) {
  .footer-grid-v2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-legal-sep {
    display: none;
  }
}

/* 8. BOTÃO CARREGAR MAIS PALESTRANTES */
.lel-yazo-load-more-wrap {
  display: flex !important;
  justify-content: center !important;
  margin-top: 3.5rem !important;
  padding-bottom: 2rem !important;
  width: 100% !important;
}

.lel-yazo-directory button.lel-yazo-load-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 15px 42px !important;
  background: linear-gradient(135deg, #1478BD 0%, #00A59B 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  font-family: var(--font-primary) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(20, 120, 189, 0.4) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.lel-yazo-directory button.lel-yazo-load-more:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(20, 120, 189, 0.6) !important;
  filter: brightness(1.1) !important;
}

.lel-yazo-directory button.lel-yazo-load-more:active {
  transform: translateY(-1px) !important;
}

/* 9. GRAFISMO DA PÁGINA DE PERFIL GRUDADO NA LINHA DO FOOTER */
.fii-page-content.is-profile-page {
  padding-bottom: 0 !important;
  position: relative !important;
}

.fii-page-content.is-profile-page .container {
  position: relative !important;
}

.lel-yazo-profile-page {
  position: relative !important;
  padding-bottom: clamp(5.5rem, 9vw, 8rem) !important;
}

.lel-yazo-profile-page::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: var(--lel-yazo-profile-edge-right, calc((100% - 100vw) / 2)) !important;
  width: min(100vw, 720px) !important;
  aspect-ratio: 404.51 / 35.401 !important;
  background-image: url('assets/images/base_Iniva.svg') !important;
  background-position: right bottom !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  pointer-events: none !important;
  transform: translateY(1px) !important;
  z-index: 2 !important;
}

@media (max-width: 768px) {
  .lel-yazo-profile-page::after {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: 720px !important;
    margin-inline: auto !important;
    background-position: center bottom !important;
  }
}
