/* Paleta baseada na logo: Vermelho escuro (#A11E1E), branco e tons neutros */


:root {
  --vermelho-principal: #A11E1E;
  --vermelho-escuro: #7F1919;
  --cinza-claro: #f4f4f4;
  --cinza-medio: #e0e0e0;
  --preto-suave: #222;
  --branco-h: #e1dfdf;
  --branco: #fff;
  --cinza-bru: #cdd1d4;
  --fonte-principal: 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fonte-principal);
  color: var(--preto-suave);
  background-color: var(--branco);
  line-height: 1.6;
}

.header {
  background-color: var(--branco-h);
  padding: 5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--vermelho-principal);
}

.nav-links {
  list-style: none;
  display: flex;
  font-size: 1.4rem;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--preto-suave);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--vermelho-principal);
}

/* botão de menu hamburger */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--preto-suave);
  z-index: 1100;
}


/* Animação para o menu aparecer suavemente */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  background: url('img/part/fundo-patio.png') center/cover no-repeat;
  height: 90vh;
  width: 100vw; /* ocupa toda a largura da tela */
  max-width: 100%;
  margin: 0 auto; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--branco);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--vermelho-principal);
  margin-bottom: 40px;
}

.servicos{
  max-width: 1400px;
}

.servico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 2fr));
  gap: 15px;
  justify-items: center;
  padding: 15px;
}

.servico-card {
  width: 250px;
  height: 280px;
  perspective: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.servico-card:hover {
  transform: scale(1.03);
}

.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  position: relative;
}

.servico-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-front {
  background-color: var(--cinza-claro);
  text-align: center;
}

.card-front svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  fill: #ad0e1f;
  flex-shrink: 0;
}

.card-front h3 {
  font-size: 1.3rem;
  text-align: center;
  margin: 0;
  color: #222;
}

.card-back {
  background-color: var(--vermelho-principal);
  color: var(--branco);
  transform: rotateY(180deg);
  text-align: center;
  font-size: 1.1rem;
  padding: 10px;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
}


#Layer_1 {
  width: 4vw;
  height: 4vw;
  min-width: 40px;
  min-height: 40px;
  max-width: 80px;
  max-height: 80px;
  fill: #ad0e1f;
}

.orcamento {
  background-color: #0f1121;
  color: white;
  max-width: 100%;
  overflow-x: hidden;
  border-top: 1px solid var(--vermelho-principal);
  border-bottom: 1px solid var(--vermelho-principal);
}

.orcamento-container {
  display: flex;
  width: 100%;
  min-height: 350px;
}

.imagem-esquerda,
.imagem-direita {
  flex: 1;
  min-height: 110%;
  background-size: cover;
  background-position: center;
}

.imagem-esquerda {
  background-image: url('img/part/fecharnegocio.png');
}

.imagem-direita {
  background-image: url('img/part/fecharnegocio2.png');
}

.orcamento-conteudo {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.orcamento h2 {
  font-size: 2rem;
  color: var(--vermelho-principal);
  margin-bottom: 10px;
}

.orcamento p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  background-color: #25D366;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #167439;
}

.porque-escolher {
  text-align: center;
}



.servicos-beneficios {
  max-width: 900px;     /* largura máxima */
  margin: 0 auto;        /* centraliza */
  padding: 60px 20px;    /* mantém o espaçamento interno */
}



.beneficios {
  width: 100vw;
  max-width: 100%;              /* ocupa 100% da largura da tela */
  min-height: 350px;         /* define uma altura mínima maior */
  padding: 40px 20px;        /* aumenta o espaçamento interno */
  background: #f9f9f9;       /* verde */
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  border-bottom: 4px solid #A11E1E;                 /* remove margens externas */
}

.beneficios h2 {
  font-size: 2rem;
  margin-bottom: 120px;
  color: #ad0e1f;
}

/* Reaproveita a base dos cards do slider */
.beneficios .wrapper-ben .outer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficios .card {
  background: #fff;
  width: 430px;
  display: flex;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  animation: animate 15s linear infinite;
  animation-delay: calc(3s * var(--delay));
}

.beneficios .outer:hover .card {
  animation-play-state: paused;
}

.beneficios .card:last-child {
  animation-delay: calc(-3s * var(--delay));
}

/* Ajustes no conteúdo */
.beneficios .details {
  text-align: center;
  margin-left: 0;
}

