/* Estilos próprios do site, carregados depois do tema. */

/* O tema só dá margem a "h1" nesta secção; os títulos de secção passaram a h2. */
.msg-box1 h2 {
  margin-bottom: 40px;
}

/* Topo: título e subtítulo sobre a fotografia. */
#inicio .mbr-section-title,
#inicio .mbr-section-subtitle {
  font-family: 'Raleway', sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
#inicio .mbr-section-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
#inicio .mbr-section-title sup {
  font-size: 0.35em;
  top: -1.6em;
}

/* Parceiros: logótipo e texto lado a lado (empilhados em ecrãs pequenos). */
.parceiro {
  background-color: #fff;
  padding: 50px 15px;
}
.parceiro-cartao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px 50px;
  text-align: center;
}
.parceiro-cartao img {
  max-width: 100%;
  height: auto;
}
.parceiro-cartao p {
  color: #000;
  font-size: 1.25rem;
  max-width: 420px;
  margin: 0;
}
.parceiro-cartao p a {
  color: #5aac98;
  font-weight: 700;
}

/* Tabelas de dimensões: em ecrãs pequenos e tablets cada linha passa a cartão. */
@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  .table1 table,
  .table1 thead,
  .table1 tbody,
  .table1 th,
  .table1 td,
  .table1 tr {
    display: block;
    font-size: 14px;
  }
  /* Esconde os cabeçalhos sem display:none, para leitores de ecrã. */
  .table1 thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table1 tr {
    border: 1px solid #ccc;
  }
  .table1 td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    text-align: right;
  }
  .table1 td:before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 55%;
    padding-right: 20px;
    white-space: nowrap;
  }
  #tabela-blocos td:nth-of-type(1):before { content: "Largura Externa A (mm)"; }
  #tabela-blocos td:nth-of-type(2):before { content: "Secção Externa B (mm)"; }
  #tabela-blocos td:nth-of-type(3):before { content: "Altura Externa C (mm)"; }
  #tabela-blocos td:nth-of-type(4):before { content: "Superfície de Parede m²"; }
  #tabela-blocos td:nth-of-type(5):before { content: "Kg/ Peça Aprox."; }
  #tabela-blocos td:nth-of-type(6):before { content: "Observações"; }

  #tabela-lajes td:nth-of-type(1):before { content: "Largura (mm)"; }
  #tabela-lajes td:nth-of-type(2):before { content: "Secção (mm)"; }
  #tabela-lajes td:nth-of-type(3):before { content: "Comprimento (mm)"; }
  #tabela-lajes td:nth-of-type(4):before { content: "Aplicável"; }
  #tabela-lajes td:nth-of-type(5):before { content: "Kg/ Peça Aprox."; }
  #tabela-lajes td:nth-of-type(6):before { content: "Observações"; }
}

/* Ícones em SVG (substituem a fonte de ícones do Mobirise). Mantêm as classes
   mbri-* para o tema continuar a posicioná-los. */
.mbri-down svg,
.mbri-left svg,
.mbri-right svg,
.mbri-search svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.mbr-arrow .mbri-down svg {
  width: 40px;
  height: 40px;
  margin: 6px auto 0;
}
.carousel-control .mbri-left svg,
.carousel-control .mbri-right svg {
  width: 40px;
  height: 40px;
}
.mbr-gallery .mbri-search svg {
  width: 48px;
  height: 48px;
  stroke-width: 2;
}

/* Telefones e e-mails clicáveis mantêm o aspeto do texto dos contactos. */
.footer3 .mbr-section-text a {
  color: inherit;
}
.footer3 .mbr-section-text a:hover,
.footer3 .mbr-section-text a:focus {
  text-decoration: underline;
}

/* Política de privacidade (privacidade.html). */
.politica {
  padding-top: 80px;
  padding-bottom: 40px;
}
.politica p,
.politica li,
.politica td,
.politica th {
  font-size: 13px;
  text-align: justify;
}
.politica h2 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.politica h3 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  margin: 1.5rem 0 .75rem;
}
.politica .recuo {
  padding-left: 15px;
}
.politica .table th,
.politica .table td {
  text-align: left;
}
.politica .atualizacao {
  font-style: italic;
}
