html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Verdana', sans-serif;
  background-color: #fff;
  color: #323840;
}

/* ===== TOPO ===== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  background-color: #e3dfd4 !important;
  color: #323840;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  position: relative;
  z-index: 1100;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo {
  height: 30px;
}
.menu-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.menu-principal ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-principal ul li {
  margin: 0;
  padding: 0;
}
.menu-principal ul li a {
  color: #323840 !important;
  font-weight: bold;
  font-size: 14px;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s;
  background: none;
  text-decoration: none;
}
.menu-principal ul li a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background-color: #323840;
  width: 0;
  transition: width 0.4s;
}
.menu-principal ul li a:hover::after,
.menu-principal ul li a.ativo::after {
  width: 100%;
}
.menu-principal ul li a:hover,
.menu-principal ul li a.ativo {
  color: #1a1d20 !important;
}
.hamburger {
  display: none;
  font-size: 30px;
  color: #323840;
  cursor: pointer;
  margin-left: auto;
  user-select: none;
}

/* ===== HERO (IMAGEM DE CAPA) ===== */
.hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 350px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-imagem {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
}
.hero-imagem img {
  width: 100vw;
  height: 100%;
  display: block;
  opacity: 0.5;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.80));
  z-index: 1;
}
.hero-conteudo {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding: 30px 15px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-conteudo h1 {
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-conteudo p {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.botao {
  background-color: #323840;
  color: #fff;
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  border: none;
  outline: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}
.botao:hover {
  background-color: #1a1d20;
}
/* Fim da área do TOPO/HERO */

/* ===== HERO INFERIOR ===== */
.hero-inferior {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #f4f4f5;
  padding: 30px 10px 20px 10px;
  gap: 24px;
  margin: 0;
}
.hero-inferior-item {
  flex: 1;
  max-width: 350px;
  background: none;
  text-align: center;
  padding: 0 10px;
}
.hero-inferior-item h3 {
  font-size: 18px;
  color: #323840;
  margin-bottom: 10px;
  font-weight: bold;
}
.hero-inferior-item p {
  font-size: 15px;
  color: #323840;
  line-height: 1.5;
  margin: 0;
}

/* ======= POPUP CORRETO (Menu Serviços) ======= */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 2500;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2600;
  min-width: 380px;
  max-width: 99vw;
  width: 500px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  padding: 38px 38px 30px 38px;
  box-sizing: border-box;
}
.popup-conteudo {
  position: relative;
}
.popup-fechar {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 22px;
  color: #323840;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 999;
}

/* RESPONSIVO: Popup fica confortável no mobile */
@media (max-width: 650px) {
  .popup {
    min-width: 0;
    width: 97vw;
    max-width: 99vw;
    padding: 22px 7vw 18px 7vw;
    font-size: 1rem;
  }
}


/* ===== SESSÃO ENTENDA (MOTIVOS) ===== */
#motivos {
  min-height: 1px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: #fff;
}

.carrossel-motivos {
  padding: 0;
  margin: 0 auto;
  background: #f4f4f5;
  width: 100vw;
  min-height: 410px;
}

.carrossel-motivos .titulo-secao {
  margin-top: 48px;
  text-align: center;
  font-size: 2.2rem;
  color: #323840;
  font-weight: bold;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
  letter-spacing: 0.1px;
}

.carrossel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 46px;
  width: 100%;
  max-width: 1100px;
  margin: 28px auto 48px auto; /* espaçamento acima e abaixo */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.08);
  padding: 40px 42px 32px 42px;
  position: relative;
}


.texto-area {
  flex: 1 1 340px;
  min-width: 250px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.numeros {
  display: flex;
  gap: 22px;
  margin-bottom: 18px;
  padding-left: 0;
  padding-top: 8px;
}
.numeros li {
  list-style: none;
  font-weight: 600;
  font-size: 1.22rem;
  color: #282b30;
  padding: 0 7px 7px 7px;
  cursor: pointer;
  background: none;
  border-radius: 0;
  border: none;
  position: relative;
  transition: color 0.18s;
}
.numeros li.ativo,
.numeros li:hover {
  color: #181818;
  font-weight: bold;
}
.numeros li.ativo::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: #222;
  width: 100%;
  transition: width 0.26s;
}
.numeros li:not(.ativo)::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: transparent;
  width: 100%;
}

.texto-motivo h4 {
  margin: 0 0 8px 0;
  font-size: 1.19rem;
  color: #21262a;
  font-weight: bold;
  letter-spacing: 0.2px;
}
.texto-motivo p {
  margin: 0;
  font-size: 1.05rem;
  color: #4a5057;
  line-height: 1.56;
  letter-spacing: 0.01em;
}

.imagens-carrossel {
  flex: 1 1 350px;
  min-width: 220px;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
}
.imagens-carrossel img {
  display: none;
  width: 100%;
  max-width: 360px;
  height: 230px;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(0,0,0,0.13);
  object-fit: cover;
  object-position: center center;
  background: #f4f4f5;
}
.imagens-carrossel img.ativo {
  display: block;
  animation: fadeinimg 0.4s;
}
@keyframes fadeinimg {
  from { opacity: 0; transform: scale(0.98);}
  to { opacity: 1; transform: scale(1);}
}

