@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1200px;
}
body {
    font-family: 'Gilroy', sans-serif;
    background-color: #f8f8f8;
    color: #2f225f;
}
.container {
    max-width: 960px;
}
/* unvisited link */
a:link {
    text-decoration: none;
}
u {
    text-decoration: underline;
}
li, p, h4 {
    padding-bottom: 5px;
    padding-top: 5px;
}
  /* visited link */
a:visited {
    text-decoration: none;
}
  
  /* mouse over link */
a:hover {
    text-decoration: none;
}
  
  /* selected link */
a:active {
    text-decoration: none;
}
.nav {
    background-color: #ffffff;
    width: 100%;
    height: 80px;
}
.navbar {
    position: relative; /* ou fixed se for menu fixo */
    z-index: 10; /* maior que o z-index do .infos */
    width: 100%;
    height: 80px;
}
.navbar-brand {
    width: 180px;
    display: block;
}
.nav ul li {
    font-family: 'Gilroy-Bold', sans-serif;
    font-weight: 400;
}
.nav ul li {
    padding-right: 1.0rem;
    padding-left: 1.0rem;
}
.navbar-nav li {
    height: 100%;
    display: flex;
    align-items: center;
}
.navbar-nav li a {
    color: #1c1c1c;
    font-size: 14px;
}
.navbar-nav .dropdown-menu {
    background-color: #ffffff;
    --bs-dropdown-border-radius: none;
    --bs-dropdown-link-hover-bg: none;
}
.navbar-nav .dropdown-menu a {
    color: #2f225f;
}
.navbar-toggler {
    background-color: #fff;
    border-radius: 0;
    padding: 10px;
}

.nav-link:focus, .nav-link:hover {
    --bs-nav-link-hover-color: #a1a1a1;
}
.navbar-nav .dropdown-menu :hover {
    color: #aba1cf;
}
.navbar-brand-s {
    width: 30px;
    height: 30px;
    display: block;
    margin-left: 20px;
    margin-bottom: 10px;
}

.btn-orcamento {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    background: #6fa828;
    color: #fff !important;
    font-family: 'Gilroy-Bold', sans-serif;
    text-decoration: none;
    margin-left: 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-orcamento:hover {
    background: linear-gradient(90deg, #7fbf33, #5d8a1e);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.slides-desktop {
    width: 100%;
    max-height: 550px;
    z-index: 1;
    position: relative;
}
.slides-desktop.carousel-item img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

.slides-desktop .carousel-caption {
    position: absolute;
    top: 15%;
    right: 26%;
    left: auto;
    bottom: auto;
    text-align: right;
}

.slides-desktop .modification h5 {
    font-family: 'Gilroy-Bold', sans-serif;
    color: #ffffff;
    font-size: 48px;
    background-color: rgba(120, 169, 44, 0.85); /* 85% opaco */
    padding: 10px 20px;
    display: inline-block;
}
.slides-desktop .modification p {
    font-family: 'Gilroy-Medium', sans-serif;
    color: #ffffff;
    font-size: 16px;
    background-color: rgba(10, 53, 90, 0.85); /* 85% opaco */
    padding: 10px 20px;
}

.slides-desktop .carousel-caption p {
    margin-top: 10px;
    max-width: 420px;
    margin-left: auto;
}
.infos {
    margin-top: -100px;
    z-index: 2;
    position: relative;
}

.aservices {
    background-color: #ffffff;
    min-height: 130px;
    padding: 20px;
    box-shadow: 0 0px 20px 0px rgba(83, 83, 83, 0.64);

    display: flex;
    align-items: center;
    gap: 15px;

    color: #61c400;
}

.icon-info {
    width: 55px;
    height: 55px;
    fill: currentColor; /* ISSO RESOLVE */
    flex-shrink: 0;
}

.text-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aservices h3 {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    color: #61c400;
    margin: 0;
}

.aservices p {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 14px;
    color: #000;
    margin: 5px 0 0;
}

/* hover geral */
.aservices:hover {
    background-color: #85c325;
}

.aservices:hover h3,
.aservices:hover p,
.aservices:hover .icon-info {
    color: #ffffff;
}
.sobre {
    width: 100%;
    min-height: 500px;
    background-color: #f8f8f8;
    margin-top: 70px;
}
.experiencia {
    width: 100%;
    max-width: 220px;
    height: 190px;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    padding-left: 15px;
    padding-top: 20px;

     /* animação suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.experiencia:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

.experiencia h2 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
    padding-top: 20px;
}
.experiencia p {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 14px;
    color: #7b7b7b;
    margin: 0;
    padding-top: 10px;
}


.videos {
    width: 100%;
    max-width: 220px;
    height: 190px;
    background-image: url(../img/video-youtube.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    padding-left: 15px;
    padding-top: 20px;
    position: relative;

    /* animação suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.videos:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

.videos .video-link {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: block;
}

/* Container da foto (já incluído o efeito anterior) */
.regi-ceo {
    width: 100%;
    height: 190px;
    margin-top: 27px;
    background-image: url('../img/regi-ceo.png');
    background-size: 130%;
    background-position: center 10%;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.20);
}

/* Tooltip */
.regi-ceo::before {
    content: attr(data-name);
    position: absolute;
    bottom: -45px; /* distância abaixo do card */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 16px;
    font-family: 'Gilroy-medium', sans-serif;
    font-size: 14px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    transform: translate(-50%, -5px);
}

/* Triângulo da pontinha do tooltip */
.regi-ceo::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0,0,0,0.85) transparent transparent transparent;
    opacity: 0;
    transition: opacity .35s ease;
}

