* {margin: 0; padding: 0; box-sizing: border-box;}

/* Estilos para o corpo */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300; /* mais fino */
  letter-spacing: 0.3px;    /* ligeiro espaçamento */
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}

p {margin-bottom: 25px;}

a {text-decoration: none; color: #333;}
    
header {
  width: 100%;
  height: 90px;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

nav {flex: 1; text-align: left;}

main {
  position: relative;
  min-height: 700px;
  padding: 50px 20px;
  overflow: hidden;
  background: url('img/fundos/website_front_blue.png') no-repeat center center;
  background-size: cover;
}
/* Estilos para o vídeo de fundo */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.content {position: relative; z-index: 1;}

about {
  display: block;
  background-color: white;
  padding: 50px 50px;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  margin-left: 150px;
  margin-right: 150px;
}
about h2 {text-align: left;font-size: 38px;margin-bottom: 30px;}  
@media (max-width: 750px) {
  about {
    margin-left: 0px;
    margin-right: 0px;
  }
}

footer {
  background-color: #f5f5f5;
  text-align: center;
  background: url('img/footer/fundo_bolas_negras_cortado.png') no-repeat center top;
  background-size: cover; /* preenche toda a largura mantendo proporção */
  padding: 50px 20px;
  color: black;
  width: 100%;
  min-height: 500px; /* garante altura mínima */
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 16px;
}
.footer-content h4 {
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-content p,
.footer-content a {
  color:black;
  text-decoration: none;
  line-height: 1.7;
}
@media (max-width: 750px) {
  footer {
  background: url('img/footer/fundo_bolas_negras_cortado_menor.png') no-repeat center top;
  min-height: 750px; /* garante altura mínima */
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.logo img {height: 65px;}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
}

.img-container {text-align: center; margin-bottom: 30px;}
.img-container img {width: 100%; max-width: 100%; height: auto;}
  
.icons {display: flex; gap: 20px;}
.icons a svg {width: 24px; height: 24px; fill: #f57c00;}

.centrar-img {display: block; margin-left: auto; margin-right: auto; max-width: 100%; height: auto;}
.centrar-txt {text-align: center; margin: 20px auto; max-width: 800px; font-size: 2vw; line-height: 1.6;}

.zoom {transition: transform 0.3s ease;}
.zoom:hover {transform: scale(1.1);}

.tit {color: white;}

.img_height_50px {height: 50px; /* altura fixa */}
.img_height_100px {height: 100px; /* altura fixa */}
.img_height_150px {height: 150px; /* altura fixa */}
.img_height_200px {height: 200px; /* altura fixa */}
.img_height_250px {height: 250px; /* altura fixa */}
.img_height_300px {height: 300px; /* altura fixa */}
.img_height_350px {height: 350px; /* altura fixa */}
.img_height_400px {height: 400px; /* altura fixa */}


.nota {
  font-size: 0.8rem;         /* Tamanho pequeno */
  color: #555;               /* Cor discreta */
  font-style: italic;        /* Estilo itálico (opcional) */
  line-height: 1.4;          /* Altura de linha confortável */
  margin-top: 0.5em;         /* Espaçamento acima */
  opacity: 0.8;              /* Mais leve, tipo nota */
}

.texto-central {
  margin: 0 auto;
  max-width: 900px;
  text-align: justify;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
}

.barra-verde-agua {
  background-color: #4aa8e0; /* verde água escuro */
  padding: 40px 50px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff; /* texto branco para contraste */
}

.barra-verde-agua th,
.barra-verde-agua td {
  padding: 12px;
  text-align: left;
}

.barra-verde-agua thead {
  background-color: rgba(0, 0, 0, 0.05);
}

.downloads {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-item {
  text-decoration: none;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.download-item:hover {transform: scale(1.05);}
.download-item span {margin-top: 12px; font-size: 16px;}

/* o meu estilo permite criar quantas colunas eu quiser, é só adicionar div */
.grid-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  row-gap: 50px;
  font-size: 16px;
  line-height: 1.7;
  margin-left: 150px;
  margin-right: 150px;
}
.grid-text > div {
  background-color: rgba(244, 247, 251, 0.9); /* azul claro com 90% de opacidade */
  padding: 50px;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 6px;
}

.texto_pequeno {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 10px;
}

.grid2-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  row-gap: 50px;
  font-size: 16px;
  line-height: 1.7;
  margin-left: 150px;
  margin-right: 150px;
}
.grid2-text > div {
  background-color: rgba(244, 247, 251, 0.9); /* azul claro com 90% de opacidade */
  padding: 50px;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 6px;
}
.grid3-text {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 25px;
  row-gap: 25px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 1800px;
}

.grid3-text > div {
  background-color: rgba(244, 247, 251, 0.9);
  padding: 50px;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 6px;
}

/* 1 coluna abaixo de 1000px */
@media (max-width: 1250px) {
  .grid3-text {grid-template-columns: 1fr;}
  .grid-text {grid-template-columns: 1fr; margin-left: 10px; margin-right: 10px;}
  .grid2-text {grid-template-columns: 1fr; margin-left: 10px; margin-right: 10px;}
}

/* Estilos para o menu de navegação */
  .dropdown {position: relative; display: inline-block;}
  .dropbtn {background-color:transparent; color: black; border-color: rgba(232,232,232,1); padding-left: 20px; padding-right: 0px; font-size:large; border-style: none none none none; border-radius: 0; cursor: pointer;}
  .dropdown-content { display: none; text-align: left; position: absolute; background-color: #f9f9f9; min-width: 200px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1;}
  .dropdown-content a {color: gray; padding: 12px 16px; text-decoration: none; display: block;}
  .dropdown-content a:hover {background-color: #f1f1f1}
  .dropdown:hover .dropdown-content {display: block;}
  .dropdown:hover .dropbtn {border-color: rgba(62,57,52,1);}


/* escolher espanhol ou portugues no index.php */
#languageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#languageModalContent {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.lang-button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

/* Container geral da calculadora */
.calculadora-bolas {
  background-color: rgba(244, 247, 251, 0.95);
  padding: 10px;
  border-radius: 12px;
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  line-height: 1.6;
}
.calculadora-bolas table {width: 100%; /*border-collapse: collapse;*/}
.calculadora-bolas td {
  padding: 8px 8px;
  vertical-align: middle;
}
/* Rótulos das células */
.calculadora-bolas .label {
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  width: 150px;
}
/* Inputs e selects */
.calculadora-bolas input.form-control,
.calculadora-bolas select.form-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 15px;
}
/* Botões */
.calculadora-bolas .btn {
  margin-right: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.calculadora-bolas .btn-primary {
  background-color: #007bff;
  color: #fff;
  border: none;
}
.calculadora-bolas .btn-secondary {
  background-color: #6c757d;
  color: #fff;
  border: none;
}

html {
  scroll-behavior: smooth;
}

.hero {
  position: relative; /* necessário para posicionar o botão dentro desta secção */
}

.scroll-circle {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-color: #007bff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}
.scroll-circle:hover {background-color: #0056b3; cursor: pointer;}
.scroll-circle.hidden {opacity: 0; pointer-events: none;}

.download-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.download-btn:hover {
  background-color: #005bb5;
}

.bullet-bola::before {
  content: '●';
  color: black;
  font-size: 1em;
  display: inline-block;
  width: 1em;
  margin-right: 0.5em;
}

.lista-colunas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding-left: 0;
  list-style: none;
  max-width: 100%;
}
.lista-colunas li {
  width: calc(33.333% - 40px);
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}
.lista-colunas li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f7941d;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 900px) {.lista-colunas li {width: calc(50% - 40px);}}
@media (max-width: 600px) {.lista-colunas li {width: 100%;}}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
}

.product-content p {
  margin: 0 0 20px;
  font-size: 15px;
  color: #444;
  flex-grow: 1;
}

.product-content a {
  align-self: flex-start;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.product-content a:hover {
  background-color: #333;
}

/* Ajustes em dispositivos pequenos */
@media (max-width: 768px) {
  .calculadora-bolas td.input {width: 100%;}
  .calculadora-bolas span.small-label {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
  }
}

.ocultar_se_pequeno {display: block;}
@media (max-width: 800px) {.ocultar_se_pequeno {display: none;}}

.mostrar_se_pequeno {display: none;}
@media (max-width: 800px) {
  .mostrar_se_pequeno {display: block;}
  .logo img {height: 45px;}
}