@font-face {
  font-family: "Poppins";
  src: url(assets/fontes/Poppins-Regular.ttf);
}

@font-face {
  font-family: "PoppinsBold";
  src: url(assets/fontes/Poppins-Bold.ttf);
}

@font-face {
  font-family: "PoppinsMedium";
  src: url(assets/fontes/Poppins-Medium.ttf);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

button {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

button:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

html,
body {
  font-family: "Poppins";
  background-color: #fffbf1;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.carrossel-btn:focus,
.carrossel-btn:active {
  background-color: rgba(255, 255, 255, 0.8) !important;
  color: #354227 !important;
  outline: none;
}

.navbar {
  background-color: #354227;
  padding: 1rem;
}

.navbar>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar picture {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
  margin-left: 80px;
}

.nav-icone {
  margin-left: auto;
  display: flex;
}

.btninsta:hover {
  transform: translateY(-0.6px);
}

.btnwpp:hover {
  transform: translateY(-0.6px);
}

.btninsta:active {
  transform: scale(0.97);
}

.btnwpp:active {
  transform: scale(0.97);
}

.nav-icone img {
  width: 35px;
  cursor: pointer;
}

.nav-icone picture:first-child img {
  margin-right: 12px;
}

.header {
  position: relative;
  padding: 150px 1rem 2rem 1rem;
  min-height: calc(100vh - 80px);
  flex-basis: 50%;
  background-image: url("assets/imagens/Fundo.jpg");
  background-image: image-set(url("assets/imagens/Fundo.avif") type("image/avif"),
      url("assets/imagens/Fundo.webp") type("image/webp"),
      url("assets/imagens/Fundo.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

header h1 {
  font-family: "PoppinsBold";
  font-size: 70px;
  color: #354227;
  margin: 0 0 28px 0;
  text-align: center;
}

h1 {
  font-family: "PoppinsBold";
  font-size: 70px;
  color: #354227;
  margin-top: 150px;
  margin-bottom: 28px;
  text-align: center;
}

.header p {
  font-family: "Poppins";
  font-size: 38px;
  color: #354227;
  line-height: 43px;
  margin-bottom: 65px;
  text-align: center;
}

.header button {
  background-color: #222f3d;
  border: none;
  cursor: pointer;
  padding: 20px 40px;
  border-radius: 40px;
  color: #fff;
  font-weight: 500;
  font-size: 40px;
  transition: all 0.2s;
  margin-bottom: 0zpx;
}

.header button:hover {
  background-color: #1b2630;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.header button:active {
  transform: scale(0.97);
}

.como-funciona-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.como-funciona-title {
  text-align: center;
  margin-bottom: -57.3px;
  margin-top: -65px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, auto));
  gap: 30px;
  justify-content: center;
  padding: 0 15px;
  max-width: 1300px;
  margin: 0 auto;
}

.servico-icon {
  width: 200px;
  height: auto;
  margin-bottom: -20px;
}

.servico-title {
  margin-bottom: 46.5px;
  margin-top: 74.5px;
}

.title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #222f3d;
  margin-bottom: 2rem;
}

.carrossel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.carrossel {
  display: flex;
  gap: 40px;
  padding: 0 85px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carrossel::-webkit-scrollbar {
  display: none;
}

.carrossel-item {
  position: relative;
  flex: 0 0 calc(28% - 12px);
  /* 4 imagens visíveis */
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin: 8px;
}

.carrossel-item:hover {
  transform: translateY(-4px);
}

.carrossel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.carrossel-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 16px;
}

.carrossel-item:hover .overlay {
  opacity: 1;
}

.servico-text {
  font-size: 20px;
  position: relative;
  top: 12px;
}

.overlay .bold {
  font-size: 29px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #222f3d9f;
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
  display: none;
}

.arrow:hover {
  background: #222f3dee;
  transform: translateY(-50%) scale(1.1);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.arrow.visible {
  display: block;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background: #222f3d;
}

.bold {
  font-family: "PoppinsBold";
  text-align: center;
  justify-content: center;
  margin: 0 auto;
}

.btn-servico button {
  background-color: #222f3d;
  border: none;
  cursor: pointer;
  padding: 20px 75px;
  border-radius: 40px;
  color: #fffbf1;
  font-weight: 500;
  font-size: 40px;
  transition: all 0.2s;
  margin-top: 55px;
  margin-bottom: 3px;
}

.btn-servico button:hover {
  background-color: #1b2630;
}

.btn-servico button:active {
  transform: scale(0.97);
}

.socias-title {
  margin-bottom: 53.5px;
}

.socia-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.socia-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.socia-item:nth-child(1) {
  transition-delay: 0ms;
}

.socia-item:nth-child(2) {
  transition-delay: 200ms;
}

.socia-item:nth-child(3) {
  transition-delay: 400ms;
}

.socia-item:nth-child(4) {
  transition-delay: 600ms;
}

.socia-item:nth-child(5) {
  transition-delay: 800ms;
}

.socia-item:nth-child(6) {
  transition-delay: 1000ms;
}

.socia-item img {
  width: 485px;
  height: 485px;
  border-radius: 15px;
  object-fit: cover;
}

.tipo1 {
  flex-direction: row;
  margin-left: 94px;
  margin-right: 500px;
}

.tipo2 {
  flex-direction: row;
  margin-right: -3px;
  text-align: right;
}

.socia-item p {
  font-family: "Poppins";
  font-size: 38px;
  color: #354227;
  line-height: 43px;
  margin: 0;
}

.nome {
  font-family: "PoppinsMedium";
}

.perguntas-title {
  margin-bottom: 52.5px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #f5f5f0;
}

.faq-item {
  background-color: #e0e8d8;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  font-family: "Poppins";
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #bec5a4c6;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  color: #354227;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #879873a3;
}

.faq-question.active {
  background-color: #ccd4bf;
}

.question-text {
  flex: 1;
  margin-right: 20px;
}

.faq-icon {
  font-size: 24px;
  font-weight: bold;
  color: #354227;
  transition: transform 0.3s ease;
  user-select: none;
}

.faq-icon.rotated {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #354227;
  font-family: "Poppins";
}

.faq-answer.active {
  max-height: 300px;
  padding: 20px 25px;
}

.answer-content {
  color: #fffbf1;
  font-size: 15px;
  line-height: 1.6;
}

.faq-number {
  font-weight: 600;
  margin-right: 8px;
  font-family: "PoppinsMedium";
  color: #354227;
}

footer {
  margin-top: 150px;
  background-color: #354227;
  padding: 30px 0 10px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: center;
  min-height: 200px;
}

.text-footer {
  grid-column: 1;
  grid-row: 1 / 3;
  font-family: "PoppinsMedium";
  color: #fffbf1;
  text-align: left;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.6;
  gap: 8px;
}

.text-footer .item {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fffbf1;
  text-decoration: none;
}

.icon {
  filter: invert(100%);
  width: 17px;
  height: auto;
}

footer picture {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

footer picture img {
  width: auto;
  height: 160px;
}

.copyright {
  grid-column: 2;
  grid-row: 2;
  font-size: small;
  font-family: "Poppins";
  color: #fffbf1;
  text-align: center;
  justify-self: center;
  margin-top: 10px;
}

@media (min-width: 6px) and (max-width:490px) {
  .header p {
    font-size: 23px !important;
  }

  .header button {
    padding: 16px 28px !important;
  }

  .sobre-title {
    font-size: 40px !important;
  }
}

/* Celulares */
@media (max-width: 768px) {

  .navbar {
    padding: 0.7rem;
  }

  .logo {
    height: 35px;
    margin-left: 20px;
  }

  .nav-icone {
    margin-left: auto;
  }

  .nav-icone img {
    margin-top: 3px;
    margin-bottom: -3px;
    width: 32px;
  }

  .header {
    min-height: 95vh;
    padding: 2rem 1rem;
    background-size: cover;
    background-position: right 21% top 10%;
  }
  .header button{
    border-radius: 35px;
  }
  .header h1 {
    font-size: 45px;
  }

  h1 {
    font-size: 35px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .sobre-title {
    margin-top: 135px;
  }

  .header p {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 45px;
    padding: 0 10px;
  }

  .btn-servico br {
    display: none;
  }

  .btn-servico {
    border-radius: 15px;
  }

  .header button {
    font-size: 22px;
    padding: 12px 24px;
    margin-bottom: 80px;
  }

  .servicos h2,
  .como-funciona-title {
    margin-top: 25px;
    margin-bottom: -101px;
    font-size: 36px;
  }

  /* Grid Como funciona 2x3 centralizada automaticamente */
  .servicos-grid {
    grid-template-columns: repeat(2, 150px);
    justify-content: center;
    gap: 80px 30px;
  }

  .servico-icon {
    width: 150px;
  }

  #um {
    margin-top: 48px;
    width: 152.35px;
  }

  #dois {
    margin-top: 41px;
  }

  #quatro {
    margin-top: 9.25px;
  }

  #cinco {
    margin-top: 10.5px;
  }

  .servico-title {
    margin-top: 23px;
    margin-bottom: 32px;
  }

  .bold {
    font-size: 17px;
  }

  .servico-text {
    font-size: 16px;
  }

  .overlay .bold {
    font-size: 25px;
  }

  /* Carrossel - imagem completa centralizada */
  .carrossel {
    padding: 0 20px;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .carrossel-item {
    flex: 0 0 calc(90% - 5px);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    scroll-snap-align: center;
  }

  .overlay p {
    font-size: 12px;
  }

  .btn-servico {
    margin-bottom: 40px;
  }

  .btn-servico button {
    font-size: 22px;
    padding: 12px 38px;
  }

  /* Sócia 2 com texto embaixo */
  .socia-item {
    flex-direction: column;
    text-align: center;
    margin: 0 20px 55px 20px;
  }

  .tipo2 {
    flex-direction: column-reverse !important;
    text-align: center !important;
  }

  .socia-item img {
    width: 250px;
    height: 250px;
    margin-bottom: -10px;
  }

  .socia-item p {
    font-size: 20px;
    line-height: 26px;
    padding: 0 10px;
  }

  .socias-title {
    line-height: 45px;
    margin-top: 92px;
    margin-bottom: 54px;
  }

  .perguntas-title {
    margin-top: 90px;
    line-height: 45px;
    margin-bottom: 42px;
  }

  .faq-container {
    margin: 0 auto;
    max-width: calc(100% - 40px);
  }

  .faq-question {
    padding: 15px 25px;
  }

  .answer-content {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  footer {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 10px 20px;
    margin-top: 69px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
  }

  footer img {
    order: 1;
    height: 120px;
    margin: 0 0 20px 0;
  }

  .text-footer {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    justify-content: center;
    margin-top: -10px;
    margin-right: 24px;
  }

  .copyright {
    order: 3;
    padding-bottom: 25px;
  }

  .text-footer .item .label {
    display: none;
  }

  .text-footer .icon {
    width: 23px;
    height: auto;
  }

  .text-footer .item {
    display: flex;
    gap: 10px;
    text-align: left;
  }

  .text-footer .item img.icon {
    width: 20px;
    height: 20px;
  }

}

@media (min-width: 470px) and (max-width:629px) {
  .carrossel-item {
    flex: 0 0 calc(60% - 12px);
  }
}

@media (min-width: 630px) and (max-width:767px) {

  .carrossel-item {
    flex: 0 0 calc(45% - 12px);
  }
}

@media (min-width: 560px) and (max-width:767px) {
  h1 {
    font-size: 40px;
  }

  .servicos-grid {
    gap: 120px 100px;
    margin-right: 30px;
  }

  .servico-icon {
    width: 190px;
  }

  #um {
    width: 190px;
  }
}

@media (max-width: 525px) and (max-height: 700px) {
  .header {
    min-height: 95vh;
    padding: 1px 5px;
    background-size: cover;
    background-position: right 21% top 10%;
  }

  .header h1 {
    font-size: 35px;
  }

  h1 {
    font-size: 35px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .header p {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 35px;
    padding: 0 10px;
  }

  .header button {
    font-size: 22px;
    padding: 12px 24px;
    margin-bottom: 0px;
  }
}

/* Desktop médio - 3 colunas */
@media (min-width: 769px) and (max-width: 1024px) {
  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 120px 80px;
    max-width: 900px;
  }

  .nav-icone {
    margin-left: auto;
  }

  #um {
    position: relative;
    top: 18px;
  }

  #tres {
    position: relative;
    bottom: 9px;
  }

  #cinco {
    position: relative;
    top: 8px;
  }

  #seis {
    position: relative;
    bottom: 7.5px;
  }

  .header p {
    font-size: 25px;
  }

  .header h1 {
    font-size: 45px;
  }

  .header button {
    font-size: 25px;
  }

  h1 {
    font-size: 45px;
  }

  .faq-container {
    margin: 0 auto;
    max-width: calc(100% - 40px);
  }

  .faq-question {
    padding: 15px 25px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .carrossel-item {
    flex: 0 0 calc(60% - 12px);
  }

}

