/* Reset e configurações globais para evitar overflow */
body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; /* 16px base padrão */
}

* {
  box-sizing: border-box;
}

/* Header com margin de 25px no eixo X */
header {
    width: calc(100% - 3.125rem); /* 100% - 50px (25px de cada lado) */
    max-width: calc(100% - 3.125rem);
    margin-left: 1.5625rem; /* 25px */
    margin-right: 1.5625rem; /* 25px */
    background-color: rgba(0, 0, 0, 0.5);
}

/* Header mobile sem margem no eixo X */
@media (max-width: 767px) {
    header {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

#main-header {
  width: calc(100% - 3.125rem); /* 100% - 50px (25px de cada lado) */
  max-width: calc(100% - 3.125rem);
  margin-left: 1.5625rem; /* 25px */
  margin-right: 1.5625rem; /* 25px */
  left: 0;
  right: 0;
}

#main-header .w-full {
  width: 100% !important;
  max-width: 100% !important;
}

#main-header .max-w-hd {
  max-width: 100% !important;
  width: 100% !important;
}

#main-header .mx-auto {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#main-header .px-4,
#main-header .px-6,
#main-header .px-7 {
  padding-left: 1.5625rem !important; /* 25px */
  padding-right: 1.5625rem !important; /* 25px */
}

#hero {
    background-image: url(../images/bg-hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.header-interna {
  background-image: url(../images/bg-hero.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#hero .container {
    padding-top: 6.25rem;
}

#solucoes {
    
    background-image: url(../images/bg-solucoes.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #F0F4F9;
}

/* No mobile, a imagem da mulher vai abaixo do botão */
@media (max-width: 767px) {
  #solucoes {
    position: relative;
    padding-top: 2rem;
  }
  
  /* Container do hero no mobile */
  #hero > div {
    flex-direction: column;
  }

}



/* Ajustes responsivos para mobile */
@media (max-width: 767px) {
  
  .max-w-hd {
    max-width: 100% !important;
  }
  
  
  .flex-1 img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ajustar textos */
  h1, h2, h3, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  
  /* Ajustar gaps no mobile */
  .gap-16 {
    gap: 2rem !important;
  }
  
  /* Ajustar padding lateral no mobile */
  .pl-12 {
    padding-left: 1.5625rem !important; /* 25px */
  }
  
  /* Garantir que imagens não quebrem o layout */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Melhorar responsividade geral */
  .max-w-hd {
    max-width: 100% !important;
  }
  
  /* Ajustar espaçamentos no mobile */
  .gap-16 {
    gap: 1rem !important;
  }
  
  .gap-12 {
    gap: 0.75rem !important;
  }
}

#casos-uso {background-image: url(../images/bg-casos-uso.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

#depoimentos .card{
  box-shadow: 0 0.625rem 0.625rem 0 rgba(40,60,120,0.25);
}

#depoimentos-prev:hover,
#depoimentos-next:hover {
  background: #000 !important;
}
#depoimentos-prev:hover svg,
#depoimentos-next:hover svg {
  stroke: #fff !important;
}

.content-estrategia {
    background-color: #F0F4F9;
    margin-top: -18.75rem;
    padding-top: 10.625rem;
    padding-bottom: 3.75rem;
}
.blog-home {
    background-image: url(../images/bg-blog-home.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer {
    background-image: url(../images/bg-footer.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom list dot size for footer */
.list-dot-sm li {
list-style-type: none;
position: relative;
padding-left: 1.2em;
}
.list-dot-sm li::before {
content: '';
position: absolute;
left: 0.2em;
top: 0.7em;
width: 0.25em;
height: 0.25em;
background: currentColor;
border-radius: 9999px;
display: inline-block;
}

/* Header behavior */
.header--compact {
  background-color: rgba(8, 1, 22, 0.8);
}
.header--compact img {
  transition: height 0.2s;
}

header .sub-menu {
  transition: all 0.3s ease;
  background-color: rgba(8, 1, 22, 0.8);
}

#main-header {
  transition: all 0.3s ease;
}
#header-logo, #header-btn {
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .content-estrategia {
    margin-top: -18.75rem;
    padding-top: 14.625rem;
    padding-bottom: 3.75rem;
  }
}

/* Regras específicas para breakpoint xl (1280px) */
@media (min-width: 1280px) {
  .xl\:pt-48 {
    padding-top: 12rem !important; /* 192px */
  }
  
  .xl\:pt-56 {
    padding-top: 14rem !important; /* 224px */
  }
  
  .xl\:text-4xl {
    font-size: 2.25rem !important; /* 36px */
  }
  
  .xl\:text-3xl {
    font-size: 1.875rem !important; /* 30px */
  }
  
  .xl\:text-2xl {
    font-size: 1.5rem !important; /* 24px */
  }
  
  .xl\:text-xl {
    font-size: 1.25rem !important; /* 20px */
  }
  
  .xl\:text-lg {
    font-size: 1.125rem !important; /* 18px */
  }
  
  .xl\:text-base {
    font-size: 1rem !important; /* 16px */
  }
  
  .xl\:text-sm {
    font-size: 0.875rem !important; /* 14px */
  }
}