* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --color-primary:#222;
  --color-secondary:#E6CB43;
  --color-tertiary: #8E8E8E;
  --color-base: #fff;
}

::-webkit-scrollbar{
  width: 10px;
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb{
  border-radius: 5px;
  background: var(--color-secondary);
}


/*Animações*/
.animateRight {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.animateUp {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animateDown {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.animateIn{
  opacity: 1;
  transform: scale(1.05);
  transition: all 0.8s ease-out forwards;
}

.animateIn.animate {
  opacity: 1;
  transform: scale(1);
}

.animate {
  opacity: 1;
  transform: scale(1);
  transform: translateX(0) translateY(0);
}




body {
  font-family: "Inter", sans-serif;
}

.tooltip-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.tooltip-message.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tooltip-message.hidden {
  display: none;
}


header {
  z-index: 1000;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-top {
  background-color: transparent;
  box-shadow: none;
}

.header-scroll {
  background-color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-img {
  width: 150px;
  transition-delay: 0.2s;
}

nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;
}

.nav-links li a {
  color: var(--color-base);
  text-decoration: none;
  font-size: clamp(0.8rem, 0.85vw, 0.85vw);
  font-weight: 300;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: var(--color-secondary);
}

.nav-links li:nth-child(1) { transition-delay: 0.3s; }
.nav-links li:nth-child(2) { transition-delay: 0.4s; }
.nav-links li:nth-child(3) { transition-delay: 0.5s; }
.nav-links li:nth-child(4) { transition-delay: 0.6s; }
.nav-links li:nth-child(5) { transition-delay: 0.7s; }

.cta-budget {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  padding: 10px 20px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
  font-size: clamp(0.8rem, 0.8vw, 0.8vw);
  transition: 0.3s;

  transition-delay: 0.8s;
}

.cta-budget:hover {
  box-shadow: 0 0 5px rgba(230, 203, 67, 0.7);

  transform: scale(1.05);
}

.menu-toggle{
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition-delay: 0.9s;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: var(--color-secondary);
  margin: 4px 0;
  transition: 0.3s;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -5px);
}





.hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100vh;
  background: none;
  padding-top: 7%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transform: scale(1.1);
  transition: transform 1s ease, opacity 1s ease;
}

.hero-text{
  display: flex;
  width: 80%;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  font-weight: 300;
  gap: 2rem;
}

.hero-title{
  display: flex;
  color: var(--color-secondary);
  font-size: clamp(2.3rem, 3.646vw, 3.646vw);
  width: 50%;

  transition-delay: 0.3s;
}

.hero-sub{
  color: var(--color-base);
  font-size: clamp(1.2rem, 1.563vw, 1.563vw);

  transition-delay: 0.5s;
}

.hero-comment{
  color: var(--color-tertiary);
  font-size: clamp(1rem, 1.25vw, 1.25vw);

  transition-delay: 0.7s;
}

.cta-button {
  background-color: var(--color-secondary);
  padding: 15px 20px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  z-index: 1;

  transition-delay: 0.9s;
}

.cta-button:hover{
  box-shadow: 0 0 5px rgba(230, 203, 67, 0.7);

  transform: scale(1.05);
}

.hero-icon{
  display: flex;
  width: clamp(30px, 2vw, 2vw);
  transition-delay: 1.2s;
}







.about{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100vh;
}

.about-text{
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 35%;
  gap: 30px;
}

.about-title{
  font-size: clamp(24px, 1.4vw, 1.4vw);
  transition-delay: 0.3s;
}

.about-content{
  font-size: clamp(14px, 0.9vw, 0.9vw);
  transition-delay: 0.6s;
}

.about-img{
  width: clamp(18rem, 25vw, 25vw);
  border-radius: 40px;
  transition-delay: 0.6s;
}

.hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.show {
  max-height: 1000px;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 1;
}





.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  padding: 4% 0;
  background-color: var(--color-primary);
  gap: 50px;
}

.title-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Subtítulo aparece primeiro */
.title-secondary {
  font-size: clamp(1.1rem, 1.30vw, 1.30vw);
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  transition-delay: 0.2s;
}

/* Título principal aparece depois */
.title-primary {
  font-size: clamp(1rem, 1.10vw, 1.10vw);
  font-weight: 200;
  color: var(--color-base);
  transition-delay: 0.5s;
}

.title-black {
  color: var(--color-primary);
}

/* --- Team Cards --- */

.team-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.50vw;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Suavidade e ordem nas animações dos cards */
.team-card:nth-child(1) {
  transition-delay: 0.4s;
}
.team-card:nth-child(2) {
 transition-delay: 0.6s;
}
.team-card:nth-child(3) {
  transition-delay: 0.8s;
}

/* Pequenos delays para um efeito em cascata dentro de cada card */
.team-img {
  transition-delay: 0.4s;
}

.team-name {
  transition-delay: 0.6s;
}

.team-function {
  transition-delay: 0.8s;
}

.team-img {
  width: 260px;
  height: 270px;
  margin-bottom: 10px;
}

.team-name {
  font-size: clamp(0.8rem, 1vw, 1vw);
  font-weight: 600;
  color: var(--color-secondary);
}

.team-function {
  font-size: clamp(0.7rem, 0.9vw, 0.9vw);
  font-weight: 200;
  color: var(--color-base);
}





.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  gap: 50px;
  padding: 10% 0;
}

.services-grid {
  display: flex;
  flex-wrap: wrap; /* Permite quebra de linha */
  justify-content: center; /* Centraliza os cards horizontalmente */
  gap: 1rem;
  width: 90%;
  max-width: 1700px;
}

.service-card {
  width: 340px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #222222;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: 0.3s ease;
}


.service-card:nth-child(1) {
  transition-delay: .3s;
}

.service-card:nth-child(2) {
  transition-delay: .4s;
}

.service-card:nth-child(3) {
  transition-delay: .6s;
}

.service-card:nth-child(4) {
  transition-delay: .8s;
}

/* Segunda linha: delay maior */
.service-card:nth-child(5) {
  transition-delay: 1s;
}

.service-card:nth-child(6) {
  transition-delay: 1.2s;
}

.service-card:nth-child(7) {
  transition-delay: 1.4s;
}

.service-card:nth-child(8) {
  transition-delay: 1.6s;
}

.service-card img {
  width: 45px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1rem;
  color: var(--color-base);
  margin-bottom: 0.5rem;
}

.highlight-yellow{
  color: var(--color-secondary);
}

.service-card p {
  font-size: 0.8rem;
  color: #cacaca;
}





.case-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 5%;
}

