html {
  scroll-behavior: smooth;
  /* Ativa o efeito */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e1e;
  padding: 1rem 2rem;
  color: white;
  background-color: #f0f0f0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  font-family: 'Work Sans', sans-serif;
  /* Aplica a fonte Work Sans */
  font-weight: bold;
  font-size: 16px;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00aaff;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Swiper styles */
.top-servicos {
  position: relative;
  width: 100%;
  height: 727px;
  overflow: hidden;
}

.top-servicos img {
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 20px;
  border-radius: 5px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #141414;
  background: linear-gradient(0deg, rgba(20, 20, 20, 1) 0%, rgba(35, 34, 34, 1) 11%, rgba(34, 33, 33, 0) 100%);
  z-index: 1;
}

.slider-content {
  position: absolute;
  z-index: 2;
  color: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6rem 6rem;
  pointer-events: none;
}

.slider-content h2 {
  font-family: "Jost";
  font-weight: 600;
  font-size: 54px;
  line-height: 64.8px;
  margin-bottom: 1rem;
}

.slider-content h3 {
  font-family: "Jost";
  font-weight: bold;
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 1rem;
}

.slider-content span {
  color: #EC6938;
}

.slider-content .subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}

.slider-content .highlight {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: right;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}

.slider-content .orange {
  color: #e86a2a;
}

.selection-services {
  position: relative;
  width: 100%;
  height: 50vh;
  background-color: #f0f0f0;
  /* border: 1px solid red; */
  overflow: hidden;
}

.selection-services::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom,
      rgba(51, 51, 51, 1) 0%,
      rgba(51, 51, 51, 0.5) 60%,
      rgba(240, 240, 240, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.selection-services-content {
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  min-height: 415px;
}

.selection-services-content img {
  width: 80%;
  height: 100%;
  object-fit: cover;
}

.gradient-overlay-services {
  width: 100%;
  height: 100%;
  /*  background-color: grey; */
  background: #232222;
  background: linear-gradient(180deg, rgba(35, 34, 34, 1) 0%, rgba(35, 34, 34, 0.5) 44%, rgba(34, 33, 33, 0) 100%);
  /*  background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 1) 98%, rgba(64, 64, 64, 1) 100%); */
}

.slide-btn-img {
  position: relative;
  width: 300px;
  /* ajuste para o tamanho do seu botão */
  height: 120px;
  /* ajuste para o tamanho do seu botão */
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  /* opcional, para cantos arredondados */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slide-btn-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.77, 0, .18, 1);
  pointer-events: none;
}

.slide-btn-img .img-default {
  z-index: 1;
  transform: translateX(0);
}

.slide-btn-img .img-hover {
  z-index: 2;
  transform: translateX(-100%);
}

.slide-btn-img:hover .img-default {
  transform: translateX(100%);
}

.slide-btn-img:hover .img-hover {
  transform: translateX(0);
}

.service-button {
  position: relative;
  width: 264px;
  height: 88px;
  cursor: pointer;
  overflow: hidden;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-button:hover {
  transform: translateX(-20px);
}

.service-button img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.service-button img.default-image {
  opacity: 0;
}

.service-button img.hover-image {
  opacity: 1;
}

.service-button:hover img.default-image {
  opacity: 1;
}

.service-button:hover img.hover-image {
  opacity: 0;
}

.service-button a {
  all: unset;
  cursor: pointer;
}

.services-buttons {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding-top: 10%;
  padding-bottom: 10%;
}

.background-gradient-overlay {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #FFFFFF;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(222, 206, 191, 1) 79%, rgba(234, 163, 100, 1) 93%, rgba(236, 105, 56, 1) 100%);
  z-index: 1;
  padding-bottom: 60px;
}

/* --- Estilo para a seção Design Industrial (ajustado para alinhamento lado a lado) --- */
.industrial-design-container {
  max-width: 100%;
  width: 100%;
  margin: 60px 0 0 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.industrial-design-title {
  margin-left: 5%;
  margin-bottom: 32px;
}

.industrial-design-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #232222;
  /*   text-shadow: 2px 2px 8px rgba(0,0,0,0.08); */
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}

.industrial-design-title .icon {
  color: #222;
  font-size: 2.2rem;
  font-weight: bold;
  margin-right: 8px;
}

.industrial-design-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}

