html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
  }

body {
    font-family: 'Libre Franklin', sans-serif;
    background: #f9fafb;
  margin: 0;
  padding: 2rem 1rem;
}

.filtro-orientacao {
    text-align: center;
    font-size: 1.05rem;
    color: #444;
    margin: 2rem auto 1.5rem;
    max-width: 720px;
    line-height: 1.6;
    padding: 0 1rem;
  }
  
  .filtro-orientacao strong {
    color: #274a0f;
    font-weight: 700;
  }  

/*Filtro por auditório*/
.auditorio-filtro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filtro-btn {
  padding: 0.6rem 1.2rem;
  background-color: #fff;
  border: 2px solid #f4c019;
  color: #274a0f;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filtro-btn:hover {
  background-color: #f4c019;
  color: #1a1a1a;
}

.filtro-btn.active {
  background-color: #274a0f;
  color: #fff;
  border-color: #274a0f;
}

.timeline-section {
  max-width: 960px;
  margin: 0 auto;
}

main {
    padding: 40px 0px 80px 0px;
}

/* Container do filtro de data */
.data-filtro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 2.5rem;
  }
  
  /* Texto da label */
  .filtro-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #555;
    font-size: 1rem;
  }
  
  /* Botões do filtro de data */
  .filtro-data-btn {
    padding: 0.6rem 1.1rem;
    background-color: #fff;
    border: 2px solid #f4c019;
    color: #274a0f;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  }
  
  .filtro-data-btn:hover {
    background-color: #f4c019;
    color: #1a1a1a;
  }
  
  .filtro-data-btn.active {
    background-color: #274a0f;
    color: #fff;
    border-color: #274a0f;
  }
  
  .aviso-programacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    max-width: 700px;
    margin: 2rem auto 3.3rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid #f3c4c4;
    border-left: 6px solid #d9534f;
    border-radius: 8px;
    background-color: #fff5f5;
    color: #b32626;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.08);
}

.aviso-programacao i {
  font-size: 1.3rem;
}

.oculto {
  display: none !important;
}
  
