/* Reset e configurações básicas */
*{box-sizing:border-box}
body{margin:0;background-color:#e7e7e7;font-family:system-ui,sans-serif}

/* Variáveis CSS */
:root{
  --primary-color:#cf549e;
  --secondary-color:#b9227d;
  --accent-color:#ffb347;
  --success-color:#28a745;
  --warning-color:#ffc107;
  --error-color:#dc3545;
  --red-gradient:linear-gradient(45deg,#CB2E2E 0%,#801111 25%,#CB2E2E 50%,#A01818 75%,#CB2E2E 100%);
  --white:#fff;
  --black:#000;
  --text-light:rgba(255,255,255,.8)
}

button a {
  color: inherit;         /* herda a cor do elemento pai */
  text-decoration: none;  /* remove o sublinhado padrão */
}

h2{
    font-weight: 600!important;
}

/* Layout principal */
.landing-page {
  background-color: var(--black);
  position: relative;
}

.landing-page::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background-image: url('grade-efeito3.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1140px;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  z-index: 100;
  background-color: #0000005a;
}

.logo {
  height: 44px;
  display: block;
  width: 248px;
}

/* Menu de navegação */
.nav-menu {
  position: relative;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animação do menu hambúrguer */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Muda cor para vermelho quando ativo */
.menu-toggle.active .hamburger-line {
  background-color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-family: Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 60px;
  width: 820px;
  text-align: center;
  line-height: 67px;
  margin: 0 0 20px 0;
}

.hero-title .highlight {
  color: #CF3535;
}

.highlight{
  color:#CF3535;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  font-family: Helvetica, sans-serif;
  font-weight: 400;
  text-align: center;
  line-height: 33px;
  width: 700px;
  margin: 0;
  padding: 0;
}

/* Layout flexível */
.flex-container {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
}

.flex-content {
  flex-grow: 1;
  gap: 20px;
  flex-wrap: wrap;
  width: 0px;
  display: flex;
  padding-top: 30px;
  justify-content: center;
  flex-basis: 100%;
}

/* Botões CTA */
.cta-container {
  align-self: stretch;
  justify-content: center;
  align-items: center;
  gap: 20px;
  display: flex;
  padding: 0 5px;
  flex-wrap: wrap;
}

.cta-button {
  padding: 18px 32px;
  background: var(--red-gradient);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  overflow: hidden;
  border-radius: 50px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  display: inline-flex;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: auto;
  box-shadow: 0 4px 15px rgba(203, 46, 46, 0.3);
}

/* Efeito vidro para o botão de portfólio */
.cta-button:nth-child(2) {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  animation: none;
}

.cta-button:nth-child(2):hover {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  transform: translateY(-3px);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 46, 46, 0.4);
  animation-duration: 1.5s;
}

.cta-button:active {
  transform: translateY(0);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-button-content {
  align-self: stretch;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: inline-flex;
  white-space: nowrap;
}

.cta-button-text {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--white);
  font-size: 18px;
  font-family: Helvetica;
  font-weight: 500;
  line-height: 1;
  word-wrap: normal;
  white-space: nowrap;
}

/* Ícones */
.icon {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  vertical-align: middle;
  fill: currentColor;
  width: 25px;
}

.icon-arrow {
  width: 19.25px;
  height: 18.76px;
  background: var(--white);
}

/* Imagem hero */
.hero-image {
  width: 600px;
  padding-top: 40px;
  margin: 0;
}

/* Classes de utilidade */
.text-preformatted {
  white-space: pre-wrap;
}

/* Seção de Projetos */
.portfolio-section {
  background-color: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(207, 53, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.portfolio-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(207, 53, 53, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.portfolio-title {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 48px;
  text-align: center;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.portfolio-subtitle {
  font-size: 18px;
  text-wrap: balance;
  color: var(--text-light);
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  text-align: center;
  margin: 0 0 60px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
  height: 600px;
}

/* Layout: 2 projetos pequenos à esquerda, 1 grande no centro, 2 pequenos à direita */
.project-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.project-card:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.project-card:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.project-card:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.project-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.project-card {
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.project-image {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Aspect ratio diferente para projetos pequenos */
.project-card:nth-child(1) .project-image,
.project-card:nth-child(2) .project-image,
.project-card:nth-child(4) .project-image,
.project-card:nth-child(5) .project-image {
  aspect-ratio: 1.2/1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

/* Posicionamento específico para o Projeto 3 */
.project-card:nth-child(3) .project-image {
  height: 100%;
  width: 100%;
  aspect-ratio: unset;
}

.project-card:nth-child(3) .project-image img {
  object-position: center top;
  height: 100%;
  width: 100%;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-title {
  color: var(--white);
  font-family: Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-card:hover .project-arrow {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
}

.project-arrow svg {
  transition: transform 0.3s ease;
}

.project-card:hover .project-arrow svg {
  transform: rotate(45deg);
}

/* Seção de Estatísticas */
.stats-section {
  background-color: var(--black);
  padding: 80px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Texto gigante de fundo */
.stats-section::before {
  content: 'CLIENTES';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Helvetica, sans-serif;
  font-size: 20vw;
  font-weight: 900;
  background: linear-gradient(to top, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

.stats-container {
  padding: 40px 60px;
  text-align: center;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  z-index: 10;
}

.stats-text {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  margin: 0;
  line-height: 1.4;
}

.counter-number {
  color: #CF3535;
  font-weight: 600;
  font-size: 32px;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}



/* Seção de Depoimentos */
.testimonials-section {
  background-color: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(207, 53, 53, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(207, 53, 53, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.testimonials-title {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 48px;
  text-align: center;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.testimonials-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  text-align: center;
  margin: 0 0 60px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.testimonials-image-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto 60px auto;
  overflow: hidden;
  transition: all 0.4s ease;
}

.testimonials-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonials-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* Mostrar apenas imagem desktop por padrão */
.testimonials-image-desktop {
  display: block;
}

.testimonials-image-mobile {
  display: none;
}

/* Animação de entrada quando a seção aparece */
.testimonials-section.visible .testimonials-image {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito hover apenas para desktop */
.testimonials-image-wrapper:hover .testimonials-image-desktop {
  transform: scale(1.02);
}

.testimonials-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(207, 53, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonials-image-wrapper:hover .testimonials-overlay {
  opacity: 1;
}

.testimonials-cta {
  text-align: center;
  margin-top: 40px;
}

.testimonials-cta-text {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.testimonials-button.cta-button {
  margin: 0 auto;
  display: inline-flex;
  /* Estilo igual ao botão principal da hero section */
  background: var(--red-gradient) !important;
  background-size: 200% 200% !important;
  animation: gradientShift 3s ease infinite !important;
  box-shadow: 0 4px 15px rgba(203, 46, 46, 0.3) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  overflow: hidden !important;
}

.testimonials-button.cta-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(203, 46, 46, 0.4) !important;
  animation-duration: 1.5s !important;
  background: var(--red-gradient) !important;
  border: none !important;
}

/* Seção Sobre Nós */
.about-section {
  background-color: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(207, 53, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.about-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  border-radius: 1000px;
  background: rgba(207, 53, 53, 0.20);
  filter: blur(750px);
  z-index: 1;
  pointer-events: none;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text-content {
  order: 1;
}

.about-image-content {
  order: 2;
}

.about-title {
  font-family: Helvetica, sans-serif;
  color: var(--white);
  font-size: 48px;
  font-weight: 300;
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.about-description {
  font-family: Helvetica, sans-serif;
  color: var(--text-light);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #CF3535;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(207, 53, 53, 0.1) 0%, transparent 50%);
  border-radius: 20px;
  pointer-events: none;
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: -100px;
  width: 280px;
  height: 80px;
  z-index: 999;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(20px);
border-radius: 56.86px;
backdrop-filter: blur(1.1781355142593384px);
}

.whatsapp-float.show {
  right: 30px;
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float:hover {
  transform: translateX(0) scale(1.1);
  transition: all 0.3s ease;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-section {
    padding-top: 40px;
  }

  .hero-title {
    width: 90%;
    margin: 0 0 20px 0;
    font-size: 49px;
  }

  .hero-subtitle {
    width: 90%;
  }

  .flex-content {
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0 0;
  }

  .hero-image {
    padding-top: 40px;
  }

  .header {
    width: 90%;
    background: #000!important;
  }

  .hero-section {
    padding: 60px 0 40px 0;
  }

  /* Menu desktop ainda visível em tablets */
  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 16px;
  }

  /* Portfolio responsivo */
  .portfolio-section {
    padding: 80px 0;
  }

  .portfolio-title {
    font-size: 40px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 25px;
    height: auto;
  }

  /* Reset layout para tablet */
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Reset aspect ratio para tablet */
  .project-card:nth-child(1) .project-image,
  .project-card:nth-child(2) .project-image,
  .project-card:nth-child(4) .project-image,
  .project-card:nth-child(5) .project-image {
    aspect-ratio: 16/9;
  }

  /* Depoimentos responsivo */
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-title {
    font-size: 40px;
  }

  .testimonials-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .testimonials-image-wrapper {
    margin-bottom: 40px;
  }

  .testimonials-cta-text {
    font-size: 20px;
  }

  /* Sobre nós responsivo */
  .about-section {
    padding: 80px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-text-content {
    order: 2;
    text-align: center;
  }

  .about-image-content {
    order: 1;
  }

  .about-title {
    font-size: 40px;
  }

  .about-stats {
    justify-content: center;
    gap: 30px;
  }


}

@media (max-width: 768px) {
  .flex-content {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin: auto;
    padding: auto;
    align-content: center;
  }

  .hero-section {
    padding-top: 0;
  }

  .header {
    justify-content: space-between;
    align-items: center;
  }

  /* Menu mobile */
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: #CF3535;
    border-radius: 12px;
    padding: 12px;
    width: 48px;
    height: 48px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10000;
    transform: translateY(-100%);
    opacity: 0;
    padding-left: 60px;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    padding: 25px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(100vw - 120px);
  }

  .nav-link:before {
    content: '→';
    font-size: 24px;
    opacity: 0.7;
  }

  .nav-link:hover {
    color: var(--white);
    transform: translateX(10px);
  }

  .nav-link:hover:before {
    opacity: 1;
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    align-content: center;
    width: 90%;
    margin: auto;
    padding: 60px 0 40px 0;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .hero-title {
    line-height: 57px;
  }

  .hero-image {
    width: 100%;
  }

  /* Portfolio mobile */
  .portfolio-section {
    padding: 60px 0;
  }

  .portfolio-container {
    padding: 0 15px;
  }

  .portfolio-title {
    font-size: 32px;
  }

  .portfolio-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 40px;
    height: auto;
  }

  /* Reset layout para mobile - todos empilhados com mesmo tamanho */
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4),
  .project-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Reset aspect ratio para mobile */
  .project-card:nth-child(1) .project-image,
  .project-card:nth-child(2) .project-image,
  .project-card:nth-child(4) .project-image,
  .project-card:nth-child(5) .project-image {
    aspect-ratio: 16/9;
  }

  .project-title {
    font-size: 20px;
  }

  .project-arrow {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    margin: 0;
  }

  .flex-content {
    margin: 20px 0 0 0;
    padding: 0;
  }

  .logo {
    width: 193px;
    height: 34px;
  }

  .hero-section {
    align-content: center;
    padding: 50px 0 39px 0;
    width: 90%;
    margin: auto;
  }

  .hero-title {
    font-size: 32px;
    line-height: 37px;
  }

  .text-preformatted {
    font-size: 16px;
    line-height: 5px;
  }

  .hero-subtitle {
    line-height: 20px;
  }

  .cta-button:last-child {
    padding: 18px 24px;
  }

  .hero-image {
    width: 100%;
  }

  .cta-button:first-child {
    padding: 18px 24px;
  }

  /* Portfolio mobile pequeno */
  .portfolio-section {
    padding: 50px 0;
  }

  .portfolio-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .portfolio-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .project-title {
    font-size: 18px;
  }

  .project-arrow {
    width: 40px;
    height: 40px;
  }

  .project-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Estatísticas mobile pequeno */
  .stats-section {
    padding: 60px 0;
  }

  .stats-container {
    margin: 0 15px;
    padding: 30px 40px;
  }

  .stats-text {
    font-size: 22px;
  }

  .counter-number {
    font-size: 26px;
  }

  /* Depoimentos mobile */
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-container {
    padding: 0 15px;
  }

  .testimonials-title {
    font-size: 32px;
  }

  .testimonials-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .testimonials-image-wrapper {
    margin-bottom: 30px;
  }

  /* Trocar imagens no mobile */
  .testimonials-image-desktop {
    display: none;
  }

  .testimonials-image-mobile {
    display: block;
  }

  /* Remover hover no mobile */
  .testimonials-image-wrapper:hover {
    transform: none;
    box-shadow: none;
  }

  .testimonials-cta-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* Sobre nós mobile */
  .about-section {
    padding: 60px 0;
    z-index: 1000;
  }

  .about-container {
    padding: 0 15px;
  }

  .about-content {
    gap: 40px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-description {
    font-size: 16px;
  }

  .about-image {
    height: 400px;
  }

  .about-stats {
    gap: 20px;
    margin-top: 30px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }


}