.industrial-design-block {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.industrial-design-block.reverse {
  flex-direction: row-reverse;
}

.industrial-design-img-block {
  flex: 1 1 2;
  max-width: 811px;
  max-height: 380px;
  min-width: 220px;
  border-radius: 0px 0px 16px 0px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industrial-design-img-block.reverse {
  border-radius: 16px 0px 0px 0px;
}

.industrial-design-img-block img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: cover;
}

.industrial-design-text-block {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5%;
}

.industrial-design-text-block.right {
  align-items: flex-end;
  text-align: end;
}


.industrial-design-text-inner {
  max-width: 420px;
  width: 100%;
  text-align: left;
}

.prototyping-text-block {
  max-width: 640px;
  min-width: 520px;
  width: 100%;
  margin: 5% auto;
  text-align: center;
}

.industrial-design-text-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.industrial-design-text-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #232222;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.prototyping-text-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #232222;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.industrial-design-text-block p {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.2rem;
  color: #232222;
  /* line-height: 1.5; */
  line-height: 22px;
}

.industrial-design-text-block span {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #EC6938;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.background-menu {
  width: 100%;
  height: auto;
  max-height: 2000px;
  padding: 5%;
  /*   background: #141414; */
  background: linear-gradient(180deg, rgba(20, 20, 20, 1) 0%, rgba(35, 34, 34, 1) 13%, rgba(23, 30, 31, 1) 40%, rgba(0, 58, 72, 1) 100%);
}

.wrap-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: 80%;
  height: 100%;
  margin: 0 auto;
  background: #053241;
  background: linear-gradient(0deg, rgba(5, 50, 65, 1) 0%, rgba(30, 76, 90, 1) 100%);
  border-radius: 45px 0px 45px 0px;
  box-shadow: 10px 10px 10px #141414;
  color: #f1f1f1;
  padding: 5%;
}

.menu {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 100%;
  margin: 0;
  color: #f1f1f1;
}

.services-title {
  width: 100%;
  height: auto;
  margin: 20px;
}