/* 🎯 Rótulo de Auditório */
/* 🎨 Estilo base dos rótulos */
.rotulo-auditorio {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  
  /* 🌾 Auditório AIBA */
  .rotulo-aiba {
    background: linear-gradient(135deg, #175c9d, #008a5b);
  }
  
  /* 🧪 Fundação BA */
  .rotulo-fundacao {
    background: linear-gradient(135deg, #008036, #f1c730);
    color: #fff; /* contraste com amarelo */
  }
  
  /* 👟 ABAPA */
  .rotulo-abapa {
    background: linear-gradient(135deg, #0b4f9e, #f59f35);
    color: #fff;
  } 
  
  /* 🎤 ABAPA */
  .rotulo-aberta {
    background: linear-gradient(135deg, #e9b82c, #f857a6);
    color: #fff;
  }

/* Estilo base da timeline */
.timeline-dia {
    margin-bottom: 3rem;
    transition: 
      opacity 0.4s ease,
      transform 0.4s ease,
      max-height 0.4s ease,
      margin 0.4s ease,
      padding 0.4s ease;
    opacity: 1;
    transform: scale(1);
    max-height: 999px;
    overflow: hidden;
  }
  
  /* Estado oculto com transição suave */
  .timeline-dia.oculto {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
    max-height: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Animação de entrada */
  .timeline-dia.animar {
    animation: fadeInUp 0.4s ease;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }  

.timeline-dia.fade {
  opacity: 1;
  transform: scale(1);
}

.timeline-header {
  font-size: 1.4rem;
  font-weight: 700;
  color: #274a0f;
  margin-bottom: 1rem;
  border-left: 4px solid #f4c019;
  padding-left: 1rem;
  gap: 0.5rem; /* Espaço entre a data e o rótulo */
  align-items: center; /* Alinha verticalmente */
  display: flex;
  justify-content: flex-start;
}

.evento-card {
    background: #fff;
    border-left: 4px solid #f4c019;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .evento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  
  .evento-turno {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
  }
  
  .evento-info {
    font-family: 'Exo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  
  .evento-detalhes {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
  }
  
  .evento-detalhes::before {
    content: "•";
    font-weight: bold;
    color: #f4c019;
  }  

@media (max-width: 600px) {
    .timeline-dia {
      padding: 1rem;
    }
  
    .timeline-header {
      font-size: 1.2rem;
      margin-bottom: 1rem;
      text-align: center;
    }
  
    .evento-card {
      padding: 1rem;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      margin-bottom: 1.2rem;
      background-color: #fff;
      transition: transform 0.2s ease;
    }
  
    .evento-card:hover {
      transform: scale(1.01);
    }
  
    .evento-turno {
      font-size: 0.95rem;
      font-weight: 600;
      color: #006837;
      margin-bottom: 0.3rem;
    }
  
    .evento-info {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      line-height: 1.4;
    }
  
    .evento-detalhes {
      font-size: 0.9rem;
      line-height: 1.5;
      color: #444;
    }
  }

/* 🔝 Cabeçalho */
/* 🌐 BASE GERAL */
.bfs-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
  }
  
  .bfs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
  }
  
  .bfs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .bfs-logo img {
    height: 75px;
    transition: height 0.3s ease;
  }
  
  .bfs-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  .bfs-nav a {
    text-decoration: none;
    color: #1a1a1a;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
  }
  
  .bfs-nav a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background: #f4c019;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
  }
  
  .bfs-nav a:hover::after {
    width: 100%;
  }
  
  .bfs-nav a:hover {
    color: #274a0f;
  }
  
  .bfs-cta {
    background: #f4c019 !important;
    color: #1a1a1a !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: background 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(244, 192, 25, 0.2) !important;
  }
  
  .bfs-cta:hover {
    background: #e6b800;
  }
  
  /* 📱 BOTÃO MENU MOBILE */
  .bfs-menu-toggle {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #1a1a1a;
    display: none;
    cursor: pointer;
  }
  
  /* 📱 RESPONSIVO (≤768px) */
  @media (max-width: 768px) {
    .bfs-logo img {
      height: 44px;
    }
  
    .bfs-menu-toggle {
      display: block;
    }
  
    .bfs-nav {
      display: none;
      flex-direction: column;
      background: #fff;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      padding: 1rem 2rem;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
      border-bottom: 1px solid #eee;
      z-index: 999;
    }
  
    .bfs-nav.open {
      display: flex;
    }
  
    .bfs-nav a {
      padding: 0.75rem 0;
      font-size: 1.05rem;
    }
  
    .bfs-cta {
      width: 100%;
      text-align: center;
      margin-top: 8px;
    }
  }
  
/****************************************/

/* 🔝 Cabeçalho */
/* 🌐 BASE GERAL */
.bfs-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
  }
  
  .bfs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
  }
  
  .bfs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .bfs-logo img {
    height: 75px;
    transition: height 0.3s ease;
  }
  
  .bfs-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  .bfs-nav a {
    text-decoration: none;
    color: #1a1a1a;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
  }
  
  .bfs-nav a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background: #f4c019;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
  }
  
  .bfs-nav a:hover::after {
    width: 100%;
  }
  
  .bfs-nav a:hover {
    color: #274a0f;
  }
  
  .bfs-cta {
    background: #f4c019 !important;
    color: #1a1a1a !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: background 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(244, 192, 25, 0.2) !important;
  }
  
  .bfs-cta:hover {
    background: #e6b800;
  }
  
  /* 📱 BOTÃO MENU MOBILE */
  .bfs-menu-toggle {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #1a1a1a;
    display: none;
    cursor: pointer;
  }
  
  /* 📱 RESPONSIVO (≤768px) */
  @media (max-width: 768px) {
    .bfs-logo img {
      height: 44px;
    }
  
    .bfs-menu-toggle {
      display: block;
    }
  
    .bfs-nav {
      display: none;
      flex-direction: column;
      background: #fff;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      padding: 1rem 2rem;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
      border-bottom: 1px solid #eee;
      z-index: 999;
    }
  
    .bfs-nav.open {
      display: flex;
    }
  
    .bfs-nav a {
      padding: 0.75rem 0;
      font-size: 1.05rem;
    }
  
    .bfs-cta {
      width: 100%;
      text-align: center;
      margin-top: 8px;
    }
  }
  

/*Breadcrumb*/

.bfs-breadcrumb {
    background: #f5f7fa;
    padding: 16px 32px;
    font-size: 0.95rem;
    color: #274a0f;
    border-bottom: 1px solid #dbe3eb;
  }
  
  .breadcrumb-nav ol {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
  
  .breadcrumb-nav li {
    display: flex;
    align-items: center;
    color: #274a0f;
  }
  
  .breadcrumb-nav li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #a0a6ad;
    font-weight: 500;
  }
  
  .breadcrumb-nav a {
    text-decoration: none;
    color: #274a0f;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .breadcrumb-nav a:hover {
    color: #f4c019;
  }
  
  .breadcrumb-nav .current {
    color: #888;
    font-weight: 500;
    cursor: default;
  }
  

/* 🎯 Banner BFS com background-image */
.bfs-banner-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 48px;
    background-image: url('https://bahiafarmshow.com.br/wp-content/uploads/2025/05/banner-2025-scaled.webp'); /* substitua pelo caminho correto */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: clamp(320px, 45vh, 540px);
  }
  
  .bfs-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 70%);
    display: flex;
    align-items: center;
    padding: 2.5rem 3rem;
    color: #fff;
    z-index: 2;
  }
  
  .bfs-banner-content {
    max-width: 600px;
    animation: fadeInLeft 1s ease forwards;
  }
  
  .bfs-banner-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
  }
  
  .bfs-banner-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 1.8rem;
    color: #f3f3f3;
    line-height: 1.5;
  }

  .bfs-section-title span {
    border-bottom: 2px solid #f4c019 ;
  }
  
  .bfs-banner-btn {
    background-color: #f4c019;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
  }
  
  .bfs-banner-btn:hover {
    background-color: #e5b100;
    color: #111;
  }
  
  /* 📱 Responsivo */
  @media (max-width: 768px) {
    .bfs-banner-overlay {
      padding: 2rem;
      justify-content: flex-end;
      background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.1) 90%);
    }
  
    .bfs-banner-wrapper {
      height: 440px; /* Ajuste fixo seguro para mobile */
    }
  
    .bfs-banner-content {
      max-width: 100%;
    }
  
    .bfs-banner-title {
      font-size: 1.6rem;
    }
  
    .bfs-banner-subtitle {
      font-size: 1rem;
    }
  
    .bfs-banner-btn {
      font-size: 0.95rem;
      padding: 0.65rem 1.25rem;
    }
  }
  
  /* 🎞️ Animação */
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  