/* Aparecer quando passar o mouse */
.regi-ceo:hover::before,
.regi-ceo:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}


.sobre-nos {
    width: 100%;
    height: 190px;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    padding-left: 15px;
    padding-top: 20px;
    margin-bottom: 26px;
     /* animação suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.sobre-nos span {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 14px;
    color: #143855;
    text-transform: uppercase;
}

.sobre-nos h2 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 30px;
    color: #2c394e;
    padding-top: 5px;
}

.sobre-nos p {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 14px;
    color: #575757;
    padding-top: 5px;
    padding-right: 20px;
}

.experiencia-b {
    width: 100%;
    max-width: 220px;
    height: 190px;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    padding-left: 15px;
    padding-top: 20px;

     /* animação suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.experiencia-b:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

.experiencia-b h2 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 16px;
    color: #2c3a4e;
    margin: 0;
    padding-top: 20px;
}
.experiencia-b p {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 14px;
    color: #464646;
    margin: 0;
    padding-top: 10px;
}

.services {
    width: 100%;
    min-height: 700px;
    background-color: #101943;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    margin-bottom: 50px;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0; /* cobre toda a área */
    background: url('../img/bg-service.png') no-repeat 0% 10% / cover;
    opacity: 0.04; /* ajusta a transparência só da imagem */
    z-index: 0; /* fica atrás do conteúdo */
}

.services .container {
    position: relative;
    z-index: 1; 
}
.services p { text-align: left;}
.services h2 { 
    text-align: left; 
    color: #ffffff; 
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 24px;
    padding-bottom: 40px;
    padding-top: 20px;
}
/* ===============================
   CONTAINER DO CARROSSEL
================================ */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin: 40px auto 0;
  text-align: center;
}

.cards-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 20px;
  height: 260px;
}

/* ===============================
   CARDS (DESKTOP)
================================ */
.cards {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  width: max-content;
}

.card {
  position: relative;
  width: 219px;
  height: 212px;
  border-radius: 28px;
  border: none;
  overflow: visible;
  flex: 0 0 auto;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.03);
}

/* ===============================
   BALÃO DO TEXTO
================================ */
.card-body {
  background-color: #ffffff;
  position: absolute;
  width: 188px;
  height: 100px;
  border-radius: 10px;
  top: 155px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

.icon-card {
  background-color: #2c3a4e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-top: -39px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-card img {
  width: 29px;
  height: 26px;
  object-fit: contain;
}

.card-body p {
  margin: 0;
  text-align: center;
  padding-top: 15px;
  font-size: 16px;
  color: #2c3a4e;
  line-height: 1.2;
  font-family: 'Gilroy-Bold', sans-serif;
}

/* ===============================
   CONTROLES (DESKTOP)
================================ */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}

