/* CSS do bloco de carrossel de serviços */
.secao-destaque-servicos {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg, #f9f9f9);
  }
  
  .carousel-servicos {
    position: relative;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }
  
  .slide-servico {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bg);
    padding-left: 60px;
    box-sizing: border-box;
  }
  
  .slide-servico.ativo {
    opacity: 1;
    z-index: 1;
  }
  
  .conteudo-slide {
    max-width: 700px;
    text-align: left;
    padding: 20px;
    animation: fadeInLeft 1s ease forwards;
  }
  
  .icone-slide {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease forwards;
  }
  
  .titulo-slide {
    font-size: 2.3rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    transform: scaleY(1.3);
    animation: slideTitulo 1s ease forwards;
  }
  
  .slide-servico.ativo .titulo-slide {
    animation: tituloFlutuando 4s ease-in-out infinite;
  }

  .slide-servico .titulo-slide.entrando {
    animation: entrarDaDireita 0.6s ease forwards;
  }
  
  .slide-servico.ativo .titulo-slide.entrando {
    animation: entrarDaDireita 0.7s ease forwards, tituloFlutuando 5s ease-in-out infinite;
  }

  .slide-servico.ativo .texto-slide.entrando {
    animation: entrarDaDireita 0.8s ease forwards;
  }

  .texto-slide {
    font-size: 1.1rem;
    color: #444;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    animation: slideTexto 1.2s ease forwards;
  }
  
  .btn-slide {
    display: inline-block;
    background-color: #d41405;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    animation: pulseBotao 3.5s ease-in-out infinite;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .btn-slide:hover {
    transform: scale(1.07);
  }
  
  .barra-progresso {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #d41405;
    animation: barraTempo 10s linear infinite;
    width: 0%;
  }
  
  /* Animações */
  @keyframes barraTempo {
    0% { width: 0%; }
    100% { width: 100%; }
  }
  
  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes slideTitulo {
    0% { opacity: 0; transform: translateX(-60px) scaleY(0.6); }
    100% { opacity: 1; transform: translateX(0) scaleY(1.3); }
  }
  
  @keyframes slideTexto {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  @keyframes tituloFlutuando {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
  }
  
  /* Animação de entrada */
  @keyframes entrarDaDireita {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  @keyframes pulseBotao {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
  }

  @keyframes sairParaEsquerda {
    0% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-60px); }
  }
  
  .titulo-slide.saindo,
  .texto-slide.saindo {
    animation: sairParaEsquerda 0.5s ease forwards;
  }