* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.top-bar {
  background-color: #c4242d;
  font-family: 'Ubuntu', sans-serif;
  position: relative;
  overflow: visible;
  transition: height 0.3s ease;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}


.logo {
    height: 130px;
    margin-top: -35px;
    margin-bottom: -35px;
    margin-left: -28px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease; 
  display: inline-block; 
}

.nav-links li a:hover {  
  transform: translateY(-3px); 
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
}

.guia-section {
  padding: 80px 0px;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.texto h1 {  
  color: #c62828;
  margin-bottom: 24px;
  font-weight: 700;    
}

.texto p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
}

.download {
  text-align: center;
}

.botao {
    display: inline-block;
    background-color: #c62828;
    color: #fff;
    padding: 20px 100px;
    border-radius: 54px;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;    
    margin-top: 14px;
    border: 2px solid transparent; 
    transition: all 0.3s ease; 
}

.botao:hover {
    background-color: #fff;
    color: #c62828;
    border: 2px solid #c62828;
}

.versao {
  font-size: 1rem;
  font-style: italic;
  color: #616161;
  transform: translateY(15px);
}

.downloads {
  padding: 60px 0px;
  background-color: #f7f4ef;
  text-align: left;
}

.downloads h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000000;
  font-family: 'Ubuntu', sans-serif;
  text-align: center;
}

.downloads-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.grupo-download {
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid #ddd;
}

.grupo-download:first-child {
  border-top: none;
}

.grupo-download h3 {  
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
  font-family: 'Ubuntu', sans-serif;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  width: 100%;  
}

.box {
  background-color: #5c5c5c;
  color: white;
  width: 260px;
  height: 260px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 19px;
  font-weight: bold;
  font-family: 'Ubuntu', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: transform 0.2s ease;
}

.box:hover {
  transform: scale(1.05);
}

.box.red {
  background-color: #c62828;
}

.site-footer {
  background-color: #27242b;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  font-family: 'Ubuntu', sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer .footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.custom-titulo-marca {
  font-size: 32px;
  line-height: 32px;
  margin-top: -8px;
}

.downloads-container h2 {
  text-align: left;
  margin-bottom: 40px;
}

.custom-title-download {
  font-size: 32px !important;
}

.custom-title-quadrados {
  margin-bottom: 35px !important;
  font-size: 20px;
}

.custom-logo-footer {
  width: 180px;
  margin-bottom: 8px;
  margin-top: -25px;
}

@media (max-width: 899px) {
  .logo {
    margin-left: -12px;     
  }
}


@media (max-width:902px) {
  .botao {    
    font-size: 23px;
    margin-top: 35px;
  }
}



@media (max-width:921px) and (min-width:600px) {
  .versao {
    margin-bottom: 8px;
  }
}

@media (max-width:599px) {
  .custom-titulo-marca {
    font-size: 23px !important;
    line-height: 26px !important;
    margin-top: -50px;
  }
}


@media (max-width:599px) {
  .custom-texto-marca {     
    margin-top: -10px;
    margin-bottom: -27px;
  }
}

@media (max-width: 599px) {
    .botao {
       padding: 10px 42px;
        margin-bottom: 1px;
        margin-top: 50px;
        font-size: 17px;
    }
}

@media (max-width: 599px) {
    .versao {
       font-size: 14px;
       margin-top: -5px;
       margin-bottom: -30px;
    }
}



@media (max-width: 935px) {
  .box {
    width: 220px;
    height: 220px;      
  }
}

@media (max-width:802px) {
  .custom-texto-rodape {
    font-size: 13px;
  }
}

@media (max-width: 662px) {
  .custom-texto-rodape {
    font-size: 10px;
  }
}

@media (max-width: 599px) {
    .custom-title-download {
        font-size: 23px !important;   
        margin-top: -32px;  
        margin-bottom: 30px !important;   
    }
}

@media (max-width: 526px) {
    .custom-title-quadrados {
        font-size: 17px !important;          
    }
}

@media (max-width: 1030px) and (min-width:793px) {
  .download-grid {
    gap: 20px;    
    width: 100%;
    padding-left: 20%;
  }

  .download-box {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 792px){
  .download-grid {
    gap: 20px;
    justify-content: center;
    width: 100%;
  }

  .download-box {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: content-box;

  
  position: absolute;
  right: 12%;  
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s linear;
}

@media (max-width: 921px) {
  
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  
  .menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #c4242d;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 1;
  }

  
  .top-bar.menu-open .menu-dropdown {
    max-height: 200px;
  }

  
  .menu-dropdown ul.nav-links {
    display: flex;
    flex-direction: column;
    padding-left: 11.8%;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .menu-dropdown ul.nav-links li a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
    width: 100%;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 1031px) and (max-width: 1337px) {
  .download-grid {
    display: grid;
    grid-template-columns: repeat(3, auto); 
    gap: 40px;
    justify-content: center; 
  }
}

@media (min-width: 1031px) and (max-width: 1337px) {
  .custom-fontes-paletas {
    margin-left: -8rem;
  }
}

@media (max-width: 599px) {
  .box {
   font-size: 17px;   
  }
}

.custom-texto-marca {
  max-width: 333px; 
  white-space: normal;
  word-wrap: break-word;  
  font-size: 1rem !important;
}