.arrow {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.arrow i {
  font-size: 14px;
  color: #fff;
}

.page-indicator {
  font-family: 'Gilroy-Bold', sans-serif;
  font-size: 16px;
  color: #ffffff;
}

/* ===============================
   RESPONSIVO (MOBILE / TABLET)
================================ */
@media (max-width: 992px) {

  .carousel-container,
  .cards-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .cards-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0;
  }

  .cards {
    transform: none !important;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .card {
    width: 260px;
    height: auto;
    scroll-snap-align: center;
  }

  .card-img-top {
    height: 180px;
  }

  .card-body {
    position: relative;
    width: 90%;
    height: auto;
    top: auto;
    left: auto;
    transform: none;
    margin: -30px auto 0;
  }

  .carousel-controls {
    display: none;
  }

  .cards-wrapper::-webkit-scrollbar {
    display: none;
  }
}



.question {
    width: 100%;
    min-height: 800px;
    overflow: visible; /* permite que o conteúdo ultrapasse se expandir */
}
.question ul {
    padding-left: 1rem;
    margin-bottom: 10px;
}
.question li {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 14px;
    color: #78a92c;
    text-transform: uppercase;
    margin-top: 70px;
}
.question .h-question {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 30px;
    color: #1c1c1c;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 30px;
}
.question-imagem {
    background-image: url('../img/questions.jpg');
    background-position: 0% 0%;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 384px;
    border-radius: 25px;
    margin-top: 30px;
}
.question-a {
    position: relative; /* mantém a posição */
    min-height: 450px;  /* altura suficiente para a imagem + título */
}
.question-b {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 76px;
}
.question-b p {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 16px;
    color: #7b7b7b;
    padding-top: 36px;
}
.accordion {
    font-size: 16px;
    padding-top: 38px;
    --bs-accordion-bg: none;
    --bs-accordion-color: #ffffff;
    --bs-border-width: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1.4rem;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-item {
    border-radius: 0;
    border-top: 1px solid rgba(212, 211, 211, 0.5);
    border-bottom: 1px solid rgba(212, 211, 211, 0.5);
}

.accordion-button {
    color: #831515;
    font-weight: 600;
}

.accordion-item h3 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 16px;
    margin: 0;
    color: #1a1a1a;
}

.accordion-item p {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 10px 0;
    color: #1a1a1a;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(158, 158, 158, 0.1);
    color: #030303;
    box-shadow: none;
}

.accordion-body {
    text-align: left;
}

/* Correção de foco */
.accordions .accordion-button:focus,
.accordions .accordion-button:active,
.accordions .accordion-button:focus-visible {
    border: none;
    box-shadow: none;
}

/* Linha colorida extra */
.accordions .accordion-item {
    border-bottom: 2px solid rgb(44, 0, 238);
}

.feedbacks {
    width: 100%;
    min-height: 600px;
    background-color: #ffffff;
}
.feedbacks-container {
    width: 100%;
    background-color: #f7f7f7;
    border-radius: 15px;
    display: inline-block;
    overflow: hidden;     /* 🔑 garante que nada saia da div */
    position: relative;
}
.feedbacks-container .logo-fundo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 154px;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;                 /* escondida por padrão */
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease; /* efeito suave */
}

.feedbacks-container:hover .logo-fundo {
    opacity: 0.05;               /* aparece só no hover */
}
.feedbacks-container > *:not(.logo-fundo) {
    position: relative;
    z-index: 1;           /* conteúdo acima da logo */
}
.title-feedback-s {
    font-family: 'Gilroy-Medium', sans-serif;
    color: #85c325;
    font-size: 14px;
    margin: 0;
    padding-top: 50px;
}
.title-feedback {
    font-family: 'Gilroy-Medium', sans-serif;
    color: #85c325;
    font-size: 14px;
    margin: 0;
    padding-top: 20px;
}
.h-feedback {
    font-family: 'Gilroy-bold', sans-serif;
    color: #003057;
    font-size: 32px;
    text-align: center;
    margin: 0;
    padding-top: 10px;
}

