/* Imagem de fundo para a seção Serviços */
.bg-servicos-bg {
  background-image: url('images/pote-de-racao.png');
  background-repeat: no-repeat;
  background-size: auto 120px; /* Altura máxima da imagem */
  background-position: center bottom;
}

@media (min-width: 768px) {
  .bg-servicos-bg {
    background-position: right bottom;
    background-size: auto 220px; /* aumenta um pouco no desktop */
  }
}

@media (max-width: 480px) {
  .bg-servicos-bg {
    background-size: auto 120px; /* aumenta um pouco no desktop */
    background-position: center bottom;
  }
}

/* Card de depoimento Swiper - altura aumentada */
.swiper-slide .bg-white {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 640px) {
  .swiper-slide .bg-white {
    min-height: 470px;
  }
}
/* Efeito vidro para o header ao rolar */
.glass-header {
  background: rgba(255,255,255,0.40) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  border-color: #fff9 !important;
}
/* Background fixo no lado esquerdo para a seção hero */
#hero {
  background-image: url('images/bg-logo-hero2.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto;
  background-attachment: scroll;
  background-blend-mode: multiply;
  /* Garante que a imagem não ultrapasse o tamanho original */
  /* Para garantir que a imagem nunca estique, mantenha auto e ajuste se necessário */
}
:root {
  --body-color: #F8EBD8;
}

h1, h2, h3 {
  font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  font-weight: bolder;
}

p {
  font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  font-weight: normal;
}

.swiper-button {
    background-color: #fff;
    opacity: 0.5;
    backdrop-blur: 4px;
    padding: 30px;
    border-radius: 15px;

}

.swiper {
  position: relative;
	width: 100%;
	margin-inline: auto;
}

.swiper::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -10%;
  width: 120%;
  height: 100px;
  background: var(--body-color);
  border-radius: 100%;
  z-index: 100;
}

.swiper::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -10%;
  width: 120%;
  height: 100px;
  background: var(--body-color);
  border-radius: 100%;
  z-index: 1000;
}


/* Aumenta as margens entre seções no mobile */
@media (max-width: 640px) {
  section, .section, .bg-servicos-bg, #hero {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
}

/* Fonte Nunito */
@font-face {
    font-family: 'Nunito';
    src: url('font/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('font/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Botão fixo */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}
.animate-shake {
    animation: shake 0.7s cubic-bezier(.36,.07,.19,.97) both;
}