.carousel-track {
  display: flex;
  gap: 40px;
  width: fit-content;
  animation: scrollLoop 30s linear infinite;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollInfinite {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.case {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 7% 0;
}


.case-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.case-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 5%;
}

.carousel-track {
  display: flex;
  gap: 150px;
  animation: scrollLoop 30s linear infinite;
  width: max-content;
  margin-top: 80px;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.case-content {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(300px, 25vw, 25vw);
  gap: 25px;
}

.case-img {
  width: 80%;
  height: auto;
}

.case-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.case-description {
  font-size: 1rem;
  text-align: center;
  font-weight: 200;
  color: var(--color-tertiary);
}

.case-button {
  background-color: var(--color-secondary);
  padding: 10px 15px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
  transition: 0.3s;
}

.case-button:hover {
  box-shadow: 0 0 5px rgba(230, 203, 67, 0.7);
  transform: scale(1.05);
}


/* .testimony{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 4% 0;
  gap: 150px;
}

.testimony-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.testimony-card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: clamp(300px, 25vw, 25vw);
  height: clamp(300px, 28vh, 28vh);
  background-color: var(--color-primary);
  padding: 4%;
  color: var(--color-base);
  border-radius: 30px;
  text-align: center;
}

.testimony-card::before{
  content: "";
  width: clamp(60px, 4vw, 70px);
  height: clamp(60px, 4vw, 70px);
  background: url(./img/Foto.svg) no-repeat center/cover;
  position: absolute;
  margin-bottom: 295px;
}

#testimony-2::before{
  background: url(./img/Foto-1.svg) no-repeat center/cover;
}

#testimony-3::before{
  background: url(./img/Foto-2.svg) no-repeat center/cover;
}

.testimony-name{
  font-size: clamp(1rem, 0.9vw, 0.9vw);
  font-weight: 200;
}

.text-decoration{
  font-size: clamp(1rem, 0.9vw, 0.9vw);
  color: var(--color-secondary);
}

.testimony-function{
  font-size: clamp(0.8rem, 0.9vw, 0.7vw);
  font-weight: 200;
  margin-bottom: 10px;
}

.testimony-text{
  font-size: clamp(0.8rem, 0.7vw, 0.7vw);
  color: var(--color-tertiary);
  font-style: italic;
  font-weight: 200;
} */





.budget{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 100%;
  height: 100vh;
  gap: 20px;
}

.title-left{
  position: absolute;
  margin-bottom: clamp(450px, 28vw, 600px);
  margin-left: 25%;
}

.budget-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: clamp(300px, 50vh, 500px);
  background-color: var(--color-primary);
  margin-top: 65px;
}

.budget-info{
  display: flex;
  flex-direction: column;
  width: 25%;
  gap: 15px;
  position: absolute;
  left: 20%;
}

.budget-title{  
  font-size: clamp(30px, 2vw, 1.8vw);
  font-weight: 800;
  color: var(--color-secondary);
  transition-delay: 0.4s;
}

.highlight{
  color: var(--color-base);
}

.highlight-second{
  color: var(--color-tertiary);
}

.budget-text{
  text-decoration: none;
  font-size: clamp(13px, 1vw, 0.9vw);
  font-weight: 400;
  color: var(--color-tertiary);
  transition-delay: 0.6s;
}

.budget-contacts{
  display: flex;
  gap: 15px;
  align-items: center;
  transition-delay: 0.8s;
}

.budget-img{
  width: 25px;
}

a.budget-text:hover{
  color: var(--color-secondary);
  transition: color 0.3s ease;
}

form {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  position: absolute;
  width: clamp(550px, 32vw, 700px);
  height: auto;
  right: 20%;
  padding: 2.5vw;
  gap: 20px;
  background-color: var(--color-base);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transition-delay: 3s;
}

.input-box{
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input-box input.invalid {
  border-bottom: 1px solid red;
}

.input-box .error-message {
  color: red;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.input-box .error-message.active {
  display: block;
}

.input-grup{
  display: flex;
  gap: 15px;
  width: 100%;
}

.input-box label{
  font-size: clamp(12px, .6vw, .6vw);
  font-weight: 900;
}

.input-box input, .input-box textarea{
  border: none;
  border-bottom: solid 2px var(--color-primary);
  padding: 15px 0px;
  text-overflow: ellipsis;
  outline: none;
}

.input-box ::placeholder{
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--color-primary);
  font-style: italic;
}

.input-box-flex .term-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.term-wrapper input[type="number"],
.term-wrapper select {
  flex: 1;
  padding: 12px 5px;
  border: none;
  border-bottom: 2px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-style: italic;
}

/* Placeholder e focus para input */
.term-wrapper input::placeholder {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--color-primary);
  font-style: italic;
}

/* Estilo do select + seta customizada */
.term-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath fill='%23222' d='M6 6L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px 5px;
  cursor: pointer;
}

