/* Aplicando a fonte Montserrat em todo o site */
body {
    font-family: 'Montserrat', sans-serif;
}



/* Caso queira aplicar a fonte em outros elementos, você pode especificar por exemplo */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.btn-branco{
 border: #ffffff solid 1px;
 border-radius: 0px;
 color: #ffffff;
}


.btn-branco:hover{
 border: #ffffff solid 1px;
 border-radius: 0px;
 color: #f39200;
 background-color: #ffffff;
}


/* social media */
.social-icons {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 10px;
}

/* Estilo para cada ícone */
.social-icon {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 0px;
    padding: 12px;
    color: #fff;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    line-height: 50px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none !important;
}

/* Hover */
.social-icon:hover {
   color: #ff890a;
   transform: scale(1.1);
}

/* Cores de fundo */
.social-icon.facebook,
.social-icon.instagram,
.social-icon.linkedin {
    background-color: #000;
}

/* Ajustes para telas pequenas (responsivo) */
@media (max-width: 768px) {
    .social-icons {
        top: 50%;
        gap: 10px; /* Menor espaçamento entre ícones */
        padding-left: 5px; /* Menor margem à esquerda */
    }

    .social-icon {
        width: 35px; /* Reduz largura */
        height: 35px; /* Reduz altura */
        font-size: 18px; /* Ícone menor */
        padding: 8px; /* Menos espaçamento interno */
        border-radius: 6px; /* Ajuste proporcional */
    }
}

/* Para telas muito pequenas (tipo celulares compactos) */
@media (max-width: 480px) {
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
        padding: 6px;
    }
}
/* Fim social media */


/* Navbar */

.nav-link {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: #ffffff !important; /* Remove a cor de fundo */
    transition: top 0.3s ease, box-shadow 0.3s ease; /* Transição suave */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-left: 5%;
    padding-right: 5%;
    height: 100px;
    /* Remove a borda */
    border-bottom: none;

    /* Adiciona a sombra na base */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Definir o comportamento inicial das links */
.nav-link {
    color: #000000 !important;
    padding: 10px !important;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    border-radius: 0px 0px 0px 0px;
}

.nav-link:hover {
    color: #f39200;
    padding: 10px !important;
    border-bottom: 2px solid #f39200;
}

.navbar-collapse{
    background-color: #ffffff;
    padding-top: 30px;
}

/* Custom hamburger button */
.custom-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 0px solid transparent !important; /* Círculo branco */
    border-radius: 50%; 
    background-color: transparent !important;
    position: relative;
    z-index: 1050;
}

/* Quando o botão está ativo (menu expandido ou clicado), sem borda e fundo */
.custom-toggler:focus, .custom-toggler:active {
    border: 0px !important;
    background-color: transparent !important; /* Fundo transparente */
    box-shadow: none !important; /* Sem sombra */
}

/* Barras do hamburger */
.toggler-bar {
    width: 25px;
    height: 3px;
    background-color: rgb(0, 0, 0);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Efeito de hover: reduz largura das barras */
.custom-toggler:hover .toggler-bar {
    width: 15px;
}

/* Ícone de fechar */
.close-icon {
    display: none;
    color: white;
    font-size: 20px;
    margin-top: 10px;
    text-align: center;
}

/* Exibir o ícone de fechar quando o menu está aberto (somente em telas pequenas) */
.navbar-collapse.show .close-icon {
    display: block;
   
}

/* Responsividade: Exibir o ícone apenas em telas pequenas */
.d-lg-none {
    display: none !important;
}

@media (max-width: 991px) {
    .d-lg-none {
        display: block !important;
    }
}

/* Navbar oculta após rolar */
.navbar-hidden {
    top: -70px; /* Ajuste de acordo com a altura da sua navbar */
}

.navbar-brand img {
    height: 70px; /* tamanho padrão */
    transition: height 0.3s ease;
}

/* Em telas médias */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 55px;
    }
}

/* Em telas pequenas (celulares) */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
}



/* =========================
   HERO SECTION
========================= */


