body { 
    font-family: 'Poppins', sans-serif; 
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/logotipo-cafe.png') center center no-repeat;
    background-size: 1000px; /* Ajuste o tamanho aqui */
    opacity: 0.05; /* Transparência da marca d'água */
    z-index: 0;
    pointer-events: none; /* Permite clicar nos elementos abaixo */
}

body > * {
    position: relative;
    z-index: 1;
}
.hero {
   /* background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/capa-cafe.jpg') center/cover no-repeat;
    color: white; 
    height: 90vh; */
}

.btn { 
    background-color: #3F9357;
    border: none;
    border-radius: 50px;
    padding: 15px;
}
.bi { 
   color: #3F9357;
}

.bi-exclamation-triangle-fill { color: #FFCC00;}

.section-title { margin-bottom: 2rem; font-weight: 600; }
footer { background: #313131; color: #3F9357; padding: 2rem 0; text-align: center; }

.navbar-principal{
    height: 70px;
}
.navbar-brand b{
    color: #3F9357;
}
.navbar-brand{
    font-size: 16pt;
    font-weight: bold;
}

.navbar-nav li a{
    color: #3F9357;
}
.card {
    border-radius: 20px;
    border: none;
}
.card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
  }

/* Slider Parcerias */
.slider {
    height: 100px;
    position: relative;
    width: 100%;
  }
  
  .slide-track {
    display: flex;
    width: calc(150px * 8); /* 8 logos */
    animation: scroll 20s linear infinite;
    align-items: center;
  }
  
  .slide-track img {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  
  .slide-track img:hover {
    filter: none;
  }
  
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Animações em Zig-Zag */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-slide-left {
  animation: slideInLeft 1.2s ease both;
}
.animate-slide-right {
  animation: slideInRight 1.2s ease both;
}

/* Diferenciais - descrição refinada */
.diferencial-desc {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Missão estilizada */
.missao-desc {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero typewriter + animação */
.cursor {
  display: inline-block;
  color: #0f0;
  animation: blink 1s steps(2, start) infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.fade-in {
  animation: fadeIn 2s ease-in 1 forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Cor personalizada no botão mobile */
.custom-toggler {
  border-color: #198754; /* Verde Bootstrap */
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='green' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Quem Somos - descrição corporativa */
.quem-desc {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.75;
  color: #333;
}

.porque-desc {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
}

/* Fundo com sobreposição verde */
#porque {
  background-image: linear-gradient(rgba(0, 128, 0, 0.5), rgba(0, 128, 0, 0.5)),
                    url('../img/capa-cafe.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  position: relative;
}

#porque .bi {
  color: white;
}

#porque .bg-overlay {
  background-color: rgba(0, 128, 0, 0.5);
  backdrop-filter: blur(1px);
  z-index: 1;
}

/* Hero com vídeo de fundo */
.hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* controle de visibilidade */
  z-index: 0;
}

.overlay {
  background: rgba(0, 0, 0, 0.5); /* camada escura extra */
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

/* Cursor e typing mantidos */
.cursor {
  display: inline-block;
  color: #0f0;
  animation: blink 1s steps(2, start) infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Parcerias realçado */
.bg-parcerias {
  background-color: #1a0050;
}

.highlight-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1a0050;
  color: white;
  padding: 0.3rem 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 25px;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 0.9rem;
  font-size: 1.8rem;
  z-index: 1000;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Botão com efeito de pulsação contínua */
.btn-pulse {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-pulse::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: -1;
  animation: pulseWave 2.5s infinite;
}

@keyframes pulseWave {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.8;
  }
}
