@font-face {
    font-family: 'TituloBannerPrincipal';
    src: local('TT Interphases Pro Trial DemiBold'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Interphases Pro';
    src: local('TT Interphases Pro DemiBold'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Interphases Pro';
    src: local('TT Interphases Pro Medium'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Interphases Pro';
    src: local('TT Interphases Pro Light'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Interphases Pro';
    src: local('TT Interphases Pro Regular'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Interphases Pro';
    src: local('TT Interphases Pro Variable'),
        url('../../assets/fontes_red/Fonte_textos_TT_Interphases/TT-Interphases-Pro-Trial-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
}

/* PADROES DE COR RED4IT */
.bg-white-red4it {
    background-color: #e8e8e8;
}

.text-danger-red4it {
    color: #cc0828 !important;
}

.text-servico {
    color: #B6B6B6 !important;
}

.bg-danger-red4it {
    background-color: #cc0828 !important;
}

.text-banner-principal {
    color: #c7c7c7 !important;
}

.text-titulo-pagina {
    color: #1a1a1a !important;
}

.text-textos-corpo {
    color: #585858 !important;
}

.bg-cliente-2 {
    background-color: #1a1a1a !important;
}

.btn-black-red4it {
    background-color: #1a1a1a !important;
    color: #c7c7c7 !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 0.5rem;
    border-top-right-radius: 0;
}

.btn-black-red4it:hover {
    background-color: #cc0828 !important;
    color: #c7c7c7 !important;
    border-color: #c7c7c7 !important;
}

.btn-danger-red4it {
    background-color: #cc0828 !important;
    color: #e9e9e9 !important;
    border: 1px solid #cc0828 !important;
    border-radius: 0.5rem;
    border-top-right-radius: 0;
}

.btn-danger-red4it:hover {
    background-color: #1a1a1a !important;
}

.btn-black-red4it {
    background-color: #1a1a1a !important;
    color: #e9e9e9 !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 0.5rem;
    border-top-right-radius: 0;
}

.btn-black-red4it:hover {
    background-color: #cc0828 !important;
}

.btn-black-red4it-news {
    background-color: transparent !important;
    color: #919191 !important;
    border: 1px solid #5e5e5e5c !important;
    /* border-radius: 0.5rem; */
    border-top-right-radius: 0;
    padding: 6px 17px !important;
    transition: 0.4s !important;
}

.btn-black-red4it-news:hover {
    background-color: #cc0828 !important;
    color: #c7c7c7 !important;
    border: 1px solid #5e5e5e5c !important;
    transition: 0.4s !important;
}

.BotoesRed {
    font-family: 'BotoesRed', sans-serif !important;
}

.TituloBannerPrincipal {
    font-family: 'TituloBannerPrincipal', sans-serif !important;
}

.TituloBannerPrincipalBold {
    font-family: 'TituloBannerPrincipalBold', sans-serif !important;
}

.SubtituloBannerPrincipal {
    font-family: 'SubtituloBannerPrincipal', sans-serif !important;
}

.TextosPagina {
    font-family: 'TextosPagina', sans-serif !important;
}

.TitulosPagina {
    font-family: 'TitulosPagina', sans-serif !important;
}

/* MENU DO SITE */

.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    color: #000;
    /* mantém a cor do texto */
    text-decoration: none;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    /* 10px abaixo do texto */
    width: 100%;
    height: 4px;
    /* espessura da linha */
    background-color: transparent;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    background-color: red;
    /* apenas o traço fica vermelho */
}

/* MENU DO SITE */
.bg-image-newslatter {
    background-image: url('../../assets/imagens/Fundo_newsletter.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
    margin: 0 1250px 0 1250px
}

.card {
    background-color: #222;
    border: none;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.svg-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    fill: white;
    color: aliceblue;
}

.card-body {
    padding: 15px;
}

.btn-custom {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
}

.btn-custom:hover {
    background-color: white;
    color: black;
}

.cursorP {
    cursor: pointer !important;
    /* Padrão para todos os navegadores */
}

.card {
    height: 100%;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: space-between;
}

.mt-auto {
    margin-top: auto;
    /* Empurra o botão para baixo */
}

.carousel-item-clientes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.carousel-item-clientes img {
    width: 305px;
    height: 100px;
    object-fit: contain;
}

#btnTopo {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: none;
    z-index: 1000;
}

section {
    height: auto !important;
}

.auto {
    height: auto !important;
    width: auto !important;
}

.custom-justify {
    text-align: justify;
}

.linkRed a {
    color: #272727 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 20px !important;
    transition: 0.3s !important;
}

.linkRed a:hover {
    color: #fd3838 !important;
    transition: 0.3s !important;
}

.custom-rounded {
    border-radius: 0.5rem;
    /* arredondado padrão */
    border-top-right-radius: 0;
    /* remove arredondamento do canto superior direito */
}

.carousel-caption {
    top: 50%;
    left: 12%;
    transform: translateY(-50%);
    text-align: left;
    opacity: 0;
    animation: slideInRight 3s ease forwards 0.1s;
}

.banner-servicos {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../assets/imagens/servicos/banner_servicos.jpg') center/cover no-repeat;
    height: 50vh;
    position: relative;
}


.banner-servicos .container {
    position: relative;
    z-index: 2;
}

ul li {
    padding: 8px 0 !important;
    /* Aumenta altura clicável verticalmente */

    cursor: pointer;
    /* Mostra que é clicável */
}

.hover-card {
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 1px solid #3c3c3c;
    cursor: pointer;
    color: #fff;
}

.hover-card:hover {
    border-color: #fd3838 !important;
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.hover-card:hover .bi,
.hover-card:hover h5 {
    color: #fd3838 !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate(50%, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}


/* Ajuste do banner no mobile */
.carousel-item img {
    height: 60vh;
    object-fit: cover;
    width: 100%;
}



/* Ajuste do banner no mobile */

.icon-bg {
    background-color: black;
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Clientes rotativo */
.carousel-clientes {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background-color: white;
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scrollClientes 60s linear infinite;
    width: max-content;
}

.cliente-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cliente-logo img {
    max-height: 60px;
    width: auto;
    /* filter: grayscale(100%); */
    /* opacity: 0.7; */
    /* transition: filter 0.3s, opacity 0.3s; */
}

.cliente-logo img:hover {
    /* filter: grayscale(0%);
    opacity: 1; */
}

@keyframes scrollClientes {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Clientes rotativo */


.parceiro-card {
    max-width: 200px;
    /* ou 120px se quiser mais compacto */
    padding: 0.5rem;
    border-radius: 12px;
    margin: auto;
    /* box-shadow: 0 5px 10px rgba(0,0,0,0.08); */
}

.parceiro-img {
    max-width: 220px;
    max-height: 110px;
    object-fit: contain;
}

/* Seção com imagem de fundo e texto sobreposto */


/* Camada escura para melhor legibilidade */
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Garante que o conteúdo fique acima da camada escura */
.hero-banner .container {
    position: relative;
    z-index: 2;
}

/* Parágrafo em tom mais claro */
.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

.boxMapa {
    height: 550px;
    position: relative;
}

.imgMapa {
    position: absolute;
    top: -23px;
    left: -90px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 70vh;
    }

    .ajusteTextoBanner {
        top: 250px !important;
    }

    .boxMapa {
    height: inherit;
    position: inherit;
    }

    .imgMapa {
        position: inherit;
        top: inherit;
        left: inherit;
    }
}
#corrigeImagemEditor img {
    max-width: 100%;
    height: auto;
}



/* ************************servicos**************************** */
  .carousel-item-servicos img {
    width: 100%;
    max-height: 500px;       /* Aumenta imagem */
    object-fit: contain;     /* Evita corte */
    padding: 10px;
    display: block;
    margin: 0 auto;
  }

  @media (max-width: 768px) {
    .carousel-item-servicos img {
      max-height: 300px;     /* Ajusta em telas pequenas */
    }
  }

  .carousel-control-custom-servicos {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  }

  .carousel-control-prev-custom-servicos {
    left: 10px;
  }

  .carousel-control-next-custom-servicos {
    right: 10px;
  }

  .carousel-control-custom-servicos i {
    font-size: 1.5rem;
  }

.carousel-control-prev-custom-servicos {
    left: -45px; /* Espaço à esquerda */
}

.carousel-control-next-custom-servicos {
    right: -45px; /* Espaço à direita */
}
  
  /* ************************servicos**************************** */