.icon-feedback {
    width: 80px;
    height: 80px;
    border-radius: 50%;   /* deixa circular */
    display: block;       /* importante para margin auto funcionar */
    margin: 20px auto 0;  /* 50px para baixo, centralizada horizontalmente */
}

.comentario {
    text-align: center; /* centraliza o conteúdo dentro desta div */
    padding-top: 7px;
}

.rating {
    position: relative;
    display: inline-block;
    font-size: 20px; /* tamanho das estrelas */
    color: #ccc; /* estrelas vazias */
}

.rating::before {
    content: '★★★★★';
    letter-spacing: 5px;
}

.rating::after {
    content: '★★★★★';
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #003057;
    width: calc(var(--stars) * 20%);
    letter-spacing: 5px;
}

.feedbacks-container .namesfeed {
    font-family: 'Gilroy-medium', sans-serif;
    display: block;
    color: #003057;
    font-size: 16px;
    text-align: center;
    margin: 0;
}
.feedbacks-container .nameslocal {
    font-family: 'Gilroy light', sans-serif;
    color: #9b9b9b;
    font-weight: 800;
    font-size: 14px;
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}
.feedbacks-container .namescomm {
    font-family: 'Gilroy light', sans-serif;
    color: #9b9b9b;
    font-size: 14px;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
    margin-top: 15px;
}
.footer-r {
    width: 100%;
    background-color: #001c33;
    min-height: 80px;
    font-family: 'Gilroy Light', sans-serif;
    padding: 20px 0; /* adiciona padding vertical */
}

.footer-r p {
    color: #ffffff;
    margin: 0;
}
.footer-q {
    width: 100%;
    background-color: #003058;
    font-family: 'Gilroy Light', sans-serif;
}
.footer-q .logor {
    max-width: 220px;
    filter: brightness(0) invert(1); /* transforma em branco */
    margin-top: 20px;
}
.footer-q .logor img {
    max-width: 180px; /* aumenta sem exagerar */
    height: auto;
}
.footer-q p {
    color: #ffffff;
    font-size: 14px;
}
.footer-q h4 {
    color: #ffffff;
    font-family: 'Gilroy', sans-serif;
    padding-top: 10px;
}
.footer-q .btn-success {
    width: 100%;
    max-width: 177px;
    height: 39px;
    text-align: center; 
    font-weight: 300;
    border-radius: 5px;
    margin-top: 15px;
    background-color: #78a92c;
} 
.footer-q .btn-success:hover {
    background-color: #548013;
}   
.footer-q .mapsr {
    max-width: 100%;
    height: auto;
    border: none;
    margin-top: 26px;
}
.footer-q .espaco {
    padding-left: 0; /* ajustado para responsividade */
}
.footer-q .endereco {
    width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    .footer-q .logor img {
        max-width: 200px;
    }
    .sobre {
        padding: 40px 0;
        margin-top: 0;
    }
    .infos {
    position: relative;
    z-index: 2;
    top: 0; /* sem deslocamento no mobile */
    margin-top: 50px;
    }
    .navbar {
        height: auto; /* deixa a altura automática */
    }

    .experiencia,
    .videos,
    .experiencia-b,
    .sobre-nos {
        max-width: 100%;
        height: auto;
        padding: 20px;
    }

    .sobre-nos h2 {
        font-size: 22px;
    }

    .regi-ceo {
        height: 220px;
        background-size: cover;
    
    }
    .regi-ceo,
    .aservices,
    .sobre-nos,
    .experiencia-b {
        margin-bottom: 24px;
    }
    .question {
        height: 100%;
    }
    .footer-q .logor img {
        max-width: 200px;
    }
    .footer-q .endereco {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    
}