.beneficios .details .name {
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.5);
  }
  5%, 20% {
    opacity: 0.4;
    transform: translateY(100%) scale(0.7);
  }
  25%, 40% {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0%) scale(1);
  }
  45%, 60% {
    opacity: 0.4;
    transform: translateY(-100%) scale(0.7);
  }
  65%, 100% {
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
  }
}









.wrapper {
  max-width: 1100px;
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;
}
.wrapper .card {
  background: #fff;
  display: flex;
  height: auto;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.wrapper .card:hover {
  transform: translateY(-10px);
}
.card .card-image {
  position: relative;
}
.card .card-image img {
  width: 100%;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.card .card-image .card-tag {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 0.75rem;
  color: #A11E1E;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 25px 25px;
}
.card .card-content .card-title {
  color: #111111;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}
.card .card-content .card-text {
  color: #747474;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.card .card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-top: 15px;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #cdd1d4;
}
.wrapper .swiper-pagination-bullet-active {
  background: #979a9c;
}
/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #A11E1E;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}
.container:hover .wrapper .swiper-pagination-bullet-active::before {
  animation-play-state: paused;
}
@keyframes autoplay-loading {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.wrapper :where(.swiper-button-prev, .swiper-button-next) {
  color: #A11E1E;
  margin-top: -35px;
  transition: all 0.3s ease;
}
.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
  color: #7F1919;
}
/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .wrapper {
    margin: 0 10px 25px;
  }
  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none;
  }
}






.sobre-container {
  display: flex;
  align-items: center;
  justify-content: center; /* ou space-between para ocupar a largura total */
  gap: 30px;
  margin: 0 auto;
  padding: 40px 10px;
}

.sobre-logo {
  flex: 0 0 auto; /* mantém tamanho fixo */
}

.sobre-logo svg {
  width: 15vw;       /* 15% da largura da tela */
  max-width: 400px;  /* não passa de 200px */
  min-width: 80px;   /* não fica menor que 80px */
  height: auto;      /* mantém proporção */
}

.sobre-texto {
  flex: 1;
}

.sobre-texto h2 {
  font-size: 2rem;
  color: var(--vermelho-principal);
  margin-bottom: 15px;
}

.sobre-texto p {
  font-family: 'Segoe UI', Arial, sans-serif; /* muda a fonte */
  font-size: 1.2rem; /* tamanho (1rem = 16px padrão) */
  color: #333; /* cor do texto */
  line-height: 1.6; /* espaçamento entre linhas */
  font-weight: 400; /* peso da fonte */
  text-align: center; /* justifica o texto */
}

/* Responsivo: empilha em telas menores */
@media (max-width: 768px) {
  .sobre-container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-logo {
    margin-bottom: 20px;
  }
}






.wrapper-cont .button {
  display: inline-block;
  height: 60px;
  width: 60px;
  text-decoration: none;
  margin: 0 5px;
  overflow: hidden;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}
.wrapper-cont .button:hover {
  width: 200px;
}
.wrapper-cont .button .icon {
  display: inline-block;
  height: 60px;
  width: 60px;
  color: #000;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 60px;
  transition: all 0.3s ease-out;
}
.wrapper-cont .button:nth-child(1):hover .icon {
  background: #4267B2;
}
.wrapper-cont .button:nth-child(2):hover .icon {
  background: #1DA1F2;
}
.wrapper-cont .button:nth-child(3):hover .icon {
  background: #E1306C;
}
.wrapper-cont .button:nth-child(4):hover .icon {
  background: #333;
}
.wrapper-cont .button:nth-child(5):hover .icon {
  background: #ff0000;
}
.wrapper-cont .button .icon i {
  font-size: 25px;
  line-height: 60px;
  transition: all 0.3s ease-out;
}
.wrapper-cont .button:hover .icon i {
  color: #fff;
}
.wrapper-cont .button span {
  font-size: 20px;
  font-weight: 500;
  line-height: 60px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
}
/* 1 - WhatsApp */
.wrapper-cont .button:nth-child(1):hover .icon {
  background: #25D366;
}
.wrapper-cont .button:nth-child(1) span {
  color: #25D366;
}

/* 2 - Email */
.wrapper-cont .button:nth-child(2):hover .icon {
  background: #FF6F00;
}
.wrapper-cont .button:nth-child(2) span {
  color: #FF6F00;
}

/* 3 - LinkedIn */
.wrapper-cont .button:nth-child(3):hover .icon {
  background: #0077B5;
}
.wrapper-cont .button:nth-child(3) span {
  color: #0077B5;
}

/* 4 - Instagram */
.wrapper-cont .button:nth-child(4):hover .icon {
  background: #E1306C;
}
.wrapper-cont .button:nth-child(4) span {
  color: #E1306C;
}

/* 5 - Blog */
.wrapper-cont .button:nth-child(5):hover .icon {
  background: #A11E1E; /* usa a cor vermelha da sua paleta */
}
.wrapper-cont .button:nth-child(5) span {
  color: #A11E1E;
}












.contato-final {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
  max-width: 100%;
  border-top: 5px solid #A11E1E;
}

.contato-final h2 {
  font-size: 2rem;
  color: #A11E1E;
  margin-bottom: 10px;
}

.contato-final p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #333;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1da851;
}