.hero {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100vh; /* ocupa a altura total da tela */
    margin-top: 100px;
    background-color: #FF8000;
}

/* Coluna da esquerda */
.hero-left {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-radius: 0px 0px 250px 0px;
    background-color: #fff;
}

.hero-left img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Coluna da direita */
.hero-marketing {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 30px;
    color: #fff;
}

.hero-marketing h2 {
    font-weight: 700;
    font-size: 2rem;
}

.hero-marketing p {
    margin-top: 20px;
    font-size: 18px;
}

.hero-marketing button {
    margin-top: 30px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0px;
    color: #fff !important;
    padding: 10px 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-marketing button a {
    color: #fff;
    text-decoration: none;
}

.hero-marketing button:hover {
    background-color: #fff;
    color: #FF8000;
    border-color: #FF8000;
}

.hero-marketing button:hover a {
    color: #FF8000;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        margin-top: 50px;
    }

    /* Coluna da esquerda em cima */
    .hero-left {
        width: 100%;
        height: 50vh; /* define uma altura menor para celulares */
        border-radius: 0;
        order: 1;
        margin-top: 50px;
        border-radius: 0px 0px 150px 0px;
    }

    /* Coluna da direita abaixo */
    .hero-marketing {
        width: 100%;
        order: 2;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }

    /* Reduz tamanhos de textos e botões */
    .hero-marketing h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-marketing p {
        font-size: 15px;
        margin-top: 15px;
    }

    .hero-marketing button {
        font-size: 14px;
        padding: 8px 18px;
        margin-top: 20px;
    }

    /* Reduz o tamanho do logo de marketing */
    .hero-marketing .marketing-logo {
        width: 350px;
        max-width: 60%;
        height: auto;
        margin-bottom: 15px;
    }
}



/* =========================
   SEÇÃO DOR
========================= */

.dor {
    background-color: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 40vh;
    padding: 50px;
}

.row {
    width: 100%;
}

.esquerda h2 {
    color: #000000;
    font-size: 3em;
    font-weight: 900;
    text-align: end;
    padding-right: 30px;
}

.direita {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 50px;
    border-left: 5px solid #000000;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {

    .dor {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        text-align: center;
    }

    .esquerda {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        height: auto;
    }

    .esquerda h2 {
        font-size: 1.8em; /* reduz o tamanho */
        line-height: 1.3;
        text-align: center; /* centraliza o texto */
    }

    .direita {
        align-items: center;
        text-align: center;
        padding: 20px;
        border-top: 5px solid #000000;
        border-left: none;
        height: auto;
    }

    .direita p {
        font-size: 1em;
        line-height: 1.4;
    }
}

/* Fim Dor */

/* divisão */

.bg-fixa {
    width: 100%;
    height: 400px; /* altura para desktop */
    background-image: url('../img/hero2.jpg');
    background-size: cover;       /* cobre toda a área */
    background-position: left;    /* posiciona a imagem à esquerda */
    background-attachment: fixed; /* imagem fixa ao rolar */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
}

/* --- Responsivo (mobile) --- */
@media (max-width: 768px) {
    .bg-fixa {
        height: 250px;                /* menor altura */
        background-position: center;  /* centraliza a imagem */
        background-attachment: scroll; /* evita falhas no iOS */
        padding: 20px;
    }
}

.bg-fixa2 {
    width: 100%;
    height: 300px; /* altura para desktop */
    background-image: url('../img/brand.jpg');
    background-size: cover;       /* cobre toda a área */
    background-position: top;    /* posiciona a imagem à esquerda */
    background-attachment: fixed; /* imagem fixa ao rolar */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
}

/* --- Responsivo (mobile) --- */
@media (max-width: 768px) {
    .bg-fixa2 {
        height: 250px;                /* menor altura */
        background-position: left;  /* centraliza a imagem */
        background-attachment: fixed; /* evita falhas no iOS */
        padding: 20px;
    }
}