.term-wrapper select option {
  background-color: var(--color-base);
  color: var(--color-primary);
  font-size: clamp(0.9rem, 0.85vw, 1rem);
}





.footer {
  background-color: var(--color-primary);
  color: var(--color-tertiary);
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 40px 5%;
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: 2rem;
  color: var(--color-base);
  font-weight: bold;
  margin-bottom: 20px;

  transition-delay: 0.2s;
}

.footer-column h3 {
  font-size: clamp(1.1rem, 0.8vw, 1vw);
  color: var(--color-base);
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-column p, .footer-column a {
  font-size: clamp(1rem, 0.7vw, 1vw);
  color: var(--color-tertiary);
  line-height: 1.5;
}

.footer-column p {
  transition-delay: 0.4s;
}

.footer-column a {
  text-decoration: none;
  color: var(--color-tertiary);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-secondary);
}

.footer-column ul {
  list-style: none;
  padding: 0;

  transition-delay: 0.6s;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: clamp(1rem, 0.7vw, 0.9vw);
  text-decoration: none;
  color: var(--color-tertiary);
}

.footer-column ul li a:hover {
  color: var(--color-secondary);
}

.contact-item {
  display: flex;
  gap: 10px;

  transition-delay: 0.8s;
}

.icon-insta:hover,
.icon-face:hover,
.icon-tiktok:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.contact-item img {
  width: 25px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;

  transition-delay: 1s;
}

.footer-bottom {
  background-color: var(--color-secondary);
  padding: 10px;
  text-align: center;
  color: var(--color-primary);
}

.footer-bottom p {
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  color: var(--color-primary);
}

.footer-bottom a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 100%;
  cursor: pointer;
  display: none;
  transition: background-color 0.2s ease-in-out;
}

.back-to-top:hover {
  background-color: #d4b538;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-secondary);
}




/* Responsivo */
@media (max-width: 1800px) {

  .case{
   padding: 9% 0%;
  }

   .case-img {
  width: 100%;
  }

  .services{
    padding: 0%;
  }

 .budget-content{
  height: 350px;
 }

 .budget-info{
  width: 28%;
  left: 12%;
 }

  form {
  right: 12%;
}
}