/* ===== SERVIÇOS (GRID) ===== */
.secao-clara {
  background-color: #f5f5f7;
  padding: 60px 20px 40px 20px;
  text-align: center;
}
.titulo-secao {
  font-size: 28px;
  color: #323840;
  margin-bottom: 40px;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  justify-items: center;
  align-items: stretch;
}
.servico-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  padding: 20px;
  width: 100%;
  max-width: 280px;
  text-align: left;
  transition: transform 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  box-sizing: border-box;
}
.servico-box:hover {
  transform: translateY(-8px);
}
.icone-servico {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 15px;
  filter: grayscale(100%);
  opacity: 0.8;
}
.servico-box h3 {
  font-size: 18px;
  color: #323840;
  margin-bottom: 10px;
  text-align: left;
}
.servico-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}
.botao-popup {
  position: absolute;
  bottom: 12px; right: 12px;
  background-color: #323840;
  color: #fff;
  border: none;
  font-size: 16px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  padding: 0;
  align-self: center;
  margin-top: auto;
  z-index: 10;
}
.botao-popup:hover {
  background-color: #1a1d20;
}

/* ===== MÉTRICAS ===== */
.metricas {
  background: linear-gradient(135deg, #2a2f35, #1f2328);
  padding: 30px 20px;
}
.metricas .titulo-secao {
  text-align: center;
  font-size: 26px;
  color: #e3dfd4;
  margin-bottom: 40px;
}
.metricas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.metrica-card {
  background-color: #323840;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s;
}
.metrica-card:hover {
  transform: translateY(-8px);
}
.metrica-card .numero {
  font-size: 32px;
  font-weight: bold;
  color: #dadada;
  margin-bottom: 8px;
  display: block;
}
.metrica-card p {
  font-size: 15px;
  color: #dadada;
  line-height: 1.4;
}

/* ===== BLOG ===== */
.blog {
  background-color: #f5f5f7;
  padding: 60px 20px;
}

.blog .titulo-secao{
  text-align: center;
}

.blog-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto;
}
.blog-post {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 300px;
  padding: 20px;
  text-align: center;
}
.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.blog-post p {
  font-size: 14px;
  margin-bottom: 15px;
}