.bg-fixa3 {
    width: 100%;
    height: 600px; /* altura para desktop */
    background-image: url('../img/bg-divisao3.jpg');
    background-size: cover;          /* cobre toda a área */
    background-position: top center; /* imagem centralizada horizontalmente e colada no topo */
    background-attachment: fixed;    /* imagem fixa ao rolar */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    position: relative;
}

.textos {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7) !important;
    padding: 50px;
}

.textos h2 {
    font-size: 3em;
    font-weight: 900;
}

.textos p {
    font-size: 1.6em;
    font-weight: 400;
}

/* --- RESPONSIVIDADE --- */

/* Tablets */
@media (max-width: 992px) {
    .bg-fixa3 {
        height: 450px;
        background-attachment: scroll; /* melhora performance em mobile */
    }

    .textos {
        padding: 40px;
    }

    .textos h2 {
        font-size: 2.4em;
    }

    .textos p {
        font-size: 1.4em;
    }
}

/* Celulares */
@media (max-width: 768px) {
    .bg-fixa3 {
        height: 400px;
    }

    .textos {
        padding: 30px;
    }

    .textos h2 {
        font-size: 2em;
    }

    .textos p {
        font-size: 1.2em;
    }
}

/* Celulares muito pequenos */
@media (max-width: 480px) {
    .bg-fixa3 {
        height: 350px;
    }

    .textos {
        padding: 20px;
    }

    .textos h2 {
        font-size: 1.6em;
    }

    .textos p {
        font-size: 1em;
    }
}

/* fim divisão */

/* =========================
   SOLUÇÕES
========================= */

#solucoes {
    background-color: #ff8000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    padding: 80px;
    color: #ffffff;
}

.solucao-esquerda {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 5%;
}

.solucao-esquerda img.solucoes-svg {
    width: 100%; /* tamanho padrão para desktop */
    height: auto;
    margin-bottom: 20px;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {

    .solucoes {
        padding: 50px;
        text-align: center;
    }

    .solucao-esquerda {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .solucao-esquerda img.solucoes-svg {
        width: 350px; /* diminui o tamanho do SVG */
        height: auto;
        margin-bottom: 15px;
    }

    .solucao-esquerda p {
        font-size: 16px;
        line-height: 1.4;
    }

    .solucao-esquerda i {
        font-size: 18px;
        margin-top: 10px;
    }

    .text-center img {
        max-width: 100%;
    }

    .btn.btn-branco {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* Fim Soluções */


/* Carrossel e logotipos */
.clientes h2{
    font-size: 3em;
    font-weight: 900;
}

.client-logo {
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease; /* Transição suave para transformação e filtro */
    filter: grayscale(100%); /* Deixa os logotipos em tons de cinza por padrão */
    cursor: pointer; /* Aparece como ponteiro ao passar o mouse */
    padding: 20px; /* Espaçamento ao redor do logotipo */
    transition: transform 0.3s ease, filter 0.3s ease; /* Transição para efeito de hover */
}

/* Efeito de hover - logotipo volta à cor original */
.client-logo:hover {
    filter: grayscale(0%); /* Volta a cor original */
    transform: scale(1.05); /* Leve aumento no logotipo */
}

/* Estilização do carrossel */
#clientes-carousel {
    margin-top: 30px;
}

.carousel-inner {
    text-align: center;
}

/* Indicadores (Traços) */
.carousel-indicators {
    bottom: -30px; /* Ajusta a posição dos traços */
}

.carousel-indicators [data-bs-target] {
    width: 40px; /* Largura do traço */
    height: 3px; /* Espessura do traço */
    background-color: #3b3b3a !important; /* Cor padrão (cinza) */
    border: none;
    margin: 0 5px;
    border-radius: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Estado ativo */
.carousel-indicators .active {
    background-color: #f39200 !important; /* Cor do traço ativo */
    opacity: 1 !important;
}


/* Ajusta o carrossel para dispositivos menores */
@media (max-width: 768px) {
    .carousel-item img {
        max-width: 80%; /* Ajusta o tamanho das imagens no carrossel */
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        max-width: 60%; /* Ajusta ainda mais as imagens para dispositivos menores */
    }
}


/* fim do carrossel */

#depoimentos {
    background-color: #f9f9f9;
    padding-top: 60px;
    padding-bottom: 60px;
}

#depoimentos p {
    font-size: 1.1rem;
    color: #666;
}

.depoimento-card {
    background-color: transparent !important;
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    text-align: center;
}

.depoente-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid #ddd;
}

blockquote {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.blockquote-footer {
    font-style: italic;
    color: #888;
    margin-top: 10px;
}



/* CTA */ 

/* Estilo para alinhar o conteúdo em coluna (flex-direction: column) */
.flex-column-align {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alinha o conteúdo verticalmente no centro */
    
}

/* Botões */
.cta-button {
    background-color: transparent;
    color: white;
    border-radius: 0px;
    border: 1px solid #ffffff;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #f39200;
}

#cta {
    background-color: #ff890a; /* Cor de fundo da seção CTA */
    padding: 60px;
    color: #ffffff;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botões */
.cta-button {
    background-color: transparent;
    color: white;
    border-radius: 0px;
    border: 1px solid #ffffff;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #f39200;
}

#cta img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Borda arredondada na imagem */
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

/* Estilo responsivo: para telas menores, as colunas vão empilhar */
@media (max-width: 767px) {
    #cta .row {
        text-align: center; /* Alinha o conteúdo ao centro */
    }
    #cta img {
        margin-top: 20px; /* Adiciona um espaçamento no topo da imagem */
    }
}