@media (min-width: 870px) and (max-width:1024px) {
  .servicos-grid {
    margin-left: 40px;
  }
}

@media (min-width: 901px) and (max-width:1332px) {
  .carrossel-item {
    flex: 0 0 calc(40% - 12px);
  }
}

@media (min-width: 769px) and (max-width: 1572px) {
  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 120px 80px;
    max-width: 900px;
  }

  .nav-icone {
    margin-left: auto;
    margin-right: 68px;
  }

  .socia-item {
    flex-direction: column;
    text-align: center;
    margin: 0 20px 40px 20px;
  }

  .tipo2 {
    flex-direction: column-reverse !important;
    text-align: center !important;
  }

  .socia-item img {
    width: 370px;
    height: 370px;
    margin-bottom: 20px;
  }

  .socia-item p {
    font-size: 24px;
    line-height: 26px;
    padding: 0 10px;
  }

  #um {
    position: relative;
    top: 18px;
  }

  #tres {
    position: relative;
    bottom: 9px;
  }

  #cinco {
    position: relative;
    top: 8px;
  }

  #seis {
    position: relative;
    bottom: 7.5px;
  }
}

/* Desktop - 3 colunas */
@media (min-width: 1025px) and (max-width: 1572px) {
  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 200px 200px;
    max-width: 1000px;
  }

  .nav-icone {
    margin-left: auto;
  }

  #um {
    position: relative;
    top: 18px;
  }

  #tres {
    position: relative;
    bottom: 9px;
  }

  #cinco {
    position: relative;
    top: 8px;
  }

  #seis {
    position: relative;
    bottom: 7.5px;
  }
}

/*Laptops, monitores*/
@media (min-width: 1573px) {


  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 200px 200px;
    max-width: 1000px;
  }

  #um {
    position: relative;
    top: 18px;
  }

  #tres {
    position: relative;
    bottom: 9px;
  }

  #cinco {
    position: relative;
    top: 8px;
  }

  #seis {
    position: relative;
    bottom: 7.5px;
  }

  .nav-icone {
    margin-right: 72px;
    align-items: right;
  }

  .tipo2 {
    flex-direction: row;
    margin-left: 400px;
    text-align: right;
  }

  .tipo2 img {
    margin-right: 97px;
  }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.servico-item.scroll-animate[data-delay="0"] {
  transition-delay: 0ms;
}

.servico-item.scroll-animate[data-delay="200"] {
  transition-delay: 200ms;
}

.servico-item.scroll-animate[data-delay="400"] {
  transition-delay: 400ms;
}

.servico-item.scroll-animate[data-delay="600"] {
  transition-delay: 600ms;
}

.servico-item.scroll-animate[data-delay="800"] {
  transition-delay: 800ms;
}

.servico-item.scroll-animate[data-delay="1000"] {
  transition-delay: 1000ms;
}


.btn-servico:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}