/* 🦶 Rodapé */
.bfs-footer {
  background: #274a0f;
  color: #fff;
  padding: 3rem 2rem 2rem;
  border-radius: 15px;
  line-height: 1.6;
}

.bfs-footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.bfs-footer-col {
  flex: 1 1 250px;
}

.bfs-footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: 'Exo', sans-serif;
  font-weight: 600;
}

.bfs-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bfs-footer-col ul li {
  margin-bottom: 0.25rem;
}

.bfs-footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.bfs-footer-logo {
  height: 100px;
  margin-bottom: 1rem;
}

.bfs-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 2rem;
  opacity: 0.6;
}

/* 📱 Responsivo */
@media (max-width: 768px) {
  .bfs-header-inner,
  .bfs-footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .bfs-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .bfs-nav a {
    padding: 0.25rem 1rem;
  }
}


  /*upstart*/
  .upstart-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: fit-content;
    overflow: hidden;
    color: #fff;
    font-size: 0.875rem;
    position: relative;
}
.desenvolvedor-upstart span {
  font-size: 0.875rem;
}

.upstart-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.5s ease;
}

.upstart-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover: expande e revela o texto + anima o ícone */
.upstart-badge:hover .upstart-icon {
  transform: rotate(360deg);
}
.upstart-badge:hover .upstart-text {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile: mantém label visível */
@media (max-width: 576px) {
  .upstart-text {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  .upstart-badge {
    margin: auto;
  }
}

/*footer creditos*/

.bfs-footer-bottom {
    background: #00000047;
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: #fff;
    /* border: 1px solid #ffffff4a; */
    border-radius: 15px;
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  opacity: 0.7;
}

.upstart-badge {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.upstart-badge:hover {
  opacity: 1;
}

.upstart-icon {
  height: 20px;
  width: auto;
}
@media (max-width: 576px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/*Título*/
.heading {
    margin-bottom: 2.5rem;
}
.bfs-section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #274a0f;
    margin-bottom: 8px;
    font-family: 'Exo', sans-serif;
}

    .bfs-section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 500;
}
section.patrocinadores img {
  max-width: 100%;
  object-fit: fill;
}

.bfs-partners {
  background: #fef9ee;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.bfs-container {
  max-width: 1280px;
  margin: 0 auto;
}

.bfs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.bfs-row.single {
  justify-content: center;
}

.bfs-item {
  width: 160px;
  text-align: center;
}

.bfs-item.wide {
  width: 100%;
  max-width: 420px;
}

.bfs-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.bfs-item p {
  font-size: 14px;
  color: #444;
}

/* Responsividade */
@media (max-width: 768px) {
  .bfs-item {
    width: 45%;
  }

  .bfs-item.wide {
    width: 100%;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .bfs-item {
    width: 100%;
    max-width: 280px;
  }

  .bfs-row {
    gap: 20px;
  }
}
.bfs-row.destaque {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.bfs-row.destaque .bfs-item {
  width: 160px;
  text-align: center;
}

.bfs-row.destaque .bfs-item img {
  max-width: 100%;
  max-height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
}

.bfs-row.destaque .bfs-item p {
  font-size: 14px;
  color: #444;
}

/* Responsivo */
@media (max-width: 768px) {
  .bfs-row.destaque .bfs-item {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .bfs-row.destaque .bfs-item {
    width: 100%;
    max-width: 280px;
  }
}