footer {
  background: #A11E1E; /* cor do rodapé */
  padding: 15px 15px;
  text-align: center;
  color: #fff;
}

.wrapper-cont {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}


.whatsapp-button-flutuante {
  position: fixed;
  bottom: 30px; /* estava 20px, aumentamos */
  right: 30px;  /* estava 20px, aumentamos */
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-button-flutuante:hover {
  transform: scale(1.1);
}

.whatsapp-button-flutuante img {
  width: 35px;
  height: 35px;
}

.hero ~ .whatsapp-button-flutuante {
  display: none;
}

body.scrolled .whatsapp-button-flutuante {
  display: flex;
}

/* Força todos os ícones de serviços para a mesma cor */
.servico-card svg path,
.servico-card svg {
  fill: #ad0e1f !important;  /* mesma cor da sua paleta */
}


/* Ajustes para telas menores */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    background-position: center;
  }

  .hero svg {
    max-width: 300px;
    height: auto;
  }

  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .btn-whatsapp {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Header menor */
  .header {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.7); /* translúcido */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .header svg {
    width: 40px;
    height: 44px;
  }

  .menu-toggle {
    display: block;       /* garante que aparece no mobile */
    position: relative;
    z-index: 2000;        /* sempre acima de tudo */
    background: none;
    border: none;
    color: #222;          /* cor visível */
  }

  /* Menu suspenso */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease forwards;
    gap: 10px;
  }

  .nav-links.active {
    display: flex; /* garante que aparece quando clicado */
  }

  .nav-links a {
    color: #222;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    background: rgba(161, 30, 30, 0.1);
  }


  .orcamento-container {
    position: relative;
    flex-direction: column;  /* empilha conteúdo */
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
  }

  /* Define a imagem como fundo */
  .imagem-esquerda,
  .imagem-direita {
    display: none; /* esconde as divs laterais */
  }

  .orcamento-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4); /* escurece para destacar o texto */
    z-index: 0;
  }

  /* Usa a imagem de fundo dinamicamente */
  .orcamento-1 .orcamento-container::before {
    background-image: url('img/part/fecharnegocio.png');
  }

  .orcamento-2 .orcamento-container::before {
    background-image: url('img/part/fecharnegocio2.png');
  }

  /* Texto na frente */
  .orcamento-conteudo {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 90%;
  }

  .orcamento-conteudo h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  }

  .orcamento-conteudo p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }

  .orcamento-conteudo .btn-whatsapp {
    padding: 10px 18px;
    font-size: 0.95rem;
  }


  .beneficios .wrapper-ben .outer {
    flex-direction: column;
    position: relative;
  }

  .beneficios .card {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: none !important;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
  }

  .beneficios .details .name {
    font-size: 1.1rem;
    text-align: center;
  }

  .beneficios h2 {
    margin-bottom: 40px;
  }








  .servico-card {
    height: 120px; /* altura igual ao card da segunda imagem */
    border-radius: 12px;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s ease;
  }
  
  .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .servico-card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  /* Frente do card */
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 12px;
  }
  
  /* Frente: SVG + Texto */
  .card-front {
    background: #f8f8f8;
    flex-direction: row; /* Ícone à esquerda, texto à direita */
  }
  
  .card-front svg {
    width: 40px;
    height: 40px;
    fill: #ad0e1f;
  }
  
  .card-front h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #3d3935;
  }
  
  /* Verso do card */
  .card-back {
    background: #ad0e1f;
    color: #fff;
    justify-content: center;
    transform: rotateY(180deg);
    text-align: center;
    padding: 12px;
    font-size: 0.95rem;
    line-height: 1.3;
  }

}