.services-title.top {
  width: 100%;
  margin: 5% 0% 5% 0%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.services-title h2 {
  align-items: flex-start;
  text-align: start;
  font-family: "Jost";
  font-weight: bold;
  font-size: 1.8rem;
  transition-duration: 0.5s;
}

.services-title p {
  font-family: "Work Sans";
  font-size: 1rem;
  font-weight: 400;
  line-height: 29px;
  margin: 2% 0px 5% 0px;
  text-align: justify;
}

.wrap-services-info {
  display: grid;
  min-height: 400px;
  grid-template-columns: auto auto auto;
}

.wrap-services-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vertical-line {
  width: 1px;
  height: 100%;
  background-color: #f1f1f1;
}

.services-info {
  grid-column: 1 / 3;
  min-height: 150px;
  margin: 20px;
  color: #f1f1f1;
}

.services-info.row {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.services-info.bottom {
  min-height: auto;
  margin: 5% 0% 5% 0%;
}

.services-info.text {
  max-width: 450px;
  max-height: 250px;
  width: auto;
  height: auto;
  margin: 0;
}

.services-info h1 {
  font-family: "Jost";
  font-weight: bold;
  font-size: 2rem;
  line-height: 48px;
  text-align: end;
  color: #ec693b;
  margin-right: 22%;
}

.services-info h2 {
  font-family: "Work Sans";
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 28.8px;
  text-align: start;
  padding: 2.5%;
}

.services-info p {
  font-family: "Work Sans";
  font-weight: 300;
  font-size: 1rem;
  line-height: 22px;
  padding: 2.5%;
}

.services-info svg {
  min-height: 24px;
  min-width: 24px;
  margin: auto 0;
}

.hide {
  /*   display: none; */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  /* impede clique enquanto oculto */
  /* transition: opacity 2s ease; */
}

.show {
  /*   display: block; */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: auto;
  /* impede clique enquanto oculto */
  /*   transition: opacity 2s ease; */
}

.services-info.hide {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  /* impede clique enquanto oculto */
  /* transition: opacity 2s ease; */
}

.services-info.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: auto;
  /* impede clique enquanto oculto */
  /*   transition: opacity 2s ease; */
}


.services-title svg {
  align-items: flex-end;
  justify-items: flex-end;
  margin: 12px;
}

.services-title.top:hover h2 {
  font-size: 2rem;
  transition: 0.5s;
}

.services-title.top:hover svg {
  fill: #D33B02;
  transition: 0.5s;
}

.rotate-180 {
  fill: #D33B02;
  transform: rotate(180deg);
  transition: 0.5s;
}

.menu-images {
  width: 100%;
  height: 100%;
  max-height: inherit;
  text-align: center;
  align-items: center;
  justify-self: center;
  background-image: url('/assets/img/logo_screen_services.svg');
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
}

.menu-images img {
  width: 100%;
  height: 100%;
  padding: 5%;
  background: none;
}

.menu-images.item {
  width: 100%;
  height: 100%;
  background: none;
}

.menu-images.column {
  display: flex;
  flex-direction: column;
  background: none;
}

.menu-images.grid {
  display: grid;
  grid-template-columns: auto auto;
  background: none;
}

.img-full {
  grid-column: 1 / -1;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #f1f1f1;
}


.linha {
  width: 203px;
  height: 2px;
  background-color: #EC6938;
  margin: 10px auto;
  position: relative;
  z-index: 2;
}


.container-sobre-1-text-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
  align-self: center;
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.container-sobre-1-text-3 h1 {
  font-size: 40px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  line-height: 1.6;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.container-sobre-1-text-3 h3 {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
}

.container-sobre-1-text-3 p {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
}

.button-about {
  background: #e5e7e9;
  color: #222;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 12px 40px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  outline: none;
  margin-top: 40px;
  display: inline-block;
}

.button-about:hover {
  background: #d1d5d8;
  color: #EC6938;
}

.swiper {
  width: 100%;
  height: 100%;
  display: none;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.swiper-slide {
  padding: 5%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box {
  height: 1350px;
  width: 100%;
  margin: 5%;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #f1f1f1;
  background: #053241;
  background: linear-gradient(180deg, rgba(5, 50, 65, 1) 0%, rgba(30, 76, 90, 1) 100%);
  border-radius: 16px 0px 16px 0px;
  -webkit-box-shadow: 3px 5px 19px -2px #000000;
  box-shadow: 3px 5px 19px -2px #000000;
}

.sub-text{
  padding: 5%;
}

.content{
  flex: 1 1 auto; /* cresce e encolhe */
  min-height: 0;  /* 🔥 evita overflow vertical */
  overflow: auto; /* adiciona scroll interno se necessário */
}

.box h1 {
  font-family: 'Jost';
  font-weight: bold;
  font-size: 1.9rem;
  line-height: 1.894rem;
  margin: 5%;
  padding-bottom: 5%;
  border-bottom: 1px solid #f1f1f1;
}

.box-subtitle {
  display: flex;
  flex-direction: row;
  align-items: start;
  padding: 5%;
  /* justify-content: space-between; */
}

.box-subtitle p{
  padding-top: 5%;
  line-height: 1.28rem;
}

.box h2 {
  font-family: 'Jost';
  font-size: clamp(1rem, 2.8vw, 2.2rem);
  text-align: start;
}

.box p {
  font-family: 'Work Sans';
  text-align: justify;
  font-weight: 200;
  line-height: 1.28rem;
}

.box img{
  border-radius: 16px;
}

.box-subtitle svg{
  flex: 1;
}

.inner-swiper {
  height: auto;
}

.box-wrap-content{
  flex: 4;
}

.box span{
  font-family: 'Jost';
  font-weight: bold;
  color: #EC6938;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  text-align: center;
  margin: 5%;
}


@media(max-width: 900px) {
  .swiper {
    display: block;
  }

  header {
    background-color: transparent;
  }

  #navbar {
    background: transparent;
    box-shadow: none;
  }

  .wrap-all-content-mobile {
    width: auto;
    height: auto;
    background: #141414;
    background: linear-gradient(180deg, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 13%, rgba(23, 30, 31, 1) 40%, rgba(0, 58, 72, 1) 77%);
  }

  .background-menu {
    background: transparent;
    max-height: none;
    padding: 0;
  }

  .swiper-slide {
    width: auto;
  }

  .wrap-menu,
  .top-servicos {
    display: none;
  }

  img {
    max-height: 250px;
  }

}