/* Responsivo */
@media (max-width: 1565px) {

  .case{
   padding: 10% 0%;
  }

  .services{
    height: auto;
    padding: 10% 20%;
  }

  .title-left{
  margin-left: 20%;
}
}



/* Responsivo */

@media (max-width: 1425px) {

 .title-left{
  margin-left: 15%;
 } 

 .budget-content{
  height: 350px;
 }

 .budget-info{
   width: 30%;
   left: 8%;
  }

  form {
   right: 8%;
  }


  .footer-container {
    padding: 40px 5%;
    max-width: 100%;
  }

  .footer-column {
    padding: 20px;
  }
}


@media (max-width: 1100px) {

  .service{
    height: auto;
  }

  .carousel-track {
    gap: 30px;
    animation: scrollLoopMobile 30s linear infinite;
  }

  @keyframes scrollLoopMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
   
  .case {
    height: auto;
  }

  .case-wrapper {
    flex-wrap: wrap; /* libera quebra */
    justify-content: center;
    gap: 40px;
    padding: 0 5%;
  }

  .case-content {
    width: clamp(260px, 80vw, 80vw);
    padding: 20px;
  }

  .case-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .case-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 10px;
  }

  .case-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-tertiary);
    line-height: 1.5;
  }

  .about{
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 50px;
    padding: 10%;
  }

  .about-text{
    width: 80%;
    align-items: center;
  }

  .testimony{
    gap: 100px;
  }

  .budget{
    height: auto;
    align-items: center;
    gap: 20px;
    padding: 100px 0px;
  }

  .title-left{
    position: relative;
    margin: 0;
  }

  .budget-content{
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: auto;
    margin-top: 0;
    padding: 5%;
  }

  .budget-info{
   position: relative;
    width: 60%;
    min-width: 260px;
    left: 0;
  }

  .input-grup{
    flex-wrap: wrap;
  }

  form{
    position: relative;
    left: 0;
    width: 60vw;
    box-shadow: none;
  }

  .footer-title {
    font-size: 2rem;
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 80px;
  }

  .footer-column {
    text-align: center;
    padding: 0;
  }
}

@media (max-width: 1100px) and (min-width: 720px) {
  .case-carousel-container {
    padding: 0 20px;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: fit-content;
    animation: scrollLoopMedium 30s linear infinite;
  }

  .case-content {
    flex-shrink: 0;
    width: 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .case-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .case-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
  }

  .case-description {
    font-size: 0.95rem;
    color: var(--color-tertiary);
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
  }

  @keyframes scrollLoopMedium {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}



@media (max-width: 800px) {
  .services{
    padding: 15% 20%;
  }
  .service-card {
    width: 100%; /* Ocupa largura total disponível */
    max-width: 380px; /* Não passa do tamanho definido */
  }
}


@media (max-width: 768px) {

  nav{
    display: flex;
    justify-content: end;
  }

  .nav-links {
    position: absolute;
    top: 0px;
    left: -105%;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-primary);
    flex-direction: column;
    text-align: center;
    transition: left 0.3s ease;
    padding-top: 70px;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links li a {
    font-size: 18px;
  }

  .cta-budget {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links.open {
    left: 0;
  }

  .hero{
    padding-top: 10%;
  }

  .title{
    width: 100%;
  }

  .about{
    padding: 100px 0px;
  }

  .team{
    padding: 10% 0;
  }

  .services{
    gap: 20px;
    padding: 100px 0px;
  }

  .case {
    gap: 20px;
    padding: 100px 0px;
  }

  .carousel-track {
    gap: 20px;
    animation: scrollLoopMobileSm 25s linear infinite;
  }

  .case-content {
    width: clamp(240px, 90vw, 90vw);
    padding: 15px;
  }

  @keyframes scrollLoopMobileSm {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .case-description {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 10px;
  }

  .case-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .case-img {
    width: 80%;
    max-width: 100%;
  }

  .case-button {
    align-self: center;
  }

  .testimony{
    height: auto;
    padding: 15% 0;
  }

  form {
    width: clamp(300px, 60vw, 60vw);
    padding: 10% 5%
  }

  .contact-item img {
    width: 24px;
    margin-right: 10px;
  }
}

/* Responsivo extra para mobile */
@media (max-width: 600px) {
  .service-card {
    width: 300px;
    height: auto; /* Deixa a altura automática no celular */
  }
}