/* Estilo adicional para alinhamento à esquerda e centralização */
@media (min-width: 768px) {
    .col-md-6.text-md-left {
        text-align: left; /* Alinha o texto à esquerda nas telas maiores */
    }
    .col-md-6.text-center {
        display: flex;
        justify-content: center;
        align-items: center; /* Centraliza a imagem verticalmente */
    }
}

/* fim cta */

/* footer */   
.footer {
    background-color: #111; /* ou outra cor de fundo */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.95em;
}

.footer p {
    margin: 0;
    line-height: 1.6;
}

.footer strong {
    color: #ff8000; /* cor destaque da marca */
}

/* fim footer */ 


/* Back to Top */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff8000;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;  /* Inicialmente oculto */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Exibir o botão quando rolar para baixo 100px */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Para o ícone da seta */
.back-to-top i {
    pointer-events: none;
    z-index: 1;  /* Coloca a seta sobre o SVG */
}

/* Estilo do SVG (círculo de preload) */
.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);  /* Começar a animação no topo */
}

/* Estilo do círculo */
.circle-svg circle {
    stroke-dasharray: 351.2; /* Circunferência do círculo (2 * PI * r) = 2 * 3.1416 * 56 */
    stroke-dashoffset: 351.2; /* Inicia com a borda "invisível" */
    transition: stroke-dashoffset 0.3s ease; /* Suaviza o preenchimento da borda */
}

/* Função para o efeito de borda progressiva com base no scroll */
@keyframes fill-border {
    0% {
        stroke-dashoffset: 351.2;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* FIM Back to Top */

/* cookie banner */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #cookie-banner p {
    margin: 0;
    max-width: 800px;
    line-height: 1.5;
  }

  #accept-cookies {
    background: #ff8000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
  }

  #accept-cookies:hover {
    background: #e67100;
  }

/* fim do cookie banner */

/* efeitos */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}


/* fim efeitos */

