/* 🔝 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');
    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-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;
  }
}

/*****************************************/

    html {
        scroll-behavior: smooth;
    }

    * {
      box-sizing: border-box;
    }
  
    body {
      font-family: 'Libre Franklin', sans-serif;
      background-color: #f2f4f7;
      padding: 2rem;
      margin: 0;
    }
  
    .grid-expositores {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }
  
    .card-expositor {
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      padding: 24px;
      transition: transform 0.2s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
    }
  
    .card-expositor:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    }
  
    .logo {
      width: 100%;
      max-height: 60px;
      object-fit: contain;
      margin-bottom: 16px;
    }

    /* Exceções de logos com padding interno no arquivo original */
    .logo.logo-com-espaco {
      width: 100%;
      max-height: 160px;
      object-fit: contain;
      margin-top: -8px;
      margin-bottom: -2px;
    }
  
    /* Título do expositor */
h3 {
    margin: 0 0 12px;
    font-family: 'Exo', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #274a0f;
    text-transform: capitalize;
  }
  
  /* Estande */
  .estande {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    color: #444;
    margin-bottom: 12px;
  }
  
  .estande strong {
    color: #274a0f;
    font-weight: 600;
  }
  
  /* Descrição */
  .descricao {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    color: #555;
    line-height: 1.5;
    overflow: hidden;
    max-height: 4.5em;
    transition: max-height 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 400;
    opacity: 0.6;
  }
  
  /* Descrição expandida */
  .descricao.expandida {
    max-height: 500px;
    -webkit-line-clamp: unset;
  }
  
  /* Botão "Ver mais" */
  .ver-mais {
    background: none;
    border: none;
    color: #274a0f;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
    padding: 0;
    font-size: 0.9rem;
    display: flex;
  }
  
  /* Container de botões */
  .botoes {
    margin-top: 28px; /* Aumentado para dar espaço ao texto */
    display: flex;
    gap: 12px;
  }
  
  /* Botões */
  .botoes a, .botoes button {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }

    .botoes a:hover, .botoes button:hover {
      background-color: #e9eef5;
    }
  
    .disable {
      opacity: 0.5;
      cursor: not-allowed;
      filter: grayscale(60%);
      user-select: none;
    }
  
    .filtros-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 24px;
      justify-content: center;
      display: none;
    }
  
    .filtro-btn {
      padding: 10px 20px;
      border-radius: 15px;
      border: 1px solid #ccc;
      background-color: #fff;
      font-weight: bold;
      font-size: 0.9rem;
      color: #274a0f;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  
    .filtro-btn.active,
    .filtro-btn:hover {
      background-color: #274a0f;
      color: #fff;
      border-color: #274a0f;
    }
  
    .busca-container {
        width: 100%;
        max-width: 540px;
        margin: 0 auto 32px;
        padding: 0 16px;
        margin-bottom: 40px;
      }
      
      .busca-wrapper {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.06);
        overflow: hidden;
        transition: box-shadow 0.3s ease, border 0.3s ease;
      }
      
      .busca-wrapper:focus-within {
        box-shadow: 0 0 0 4px rgba(244, 192, 25, 0.2);
      }
      
      #buscaExpositor {
        flex: 1;
        border: none;
        padding: 12px 16px;
        font-size: 1rem;
        outline: none;
        background: transparent;
        color: #333;
        font-weight: 500;
      }
      
      #buscaExpositor::placeholder {
        color: #aaa;
        font-weight: 400;
        transition: opacity 0.2s ease;
      }
      
      #buscaExpositor:focus::placeholder {
        opacity: 0.4;
      }
      
      .busca-icone {
        background-color: #f4c019;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .busca-icone i {
        color: #fff;
        font-size: 1.2rem;
      }      
  
    /* 📱 Responsividade refinada para mobile */
    @media (max-width: 480px) {
      body {
        padding: 1rem;
      }
  
      .card-expositor {
        padding: 16px;
      }
  
      .botoes {
        flex-direction: column;
      }
  
      .botoes a, .botoes button {
        width: 100%;
      }
    }

    .descricao.vazia {
        font-style: italic;
        color: #999;
        font-weight: 400;
    }

    /*Título*/
    .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;
    }

    /*swiper*/

    .bfs-galeria-destaque {
  padding: 4rem 1rem;
  background: #f8f9fa;
  text-align: center;
}

.bfs-galeria-destaque .bfs-section-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: #274a0f;
  font-weight: 700;
}

.bfs-swiper-galeria {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.bfs-swiper-galeria .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.bfs-swiper-galeria .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bfs-swiper-galeria .swiper-slide:hover img {
  transform: scale(1.02);
}

/*FAQ*/

.bfs-faq {
  background: #fff;
  padding: 4rem 1rem;
}

.bfs-faq .bfs-container {
  max-width: 960px;
  margin: 0 auto;
}

.bfs-faq .bfs-section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #274a0f;
  margin-bottom: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  color: #1f2f16;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  transition: color 0.2s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: #274a0f;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '–';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-answer p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/*Patrocinadores*/

.bfs-patrocinadores {
  background: #f2f4f7;
  padding: 4rem 1rem;
  text-align: center;
}

.patrocinadores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.patrocinador-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  width: 100%;
}

.patrocinador-item:hover {
  transform: translateY(-4px);
}

.patrocinador-item img {
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.patrocinador-item .selo {
  font-size: 0.75rem;
  font-weight: 600;
  background: #274a0f;
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* 📱 Mobile refinado */
@media (max-width: 576px) {
  .patrocinadores-grid {
    flex-direction: column;
  }

  .patrocinador-item {
    width: 100%;
    max-width: 320px;
  }
}

    /*Padrão*/
    .pt-150 {
        padding-top: 150px;
    }
    .pb-150 {
        padding-bottom: 150px;
    }
    .pt-120 {
      padding-top: 120px;
    }
    .pb-120 {
      padding-bottom: 120px;
    }
    .pt-70 {
      padding-top: 70px;
    }
    .pb-70 {
      padding-bottom: 70px;
    }

    /*Espaçamentos*/
    .bfs-section-title {
      margin-top: 0;
      margin-bottom: 0.5rem;
    }

    .bfs-section-subtitle {
      margin-bottom: 2rem;
    }

    .filtros-container {
      margin-bottom: 2rem;
    }

    @media (max-width: 576px) {

      .bfs-section-subtitle {
        margin-bottom: 1.5rem;
      }

      .filtros-container {
        margin-bottom: 1.5rem;
      }
    }

  /*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;
  }
}

/*Sem logo*/

.logo-iniciais {
  width: 100%;
  height: 60px;
  background: #e3e4e7;
  color: #274a0f;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Exo', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}