/* ===== SOBRE ===== */
.sobre {
  background-color: #f5f5f7;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sobre-container {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.sobre-foto {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.sobre-texto {
  flex: 1;
  min-width: 300px;
}
.sobre-texto p {
  font-size: 16px;
  line-height: 1.8;
  color: #323840;
  text-align: justify;
  margin-bottom: 20px;
}
.sobre-citacao {
  font-size: 16px;
  font-style: italic;
  color: #323840;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

/* ===== CONTATO INFOS ===== */
.secao-contato-infos {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  background-color: #f5f5f7;
  flex-wrap: wrap;
}
.bloco-contato {
  background-color: #fff;
  border: 1px solid #323840;
  border-radius: 8px;
  padding: 30px 20px;
  width: 280px;
  text-align: center;
  transition: all 0.3s;
}
.bloco-contato:hover {
  transform: translateY(-5px);
}
.bloco-contato h4 {
  color: #323840;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.icone-contato {
  width: 40px;
  margin-bottom: 15px;
}
.link-contato {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.link-contato:hover {
  opacity: 0.9;
}
.bloco-contato p {
  color: #323840;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

/* ===== CONTATO FORM ===== */
.contato {
  background-color: #f5f5f7;
  padding: 60px 20px;
  text-align: center;
}
.contato h2 {
  color: #323840;
  font-size: 24px;
  margin-bottom: 20px;
}
.formulario {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.formulario input,
.formulario textarea {
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.formulario textarea {
  height: 120px;
  resize: vertical;
}
.formulario button {
  padding: 12px;
  font-size: 16px;
  background-color: #323840;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.formulario button:hover {
  background-color: #1a1d20;
}

/* ===== RODAPÉ ===== */
.rodape {
  background-color: #e3dfd4;
  padding: 40px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  color: #323840;
  text-align: center;
}
.rodape-coluna {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.rodape-final {
  width: 100%;
  border-top: 1px solid #ccc;
  margin-top: 20px;
  padding-top: 10px;
  padding: 0%;
  font-size: 14px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-flutuante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.whatsapp-flutuante img {
  width: 40px;
  height: 40px;
  display: block;
}
.whatsapp-flutuante:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carrossel-container {
    flex-direction: column;
    align-items: stretch;
    padding: 30px 14px 24px 14px;
    gap: 24px;
    max-width: 99vw;
  }
  .texto-area {
    max-width: 99vw;
  }
  .imagens-carrossel {
    max-width: 99vw;
    height: 170px;
  }
  .imagens-carrossel img {
    height: 160px;
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .hero-inferior {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 5px 10px 5px;
  }
  .hero-inferior-item {
    max-width: 100%;
    padding: 0 4px;
  }
}
@media (max-width: 768px) {
  .top-bar {
    height: 70px !important;
    padding: 0 16px !important;
    background-color: #e3dfd4 !important;
    justify-content: space-between;
  }
  .logo {
    height: 44px !important;
  }
  .hamburger {
    height: 70px !important;
    display: flex !important;
    align-items: center;
    font-size: 36px !important;
    color: #323840 !important;
    margin-left: auto;
    padding: 0 8px;
  }
  .menu-principal {
    display: none;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1200;
  }
  .menu-principal.show {
    display: block;
    background: #1f2327;
  }
  .menu-principal ul {
    flex-direction: column;
    align-items: center;
    background-color: #1f2327;
    padding: 15px 0;
    gap: 12px;
    width: 100vw;
  }
  .menu-principal ul li {
    width: 100vw;
    text-align: center;
  }
  .menu-principal ul li a {
    color: #f4f4f5 !important;
    font-weight: bold !important;
    font-size: 18px;
    padding: 10px;
    display: block;
    text-shadow: 0 1px 8px #2228 !important;
    background: none !important;
    width: 100vw;
    text-decoration: none;
  }
  .menu-principal ul li a::after {
    background-color: #e3dfd4 !important;
    height: 2px;
    width: 0;
    transition: width 0.3s;
    left: 0;
    bottom: 0;
    position: absolute;
  }
  .menu-principal ul li a:hover::after,
  .menu-principal ul li a.ativo::after {
    width: 100%;
  }
  .menu-principal ul li a:hover,
  .menu-principal ul li a.ativo {
    color: #e3dfd4 !important;
  }

  .hero {
    width: 100% !important;
    height: 290px !important;
    min-height: 170px !important;
    max-height: 75vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-imagem {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
  }
  .hero-imagem img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block;
    opacity: 0.5;
    object-position: center center;
  }
  .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.7));
    z-index: 1;
  }
  .hero-conteudo {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 92vw;
    max-width: 95vw;
    padding: 24px 8px 8px 8px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-conteudo h1 {
    font-size: 1.18rem;
    margin-bottom: 6px;
    line-height: 1.2;
    word-break: break-word;
  }
  .hero-conteudo p {
    font-size: 0.98rem;
    margin-bottom: 10px;
    line-height: 1.35;
    word-break: break-word;
  }
  .botao {
    font-size: 14px;
    padding: 8px 16px;
  }

  .carrossel-motivos .titulo-secao {
    font-size: 1.22rem;
    margin-bottom: 14px;
  }
  .carrossel-container {
    flex-direction: column;
    align-items: center;
    padding: 18px 0 14px 0;
    gap: 14px;
    border-radius: 10px;
  }
  .texto-area {
    max-width: 98vw;
    min-width: 0;
    padding: 0 10px;
  }
  .imagens-carrossel {
    max-width: 96vw;
    height: 110px;
  }
  .imagens-carrossel img {
    max-width: 98vw;
    height: 98px;
    border-radius: 10px;
  }
  .numeros {
    gap: 10px;
    font-size: 1rem;
  }

  .servicos-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .servico-box {
    width: 100% !important;
    max-width: 320px !important;
    margin-bottom: 20px;
  }
  .popup {
    min-width: 85vw !important;
    max-width: 95vw !important;
    padding: 18px 7vw 18px 7vw;
  }
  .metricas-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .metrica-card {
    width: 100% !important;
    max-width: 320px !important;
    margin-bottom: 20px;
  }
  .sobre-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sobre-texto p,
  .sobre-citacao {
    text-align: justify;
  }
  .secao-contato-infos {
    flex-direction: column;
    align-items: center;
  }
  .bloco-contato {
    width: 100%;
    max-width: 400px;
  }
  .secao-clara {
    padding-top: 5px !important;
    padding-bottom: 40px !important;
  }
  .blog-container {
    flex-direction: column;
    align-items: center;
  }
  .formulario {
    width: 100%;
  }
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff;
  }
  .top-bar {
    margin-top: 0 !important;
    padding: 15px 20px !important;
    background-color: #e3dfd4 !important;
  }
  .hero {
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-imagem {
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-imagem img {
    display: block;
    margin: 0 auto;
    padding: 0;
  }
  .popup {
    min-width: 85vw !important;
    max-width: 95vw !important;
    padding: 24px 7vw 18px 7vw;
  }
  .popup-overlay {
    align-items: flex-start;
  }
}

/* ===== SCROLL ANCHOR AJUSTE ===== */
#servicos,
#motivos,
#metricas,
#sobre,
#blog,
#contato {
  scroll-margin-top: 70px;
}
@media (max-width: 768px) {
  #servicos,
  #motivos,
  #metricas,
  #sobre,
  #blog,
  #contato {
    scroll-margin-top: 90px !important;
  }
}

/* ===== AJUSTE SESSÃO ENTENDA VAZIA ===== */
#motivos {
  min-height: 1px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