/* ======= Serviços ======= */
.container-fluid {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.container {
  max-width: 1200px;
  padding: 40px 20px;
}

/* ======= SEÇÕES ======= */
.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.image-section img {
  max-width: 90%;
  height: auto;
  transition: all 0.3s ease;
}

/* ======= GRID DE SERVIÇOS ======= */
.services-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.card-servico {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 260px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.services-grid > * {
  height: 100%;
}

.card-servico i {
  font-size: 4rem;
  color: #ff8000;
  margin-bottom: 10px;
}

.card-servico h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.card-servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* ======= Dropdown ======= */
.dropdown {
  position: relative;
  width: 100%;
}

.dropdown-btn {
  background-color: #ff8000;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.3s;
}

.dropdown-btn i {
  color: #ffffff;
  font-size: 14px;
  margin-left: 8px;
  position: relative;
  top: 2px;
  transition: transform 0.3s ease;
}

.dropdown-btn:hover {
  background-color: #f7993b;
}

.dropdown-btn.active i {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.25s ease;
}

.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  display: block;
  text-align: left;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: #ff8000;
  color: #fff;
}

.dropdown.show .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ======= Botões Contrate ======= */
.contrate-btn{
  background-color: #ff8000;
  color: #ffffff;
  border-radius: 0;
}

.contrate-btn:hover{
  background-color: #f7993b;
  color: #ffffff;
}

/* Modais */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
  animation: fadeInModal 0.3s ease;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  position: relative;
  animation: slideUp 0.3s ease;
}

.close {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: #ff8000;
  color: #fff;
  padding: 15px;
  transition: color 0.3s;
}

.close:hover {
  color: #333;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ======= Responsividade ======= */
@media (max-width: 992px) {
  .services-grid { gap: 20px; }
  .image-section img { max-width: 90%; }
}

@media (max-width: 768px) {
  .image-section img { max-width: 80%; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; gap: 15px; }
  .card-servico { padding: 20px 15px; }
  .card-servico h4 { font-size: 1rem; }
  .dropdown-content a { font-size: 0.85rem; padding: 8px 10px; }
  .image-section img { max-width: 70%; }
  .modal-content { width: 95%; padding: 20px; }
}

/* ======= Portfolio ======= */
.gallery {
   background-color: #F6F9F5;
   padding: 20px;
}

.gallery-item-wrapper {
   position: relative;
   overflow: hidden;
   border-radius: 0px;
}

.gallery-item {
   width: 100%;
   box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
   transition: transform 0.3s ease, filter 0.3s ease;
   cursor: pointer;
}

.gallery-item:hover {
   transform: scale(1.1);
   filter: brightness(0.7);
}

.overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0,0,0,0.5);
   display: flex;
   justify-content: center;
   align-items: center;
   opacity: 0;
   transition: opacity 0.3s ease;
   border-radius: 0px;
}

.gallery-item-wrapper:hover .overlay { opacity: 1; }

.title {
   color: white;
   font-size: 24px;
   text-align: center;
   font-weight: bold;
}

/* ======= Modal Fullscreen Customizado ======= */
#gallery-modal .modal-dialog {
    max-width: none;        /* remove limite do Bootstrap */
    width: 100%;            /* ocupa toda a largura */
    height: 100%;           /* ocupa toda a altura da tela */
    margin: 0;              /* remove margin padrão */
    display: flex;          /* ativa flexbox */
    align-items: center;    /* centraliza verticalmente */
    justify-content: center; /* centraliza horizontalmente */
}

#gallery-modal .modal-content {
    background: transparent; /* sem fundo branco */
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 95%;          /* deixa um pouco de espaço nas laterais */
}

#gallery-modal .modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#gallery-modal .modal-img {
    width: 90vw;             /* ocupa 90% da largura da tela */
    max-width: 900px;        /* tamanho natural da imagem */
    height: auto;            /* mantém proporção 900x600 */
    max-height: 80vh;        /* não ultrapassa altura da tela */
    object-fit: contain;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;     /* espaço para o título */
}

#modal-title {
    color: white;
    text-align: center;
    font-size: 1.2rem;
}

/* Botões de navegação */
#prev-img, #next-img {
   background: rgba(0,0,0,0.5);
   border: none;
   color: white;
   font-size: 2rem;
   width: 50px;
   height: 60px;
   cursor: pointer;
   z-index: 1000;
   transition: background 0.3s;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
}

#prev-img { left: 10px; }
#next-img { right: 10px; }

#prev-img:hover, #next-img:hover {
   background: rgba(0,0,0,0.8);
}


